public interface MembersUtils
Modifier and Type | Method and Description |
---|---|
CommunityMemberGroup |
getCommunityGroup(java.lang.String id,
ResourceResolver resolver,
ClientUtilities clientUtils,
java.lang.String resourceType)
Get the
CommunityMemberGroup for the specified user id with the specified resource type. |
CommunityMemberGroupProfile |
getCommunityGroupProfile(Resource resource,
ClientUtilities clientUtils,
java.lang.String resourceType)
Get the
CommunityMemberGroupProfile for the specified user id with the specified resource type. |
java.lang.String |
getGroupRootPath() |
java.lang.String |
getUserRootPath() |
boolean |
isCommunityAdmin(ResourceResolver resourceResolver)
Check if the current session has community administrator permission.
|
boolean |
isValidGroupMember(Resource authorizableResource)
Checks if the member of group, represented as
Resource satisfies social-members repo user/group policy. |
boolean |
isValidMember(Authorizable authorizable)
Checks if the member, represented as
Authorizable satisfies social-members repo user/group policy. |
boolean |
isValidMember(CommunityMemberUserProfile userProfile)
Checks if the member, represented as
CommunityMemberUserProfile satisfies social-members repo
user/group policy. |
boolean |
isValidMember(java.lang.String path,
boolean isGroup)
Checks if the member path satisfies social-members repo user/group policy.
|
boolean isCommunityAdmin(ResourceResolver resourceResolver) throws OperationException
OperationException
CommunityMemberGroup getCommunityGroup(java.lang.String id, ResourceResolver resolver, ClientUtilities clientUtils, java.lang.String resourceType)
CommunityMemberGroup
for the specified user id with the specified resource type.CommunityMemberGroupProfile getCommunityGroupProfile(Resource resource, ClientUtilities clientUtils, java.lang.String resourceType)
CommunityMemberGroupProfile
for the specified user id with the specified resource type.boolean isValidMember(CommunityMemberUserProfile userProfile)
CommunityMemberUserProfile
satisfies social-members repo
user/group policy.boolean isValidMember(Authorizable authorizable) throws OperationException
Authorizable
satisfies social-members repo user/group policy.OperationException
boolean isValidMember(java.lang.String path, boolean isGroup)
boolean isValidGroupMember(Resource authorizableResource)
Resource
satisfies social-members repo user/group policy.java.lang.String getUserRootPath()
java.lang.String getGroupRootPath()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"