public class CommentSocialComponentFactory extends AbstractSocialComponentFactory implements SocialCollectionComponentFactory
SocialComponent
for a
Resource
with a Comment.RESOURCETYPE
.Constructor and Description |
---|
CommentSocialComponentFactory() |
Modifier and Type | Method and Description |
---|---|
SocialComponent |
getSocialComponent(Resource resource) |
SocialComponent |
getSocialComponent(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo queryInfo) |
SocialComponent |
getSocialComponent(Resource resource,
SlingHttpServletRequest request)
Get the component for the specified resource.
|
String |
getSupportedResourceType()
Get the resource type that this factory supports.
|
getPriority
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority
public SocialComponent getSocialComponent(Resource resource)
getSocialComponent
in interface SocialComponentFactory
resource
- the resource for which a SocialComponent is requested for.public SocialComponent getSocialComponent(Resource resource, SlingHttpServletRequest request)
getSocialComponent
in interface SocialComponentFactory
resource
- the comment resource.request
- the client request.public SocialComponent getSocialComponent(Resource resource, ClientUtilities clientUtils, QueryRequestInfo queryInfo)
getSocialComponent
in interface SocialCollectionComponentFactory
getSocialComponent
in interface SocialComponentFactory
resource
- the resource for which a SocialComponent is requested for.queryInfo
- the pagination applicable to the resoure children list.AbstractSocialComponentFactory#getClientUtilities(SlingHttpServletRequest)
public String getSupportedResourceType()
getSupportedResourceType
in interface SocialComponentFactory
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"