@Service public class TallySocialComponentFactory extends AbstractSocialComponentFactory implements SocialComponentFactory
SocialComponent
for a Tally
resource.Constructor and Description |
---|
TallySocialComponentFactory() |
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 java.lang.String getSupportedResourceType()
getSupportedResourceType
in interface SocialComponentFactory
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)
Copyright © 2010 - 2020 Adobe. All Rights Reserved