public interface MembersUtils
| Modifier and Type | Method and Description |
|---|---|
CommunityMemberGroup |
getCommunityGroup(java.lang.String id,
ResourceResolver resolver,
ClientUtilities clientUtils,
java.lang.String resourceType) |
CommunityMemberGroupProfile |
getCommunityGroupProfile(Resource resource,
ClientUtilities clientUtils,
java.lang.String resourceType) |
java.lang.String |
getGroupRootPath() |
java.lang.String |
getUserRootPath() |
boolean |
isCommunityAdmin(ResourceResolver resourceResolver)
Check if the current session has community administrator permission.
|
boolean |
isEnablementGroup(Authorizable authorizable) |
boolean |
isValidGroupMember(Resource authorizableResource) |
boolean |
isValidMember(Authorizable authorizable) |
boolean |
isValidMember(CommunityMemberUserProfile userProfile) |
boolean |
isValidMember(java.lang.String path,
boolean isGroup) |
boolean isCommunityAdmin(ResourceResolver resourceResolver) throws OperationException
resourceResolver - resourceResolverOperationException - operationExceptionCommunityMemberGroup getCommunityGroup(java.lang.String id, ResourceResolver resolver, ClientUtilities clientUtils, java.lang.String resourceType)
id - idresolver - resolverclientUtils - clientUtilsresourceType - resourceTypeCommunityMemberGroup for the specified user id with the specified resource type.CommunityMemberGroupProfile getCommunityGroupProfile(Resource resource, ClientUtilities clientUtils, java.lang.String resourceType)
resource - resourceclientUtils - clientUtilsresourceType - resourceTypeCommunityMemberGroupProfile for the specified user id with the specified resource type.boolean isValidMember(CommunityMemberUserProfile userProfile)
userProfile - userProfileCommunityMemberUserProfile satisfies social-members repo
user/group policy.boolean isValidMember(Authorizable authorizable) throws OperationException
authorizable - authorizableAuthorizable satisfies social-members repo user/group policy.OperationException - operationExceptionboolean isValidMember(java.lang.String path,
boolean isGroup)
path - pathisGroup - isGroupboolean isValidGroupMember(Resource authorizableResource)
authorizableResource - authorizableResourceResource satisfies social-members repo user/group policy.java.lang.String getUserRootPath()
java.lang.String getGroupRootPath()
boolean isEnablementGroup(Authorizable authorizable)
authorizable - authorizableCopyright © 2010 - 2023 Adobe. All Rights Reserved