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, INVALIDATE_ALL_PRINCIPALS_EVENT_ID, INVALIDATE_PRINCIPAL_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.
|
aboutToHandleEvent, 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, handleEvent, searchByMap, searchGroups, searchGroups, searchPrincipals, searchUsers, searchUsers, searchUsers, searchUsers, searchUsers, setConfiguration, updateGroup, updateGroup, updateGroup, updatePrincipal, updateUser, updateUser, validatePassword
public static final String VIRTUAL_GROUP_MARKER
public NuxeoGroup getGroup(String groupName) throws ClientException
UserManager
getGroup
in interface UserManager
getGroup
in class UserManagerImpl
ClientException
public List<String> getGroupIds() throws ClientException
UserManager
getGroupIds
in interface UserManager
getGroupIds
in class UserManagerImpl
ClientException
public DocumentModel getGroupModel(String groupName) throws ClientException
UserManager
getGroupModel
in interface UserManager
getGroupModel
in class UserManagerImpl
groupName
- the group identifierClientException
public DocumentModelList searchGroups(Map<String,Serializable> filter, Set<String> fulltext) throws ClientException
UserManager
searchGroups
in interface UserManager
searchGroups
in class UserManagerImpl
filter
- filter with field names as keysfulltext
- field names used for fulltext matchClientException
public DocumentModelList searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context) throws ClientException
MultiTenantUserManager
searchGroups
in interface MultiTenantUserManager
searchGroups
in class UserManagerImpl
filter
- filter with field names as keysfulltext
- field names used for fulltext matchClientException
Copyright © 2015 Nuxeo SA. All rights reserved.