public interface CommunityMemberGroupProfileOperations extends Operation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_ADDED_MEMBER_ID
The prop deleted id.
|
static java.lang.String |
PROP_DELETED_MEMBER_ID
The prop deleted id.
|
static java.lang.String |
PROP_GROUP_DESCRIPTION
The prop group description.
|
static java.lang.String |
PROP_GROUP_ID
The prop group id.
|
static java.lang.String |
PROP_GROUP_NAME
The prop group name.
|
static java.lang.String |
PROP_MEMBER_ID
The prop member id.
|
Modifier and Type | Method and Description |
---|---|
Resource |
addMember(Resource resource,
java.util.Map<java.lang.String,java.lang.Object> requestParams,
ClientUtilities clientUtils)
Add member to a group representing by the specified resource.
|
Resource |
addMember(SlingHttpServletRequest request)
Add member to
CommunityMemberGroup base on the specified SlingHttpServletRequest . |
Resource |
create(SlingHttpServletRequest request)
Create a new
CommunityMemberGroup base on the specified SlingHttpServletRequest . |
Resource |
createGroup(Resource resource,
java.util.Map<java.lang.String,java.lang.Object> requestParams,
ClientUtilities clientUtils)
Add group representing by the specified resource.
|
SocialComponent |
getSocialComponentForGroup(Resource group,
SlingHttpServletRequest request)
|
Resource |
removeMember(Resource resource,
java.util.Map<java.lang.String,java.lang.Object> requestParams,
ClientUtilities clientUtils)
Remove member from a group representing by the specified resource.
|
Resource |
removeMember(SlingHttpServletRequest request)
Remove member from
CommunityMemberGroup base on the specified SlingHttpServletRequest . |
Resource |
update(Resource resource,
java.util.Map<java.lang.String,java.lang.Object> requestParams,
ClientUtilities clientUtils)
Update a group representing by the specified resource.
|
Resource |
update(SlingHttpServletRequest request)
Update
CommunityMemberGroup base on the specified SlingHttpServletRequest . |
static final java.lang.String PROP_GROUP_ID
static final java.lang.String PROP_GROUP_NAME
static final java.lang.String PROP_GROUP_DESCRIPTION
static final java.lang.String PROP_MEMBER_ID
static final java.lang.String PROP_DELETED_MEMBER_ID
static final java.lang.String PROP_ADDED_MEMBER_ID
SocialComponent getSocialComponentForGroup(Resource group, SlingHttpServletRequest request)
group
- the target group resourcerequest
- the client requestSocialComponent
Resource create(SlingHttpServletRequest request) throws OperationException
CommunityMemberGroup
base on the specified SlingHttpServletRequest
.request
- the client requestCommunityMemberGroup
OperationException
- if there is an error occursResource createGroup(Resource resource, java.util.Map<java.lang.String,java.lang.Object> requestParams, ClientUtilities clientUtils) throws OperationException
resource
- the resource belonging to a tenant.requestParams
- a map that contains the group id.clientUtils
- clientUtilsOperationException
- operationExceptionResource addMember(SlingHttpServletRequest request) throws OperationException
CommunityMemberGroup
base on the specified SlingHttpServletRequest
.request
- the client requestCommunityMemberGroup
OperationException
- if there is an error occursResource addMember(Resource resource, java.util.Map<java.lang.String,java.lang.Object> requestParams, ClientUtilities clientUtils) throws OperationException
resource
- the resource belonging to a tenant.requestParams
- a map that contains the group id and membersId.clientUtils
- clientUtilsOperationException
- operationExceptionResource removeMember(SlingHttpServletRequest request) throws OperationException
CommunityMemberGroup
base on the specified SlingHttpServletRequest
.request
- the client requestCommunityMemberGroup
OperationException
- if there is an error occursResource removeMember(Resource resource, java.util.Map<java.lang.String,java.lang.Object> requestParams, ClientUtilities clientUtils) throws OperationException
resource
- the resource belonging to a tenant.requestParams
- a map that contains the group id and membersId.clientUtils
- clientUtilsOperationException
- operationExceptionResource update(SlingHttpServletRequest request) throws OperationException
CommunityMemberGroup
base on the specified SlingHttpServletRequest
.request
- the client requestCommunityMemberGroup
OperationException
- if there is an error occursResource update(Resource resource, java.util.Map<java.lang.String,java.lang.Object> requestParams, ClientUtilities clientUtils) throws OperationException
resource
- the resource.requestParams
- a map that contains the groupId and membersId.clientUtils
- clientUtilsOperationException
- operationExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved