@Service public class ReviewCollectionSocialComponentFactory extends AbstractSocialComponentFactory implements SocialComponentFactory
SocialComponent for a Review
resource.| Constructor and Description |
|---|
ReviewCollectionSocialComponentFactory() |
| Modifier and Type | Method and Description |
|---|---|
SocialComponent |
getSocialComponent(Resource resource)
Get the
SocialComponent for the specified resource. |
SocialComponent |
getSocialComponent(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo queryInfo) |
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 ReviewCollectionSocialComponentFactory()
public SocialComponent getSocialComponent(Resource resource)
SocialComponent for the specified resource.getSocialComponent in interface SocialComponentFactoryresource - the ReviewSystem resource.SocialComponentpublic SocialComponent getSocialComponent(Resource resource, SlingHttpServletRequest request)
SocialComponent for the specified resource and request.getSocialComponent in interface SocialComponentFactoryresource - the ReviewSystem resourcerequest - the client requestSocialComponentpublic SocialComponent getSocialComponent(Resource resource, ClientUtilities clientUtils, QueryRequestInfo queryInfo)
getSocialComponent in interface SocialComponentFactoryresource - 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 SocialComponentFactoryReviewSystem.RESOURCE_TYPECopyright © 2010 - 2023 Adobe. All Rights Reserved