@Service public class ReviewSocialComponentFactory extends AbstractSocialComponentFactory implements SocialCollectionComponentFactory
SocialComponent
for a Review
resource.Constructor and Description |
---|
ReviewSocialComponentFactory() |
Modifier and Type | Method and Description |
---|---|
SocialComponent |
getSocialComponent(Resource resource) |
SocialComponent |
getSocialComponent(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo queryInfo) |
SocialComponent |
getSocialComponent(Resource resource,
SlingHttpServletRequest request) |
java.lang.String |
getSupportedResourceType() |
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 resource for which a SocialComponent is requested for.request
- the HTTP request for which this SocialComponent is being instantiated for.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.clientUtils
- The ClientUtilities
instance that associates with the current HTTP request.queryInfo
- the pagination applicable to the resoure children list.AbstractSocialComponentFactory.getClientUtilities(SlingHttpServletRequest)
public java.lang.String getSupportedResourceType()
getSupportedResourceType
in interface SocialComponentFactory
Copyright © 2010 - 2020 Adobe. All Rights Reserved