public interface SocialComponentFactory
SocialComponent
given a Resource
.Modifier and Type | Method and Description |
---|---|
int |
getPriority()
This determines the priority of this factory with respect to other factories that support the same resource
types as this factory.
|
SocialComponent |
getSocialComponent(Resource resource) |
SocialComponent |
getSocialComponent(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo requestInfo) |
SocialComponent |
getSocialComponent(Resource resource,
SlingHttpServletRequest request) |
java.lang.String |
getSupportedResourceType() |
SocialComponent getSocialComponent(Resource resource)
resource
- the resource for which a SocialComponent is requested for.SocialComponent getSocialComponent(Resource resource, SlingHttpServletRequest request)
resource
- the resource for which a SocialComponent is requested for.request
- the HTTP request for which this SocialComponent is being instantiated for.SocialComponent getSocialComponent(Resource resource, ClientUtilities clientUtils, QueryRequestInfo requestInfo)
resource
- the resource for which a SocialComponent is requested for.clientUtils
- The ClientUtilities
instance that associates with the current HTTP request.requestInfo
- the pagination applicable to the resoure children list.AbstractSocialComponentFactory.getClientUtilities(SlingHttpServletRequest)
int getPriority()
java.lang.String getSupportedResourceType()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"