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.
|
getPriority
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority
public ReviewCollectionSocialComponentFactory()
public SocialComponent getSocialComponent(Resource resource)
SocialComponent
for the specified resource.getSocialComponent
in interface SocialComponentFactory
resource
- the ReviewSystem
resource.SocialComponent
public SocialComponent getSocialComponent(Resource resource, SlingHttpServletRequest request)
SocialComponent
for the specified resource and request.getSocialComponent
in interface SocialComponentFactory
resource
- the ReviewSystem
resourcerequest
- the client requestSocialComponent
public SocialComponent getSocialComponent(Resource resource, ClientUtilities clientUtils, QueryRequestInfo queryInfo)
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
ReviewSystem.RESOURCE_TYPE
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"