@Service public class QnaPostSocialComponentFactory extends AbstractSocialComponentFactory implements SocialComponentFactory
QnaPost given a Resource or Resource and
SlingHttpServletRequest.| Constructor and Description |
|---|
QnaPostSocialComponentFactory() |
| Modifier and Type | Method and Description |
|---|---|
SocialComponent |
getSocialComponent(Resource resource) |
SocialComponent |
getSocialComponent(Resource resource,
ClientUtilities clientUtilities,
QueryRequestInfo queryRequestInfo) |
SocialComponent |
getSocialComponent(Resource resource,
SlingHttpServletRequest request) |
java.lang.String |
getSupportedResourceType() |
getPriorityequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic SocialComponent getSocialComponent(Resource resource)
getSocialComponent in interface SocialComponentFactoryresource - the resource for which a SocialComponent is requested for.public SocialComponent getSocialComponent(Resource resource, SlingHttpServletRequest request)
getSocialComponent in interface SocialComponentFactoryresource - 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 clientUtilities, QueryRequestInfo queryRequestInfo)
getSocialComponent in interface SocialComponentFactoryresource - the resource for which a SocialComponent is requested for.clientUtilities - The ClientUtilities instance that associates with the current HTTP request.queryRequestInfo - the pagination applicable to the resoure children list.AbstractSocialComponentFactory.getClientUtilities(SlingHttpServletRequest)public java.lang.String getSupportedResourceType()
getSupportedResourceType in interface SocialComponentFactoryCopyright © 2010 - 2023 Adobe. All Rights Reserved