public class UserManagerWithComputedGroups extends UserManagerImpl
UserManager implementation that is aware of ComputedGroup.UserManager.MatchType| Modifier and Type | Field and Description |
|---|---|
static String |
VIRTUAL_GROUP_MARKER |
DEFAULT_ANONYMOUS_USER_ID, GROUPCHANGED_EVENT_ID, GROUPCREATED_EVENT_ID, GROUPDELETED_EVENT_ID, GROUPMODIFIED_EVENT_ID, multiTenantManagement, USERCHANGED_EVENT_ID, USERCREATED_EVENT_ID, USERDELETED_EVENT_ID, USERMANAGER_TOPIC, USERMODIFIED_EVENT_ID, VIRTUAL_FIELD_FILTER_PREFIX| Constructor and Description |
|---|
UserManagerWithComputedGroups() |
| Modifier and Type | Method and Description |
|---|---|
NuxeoGroup |
getGroup(String groupName)
Returns the nuxeo group with given name or null if it does not exist.
|
List<String> |
getGroupIds()
Returns the list of all groups ids.
|
DocumentModel |
getGroupModel(String groupName)
Return the group document model with this id or null if group does not
exist.
|
DocumentModelList |
searchGroups(Map<String,Serializable> filter,
Set<String> fulltext)
Returns groups matching given criteria.
|
DocumentModelList |
searchGroups(Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context)
Returns groups matching given criteria with the given context.
|
areGroupsReadOnly, areUsersReadOnly, authenticate, checkUsernamePassword, createGroup, createGroup, createGroup, createPrincipal, createUser, createUser, deleteGroup, deleteGroup, deleteGroup, deleteGroup, deleteGroup, deletePrincipal, deleteUser, deleteUser, deleteUser, deleteUser, encodeDigestAuthPassword, getAdministratorsGroups, getAnonymousUserId, getAvailableGroups, getAvailablePrincipals, getBareGroupModel, getBareUserModel, getDefaultGroup, getDigestAuthDirectory, getDigestAuthRealm, getGroupDirectoryName, getGroupIdField, getGroupIds, getGroupLabelField, getGroupListingMode, getGroupMembersField, getGroupModel, getGroupParentGroupsField, getGroupSchemaName, getGroupSearchFields, getGroupsInGroup, getGroupsInGroup, getGroupSubGroupsField, getModelForUser, getPrincipal, getPrincipal, getTopLevelGroups, getTopLevelGroups, getUserDirectoryName, getUserEmailField, getUserIdField, getUserIds, getUserIds, getUserListingMode, getUserModel, getUserModel, getUserPasswordPattern, getUserSchemaName, getUserSearchFields, getUsersForPermission, getUsersForPermission, getUsersInGroup, getUsersInGroup, getUsersInGroupAndSubGroups, getUsersInGroupAndSubGroups, getUserSortField, searchByMap, searchGroups, searchGroups, searchPrincipals, searchUsers, searchUsers, searchUsers, searchUsers, searchUsers, setConfiguration, updateGroup, updateGroup, updateGroup, updatePrincipal, updateUser, updateUser, validatePasswordpublic static final String VIRTUAL_GROUP_MARKER
public NuxeoGroup getGroup(String groupName) throws ClientException
UserManagergetGroup in interface UserManagergetGroup in class UserManagerImplClientExceptionpublic List<String> getGroupIds() throws ClientException
UserManagergetGroupIds in interface UserManagergetGroupIds in class UserManagerImplClientExceptionpublic DocumentModel getGroupModel(String groupName) throws ClientException
UserManagergetGroupModel in interface UserManagergetGroupModel in class UserManagerImplgroupName - the group identifierClientExceptionpublic DocumentModelList searchGroups(Map<String,Serializable> filter, Set<String> fulltext) throws ClientException
UserManagersearchGroups in interface UserManagersearchGroups in class UserManagerImplfilter - filter with field names as keysfulltext - field names used for fulltext matchClientExceptionpublic DocumentModelList searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context) throws ClientException
MultiTenantUserManagersearchGroups in interface MultiTenantUserManagersearchGroups in class UserManagerImplfilter - filter with field names as keysfulltext - field names used for fulltext matchClientExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.