@Service public class CommentSystemSocialComponentFactory extends AbstractSocialComponentFactory implements SocialCollectionComponentFactory
SocialComponent factory class.| Constructor and Description |
|---|
CommentSystemSocialComponentFactory() |
| Modifier and Type | Method and Description |
|---|---|
SocialComponent |
getSocialComponent(Resource resource)
Get the
SocialComponent for the specified resource. |
SocialComponent |
getSocialComponent(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo requestInfo) |
SocialComponent |
getSocialComponent(Resource resource,
SlingHttpServletRequest request)
Get the
SocialComponent for the specified resource and request. |
java.lang.String |
getSupportedResourceType()
Get the supported resource type.
|
getPriorityequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic SocialComponent getSocialComponent(Resource resource)
SocialComponent for the specified resource.getSocialComponent in interface SocialComponentFactoryresource - the CommentSystem resource.SocialComponentpublic SocialComponent getSocialComponent(Resource resource, SlingHttpServletRequest request)
SocialComponent for the specified resource and request.getSocialComponent in interface SocialComponentFactoryresource - the CommentSystem resourcerequest - the client requestSocialComponentpublic SocialComponent getSocialComponent(Resource resource, ClientUtilities clientUtils, QueryRequestInfo requestInfo)
getSocialComponent in interface SocialCollectionComponentFactorygetSocialComponent in interface SocialComponentFactoryresource - the resource for which a SocialComponent is requested for.clientUtils - The ClientUtilities instance that associates with the current HTTP request.requestInfo - the pagination applicable to the resoure children list.AbstractSocialComponentFactory.getClientUtilities(SlingHttpServletRequest)public java.lang.String getSupportedResourceType()
getSupportedResourceType in interface SocialComponentFactoryCommentSystem.RESOURCE_TYPECopyright © 2010 - 2023 Adobe. All Rights Reserved