-
Method Summary
void
Adds the given memberships to the specified group.
Returns the id of the authorizable from the specified authorizable node
to be imported.
Returns the path of the authorizable or null if not exists.
boolean
Checks if the given node type name is used for a User node.
-
Method Details
-
isAuthorizableNodeType
boolean isAuthorizableNodeType(String ntName)
Checks if the given node type name is used for a User node.
- Parameters:
ntName - the node type name
- Returns:
true if used for a User node.
-
getAuthorizablePath
Returns the path of the authorizable or null if not exists.
- Parameters:
session - the session to access the repository
id - the authorizable id
- Returns:
- path of authorizable
- Since:
- 2.3.26
-
getPrincipalName
- Parameters:
session - the session to access the repository
id - the authorizable id
- Returns:
- the principal name corresponding to the given authorizable id or
null if the authorizable id cannot be found
- Since:
- 3.7.0
-
getAuthorizableId
Deprecated.
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.1.10
-
getAuthorizableId
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
Adds the given memberships to the specified group.
- Parameters:
session - session to operate on
id - id of group
membersUUID - uuids of members
- Since:
- 2.3.28
getAuthorizableId(DocViewNode2)instead