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 <any> 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() |
public static final java.lang.String PROPERTY_FIELD_WHITELIST
public AbstractCommunityGroupOperationService()
public Resource create(SlingHttpServletRequest request) throws OperationException
create
in interface CommunityGroupOperations
OperationException
public Resource update(SlingHttpServletRequest request) throws OperationException
CommunityGroupOperations
SlingHttpServletRequest
update
in interface CommunityGroupOperations
request
- SlingHttpServletRequest.OperationException
- - throws if not able to update.public boolean isPublishMode()
CommunityGroupOperations
isPublishMode
in interface CommunityGroupOperations
public boolean approveJoin(ResourceResolver resolver, CommunityGroup group) throws OperationException
approveJoin
in interface CommunityGroupOperations
OperationException
public Resource join(SlingHttpServletRequest request) throws OperationException
join
in interface CommunityGroupOperations
OperationException
public Resource leave(SlingHttpServletRequest request) throws OperationException
leave
in interface CommunityGroupOperations
OperationException
public Resource invite(SlingHttpServletRequest request) throws OperationException
invite
in interface CommunityGroupOperations
OperationException
public Resource uninvite(SlingHttpServletRequest request) throws OperationException
uninvite
in interface CommunityGroupOperations
OperationException
public Resource promoteMember(SlingHttpServletRequest request) throws OperationException
promoteMember
in interface CommunityGroupOperations
OperationException
public Resource demoteMember(SlingHttpServletRequest request) throws OperationException
demoteMember
in interface CommunityGroupOperations
OperationException
public java.util.List<java.lang.Object> getAllowedTemplateForEveryone(java.lang.String[] paths)
getAllowedTemplateForEveryone
in interface CommunityGroupOperations
public SocialComponent getCommunityGroupComponentForResource(Resource communityGroup, SlingHttpServletRequest request)
getCommunityGroupComponentForResource
in interface CommunityGroupOperations
communityGroup
- the target community grouprequest
- the client requestSocialComponent
public SocialComponent getCommunityMemberListComponentForResource(Resource communityMembers, SlingHttpServletRequest request)
getCommunityMemberListComponentForResource
in interface CommunityGroupOperations
communityMembers
- the target community member listrequest
- the client requestSocialComponent
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"