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, insert
protected LDAPConfigurator ldapConfigurator
protected LDAPGroupCache ldapGroupCache
public LDAPGroupManager(LDAPConfigurator ldapConfigurator)
public LDAPGroupManager(LDAPConfigurator ldapConfigurator, LDAPGroupCache ldapGroupCache)
public Group createNewGroup(String groupId)
createNewGroup
in interface GroupIdentityManager
public void insertGroup(Group group)
insertGroup
in interface GroupIdentityManager
public void updateGroup(Group updatedGroup)
updateGroup
in interface GroupIdentityManager
public boolean isNewGroup(Group group)
isNewGroup
in interface GroupIdentityManager
public void deleteGroup(String groupId)
deleteGroup
in interface GroupIdentityManager
public GroupQuery createNewGroupQuery()
createNewGroupQuery
in interface GroupIdentityManager
public List<Group> findGroupByQueryCriteria(GroupQueryImpl query, Page page)
findGroupByQueryCriteria
in interface GroupIdentityManager
public long findGroupCountByQueryCriteria(GroupQueryImpl query)
findGroupCountByQueryCriteria
in interface GroupIdentityManager
public List<Group> findGroupsByUser(String userId)
findGroupsByUser
in interface GroupIdentityManager
public List<Group> findGroupsByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
findGroupsByNativeQuery
in interface GroupIdentityManager
public long findGroupCountByNativeQuery(Map<String,Object> parameterMap)
findGroupCountByNativeQuery
in interface GroupIdentityManager
protected SearchControls createSearchControls()
Copyright © 2016 Alfresco. All rights reserved.