public class QnaRelatedComponentFactory extends AbstractSocialComponentFactory implements SocialComponentFactory
QnaPostCollection
given a Resource
or Resource
and
SlingHttpServletRequest
.Constructor and Description |
---|
QnaRelatedComponentFactory() |
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() |
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 clientUtilities, QueryRequestInfo queryRequestInfo)
getSocialComponent
in interface SocialComponentFactory
resource
- 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 SocialComponentFactory
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"