public class LDAPGroupManager extends AbstractManager implements GroupIdentityManager
GroupIdentityManager interface specifically for LDAP.
Note that only a few methods are actually implemented, as many of the operations
(save, update, etc.) are done on the LDAP system directly.| Modifier and Type | Field and Description |
|---|---|
protected LDAPConfigurator |
ldapConfigurator |
protected LDAPGroupCache |
ldapGroupCache |
| Constructor and Description |
|---|
LDAPGroupManager(LDAPConfigurator ldapConfigurator) |
LDAPGroupManager(LDAPConfigurator ldapConfigurator,
LDAPGroupCache ldapGroupCache) |
| Modifier and Type | Method and Description |
|---|---|
Group |
createNewGroup(String groupId) |
GroupQuery |
createNewGroupQuery() |
protected SearchControls |
createSearchControls() |
void |
deleteGroup(String groupId) |
List<Group> |
findGroupByQueryCriteria(GroupQueryImpl query,
Page page) |
long |
findGroupCountByNativeQuery(Map<String,Object> parameterMap) |
long |
findGroupCountByQueryCriteria(GroupQueryImpl query) |
List<Group> |
findGroupsByNativeQuery(Map<String,Object> parameterMap,
int firstResult,
int maxResults) |
List<Group> |
findGroupsByUser(String userId) |
void |
insertGroup(Group group) |
boolean |
isNewGroup(Group group) |
void |
updateGroup(Group updatedGroup) |
close, delete, flush, getAttachmentManager, getByteArrayManager, getDbSqlSession, getDeploymentManager, getEventSubscriptionManager, getGroupIdentityManager, getHistoricActivityInstanceManager, getHistoricDetailManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getHistoryManager, getIdentityInfoManager, getIdentityLinkManager, getMembershipIdentityManager, getModelManager, getProcessDefinitionInfoManager, getProcessDefinitionManager, getProcessEngineConfiguration, getProcessInstanceManager, getResourceManager, getSession, getTaskManager, getUserIdentityManager, getVariableInstanceManager, insertprotected LDAPConfigurator ldapConfigurator
protected LDAPGroupCache ldapGroupCache
public LDAPGroupManager(LDAPConfigurator ldapConfigurator)
public LDAPGroupManager(LDAPConfigurator ldapConfigurator, LDAPGroupCache ldapGroupCache)
public Group createNewGroup(String groupId)
createNewGroup in interface GroupIdentityManagerpublic void insertGroup(Group group)
insertGroup in interface GroupIdentityManagerpublic void updateGroup(Group updatedGroup)
updateGroup in interface GroupIdentityManagerpublic boolean isNewGroup(Group group)
isNewGroup in interface GroupIdentityManagerpublic void deleteGroup(String groupId)
deleteGroup in interface GroupIdentityManagerpublic GroupQuery createNewGroupQuery()
createNewGroupQuery in interface GroupIdentityManagerpublic List<Group> findGroupByQueryCriteria(GroupQueryImpl query, Page page)
findGroupByQueryCriteria in interface GroupIdentityManagerpublic long findGroupCountByQueryCriteria(GroupQueryImpl query)
findGroupCountByQueryCriteria in interface GroupIdentityManagerpublic List<Group> findGroupsByUser(String userId)
findGroupsByUser in interface GroupIdentityManagerpublic List<Group> findGroupsByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
findGroupsByNativeQuery in interface GroupIdentityManagerpublic long findGroupCountByNativeQuery(Map<String,Object> parameterMap)
findGroupCountByNativeQuery in interface GroupIdentityManagerprotected SearchControls createSearchControls()
Copyright © 2016 Alfresco. All rights reserved.