T - is a CommunityGroupOperationExtension that will be used as hooks by the extending class.U - is a Operation that is being provided by the extending class.public abstract class AbstractCommunityGroupOperationService<T extends CommunityGroupOperationExtension,U extends Operation> extends com.adobe.cq.social.site.endpoints.AbstractPublishOperationService<T,U,CommunityGroup> implements CommunityGroupOperations
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_FIELD_WHITELIST
The name of the property that holds a white list of form field names added as additional properties to the
comment.
|
| Constructor and Description |
|---|
AbstractCommunityGroupOperationService() |
publish, unpublishaddOperationExtension, getInheritedOperationExtensionManager, performAfterActions, performBeforeActions, removeOperationExtensionpublic static final java.lang.String PROPERTY_FIELD_WHITELIST
public AbstractCommunityGroupOperationService()
public Resource create(SlingHttpServletRequest request) throws OperationException
create in interface CommunityGroupOperationsOperationExceptionpublic Resource update(SlingHttpServletRequest request) throws OperationException
CommunityGroupOperationsSlingHttpServletRequestupdate in interface CommunityGroupOperationsrequest - SlingHttpServletRequest.OperationException - - throws if not able to update.public boolean isPublishMode()
CommunityGroupOperationsisPublishMode in interface CommunityGroupOperationspublic boolean approveJoin(ResourceResolver resolver, CommunityGroup group) throws OperationException
approveJoin in interface CommunityGroupOperationsOperationExceptionpublic Resource join(SlingHttpServletRequest request) throws OperationException
join in interface CommunityGroupOperationsOperationExceptionpublic Resource leave(SlingHttpServletRequest request) throws OperationException
leave in interface CommunityGroupOperationsOperationExceptionpublic Resource invite(SlingHttpServletRequest request) throws OperationException
invite in interface CommunityGroupOperationsOperationExceptionpublic Resource uninvite(SlingHttpServletRequest request) throws OperationException
uninvite in interface CommunityGroupOperationsOperationExceptionpublic Resource promoteMember(SlingHttpServletRequest request) throws OperationException
promoteMember in interface CommunityGroupOperationsOperationExceptionpublic Resource demoteMember(SlingHttpServletRequest request) throws OperationException
demoteMember in interface CommunityGroupOperationsOperationExceptionpublic java.util.List<java.lang.Object> getAllowedTemplateForEveryone(java.lang.String[] paths)
getAllowedTemplateForEveryone in interface CommunityGroupOperationspublic SocialComponent getCommunityGroupComponentForResource(Resource communityGroup, SlingHttpServletRequest request)
getCommunityGroupComponentForResource in interface CommunityGroupOperationscommunityGroup - the target community grouprequest - the client requestSocialComponentpublic SocialComponent getCommunityMemberListComponentForResource(Resource communityMembers, SlingHttpServletRequest request)
getCommunityMemberListComponentForResource in interface CommunityGroupOperationscommunityMembers - the target community member listrequest - the client requestSocialComponentCopyright © 2010 - 2023 Adobe. All Rights Reserved