public interface CommunityGroupOperations
extends com.adobe.cq.social.site.endpoints.PublishOperation
Resource create(SlingHttpServletRequest request) throws OperationException
OperationException
Resource join(SlingHttpServletRequest request) throws OperationException
OperationException
Resource leave(SlingHttpServletRequest request) throws OperationException
OperationException
Resource invite(SlingHttpServletRequest request) throws OperationException
OperationException
Resource uninvite(SlingHttpServletRequest request) throws OperationException
OperationException
Resource promoteMember(SlingHttpServletRequest request) throws OperationException
OperationException
Resource demoteMember(SlingHttpServletRequest request) throws OperationException
OperationException
boolean approveJoin(ResourceResolver resolver, CommunityGroup group) throws OperationException
OperationException
java.util.List<java.lang.Object> getAllowedTemplateForEveryone(java.lang.String[] paths)
boolean isPublishMode()
SocialComponent getCommunityGroupComponentForResource(Resource communityGroup, SlingHttpServletRequest request)
communityGroup
- the target community grouprequest
- the client requestSocialComponent
SocialComponent getCommunityMemberListComponentForResource(Resource communityGroup, SlingHttpServletRequest request)
Resource update(SlingHttpServletRequest request) throws OperationException
SlingHttpServletRequest
request
- SlingHttpServletRequest.OperationException
- - throws if not able to update.Copyright © 2010 - 2020 Adobe. All Rights Reserved