Interface UserManagement
-
@ProviderType public interface UserManagementUserManagement...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidaddMembers(javax.jcr.Session session, java.lang.String id, java.lang.String[] membersUUID)Adds the given memberships to the specified group.java.lang.StringgetAuthorizableId(DocViewNode node)Deprecated.UsegetAuthorizableId(DocViewNode2)insteaddefault java.lang.StringgetAuthorizableId(DocViewNode2 node)Returns the id of the authorizable from the specified authorizable node to be imported.java.lang.StringgetAuthorizablePath(javax.jcr.Session session, java.lang.String id)Returns the path of the authorizable ornullif not exists.java.lang.StringgetPrincipalName(javax.jcr.Session session, java.lang.String id)booleanisAuthorizableNodeType(java.lang.String ntName)Checks if the given node type name is used for a User node.
-
-
-
Method Detail
-
isAuthorizableNodeType
boolean isAuthorizableNodeType(java.lang.String ntName)
Checks if the given node type name is used for a User node.- Parameters:
ntName- the node type name- Returns:
trueif used for a User node.
-
getAuthorizablePath
java.lang.String getAuthorizablePath(javax.jcr.Session session, java.lang.String id)Returns the path of the authorizable ornullif not exists.- Parameters:
id- the authorizable idsession- the session to access the repository- Returns:
- path of authorizable
- Since:
- 2.3.26
-
getPrincipalName
java.lang.String getPrincipalName(javax.jcr.Session session, java.lang.String id)- Parameters:
session- the session to access the repositoryid- the authorizable id- Returns:
- the principal name corresponding to the given authorizable id or
nullif the authorizable id cannot be found - Since:
- 3.7.0
-
getAuthorizableId
@Deprecated java.lang.String getAuthorizableId(DocViewNode node)
Deprecated.UsegetAuthorizableId(DocViewNode2)insteadReturns the id of the authorizable from the specified authorizable node to be imported.- Parameters:
node- the authorizable import node- Returns:
- The id of the authorizable to be imported.
- Since:
- 3.1.10
-
getAuthorizableId
default java.lang.String getAuthorizableId(DocViewNode2 node)
Returns the id of the authorizable from the specified authorizable node to be imported.- Parameters:
node- the authorizable import node- Returns:
- The id of the authorizable to be imported.
- Since:
- 3.6.0
-
addMembers
void addMembers(javax.jcr.Session session, java.lang.String id, java.lang.String[] membersUUID)Adds the given memberships to the specified group.- Parameters:
session- session to operate onid- id of groupmembersUUID- uuids of members- Since:
- 2.3.28
-
-