public class LDAPGroupManager extends AbstractManager implements GroupEntityManager
GroupEntityManager
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 |
processEngineConfiguration
Constructor and Description |
---|
LDAPGroupManager(ProcessEngineConfigurationImpl processEngineConfiguration,
LDAPConfigurator ldapConfigurator) |
LDAPGroupManager(ProcessEngineConfigurationImpl processEngineConfiguration,
LDAPConfigurator ldapConfigurator,
LDAPGroupCache ldapGroupCache) |
getAsyncExecutor, getAttachmentEntityManager, getByteArrayEntityManager, getClock, getCommandContext, getCommandExecutor, getCommentEntityManager, getDeploymentEntityManager, getEventDispatcher, getEventSubscriptionEntityManager, getExecutionEntityManager, getGroupEntityManager, getHistoricActivityInstanceEntityManager, getHistoricDetailEntityManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceEntityManager, getHistoricTaskInstanceEntityManager, getHistoricVariableInstanceEntityManager, getHistoryManager, getIdentityInfoEntityManager, getIdentityLinkEntityManager, getJobEntityManager, getJobExecutor, getMembershipEntityManager, getModelEntityManager, getProcessDefinitionEntityManager, getProcessDefinitionInfoEntityManager, getProcessEngineConfiguration, getResourceEntityManager, getSession, getTaskEntityManager, getUserIdentityEntityManager, getVariableInstanceEntityManager
protected LDAPConfigurator ldapConfigurator
protected LDAPGroupCache ldapGroupCache
public LDAPGroupManager(ProcessEngineConfigurationImpl processEngineConfiguration, LDAPConfigurator ldapConfigurator)
public LDAPGroupManager(ProcessEngineConfigurationImpl processEngineConfiguration, LDAPConfigurator ldapConfigurator, LDAPGroupCache ldapGroupCache)
public Group createNewGroup(String groupId)
createNewGroup
in interface GroupEntityManager
public GroupEntity create()
create
in interface EntityManager<GroupEntity>
public GroupEntity update(GroupEntity entity)
update
in interface EntityManager<GroupEntity>
public GroupEntity update(GroupEntity entity, boolean fireUpdateEvent)
update
in interface EntityManager<GroupEntity>
public boolean isNewGroup(Group group)
isNewGroup
in interface GroupEntityManager
public GroupQuery createNewGroupQuery()
createNewGroupQuery
in interface GroupEntityManager
public List<Group> findGroupByQueryCriteria(GroupQueryImpl query, Page page)
findGroupByQueryCriteria
in interface GroupEntityManager
public long findGroupCountByQueryCriteria(GroupQueryImpl query)
findGroupCountByQueryCriteria
in interface GroupEntityManager
public List<Group> findGroupsByUser(String userId)
findGroupsByUser
in interface GroupEntityManager
public List<Group> findGroupsByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
findGroupsByNativeQuery
in interface GroupEntityManager
public long findGroupCountByNativeQuery(Map<String,Object> parameterMap)
findGroupCountByNativeQuery
in interface GroupEntityManager
protected SearchControls createSearchControls()
public void insert(GroupEntity entity)
insert
in interface EntityManager<GroupEntity>
public void insert(GroupEntity entity, boolean fireCreateEvent)
insert
in interface EntityManager<GroupEntity>
public GroupEntity findById(String entityId)
findById
in interface EntityManager<GroupEntity>
public void delete(String id)
delete
in interface EntityManager<GroupEntity>
public void delete(GroupEntity entity, boolean fireDeleteEvent)
delete
in interface EntityManager<GroupEntity>
public void delete(GroupEntity entity)
delete
in interface EntityManager<GroupEntity>
public LDAPConfigurator getLdapConfigurator()
public void setLdapConfigurator(LDAPConfigurator ldapConfigurator)
public LDAPGroupCache getLdapGroupCache()
public void setLdapGroupCache(LDAPGroupCache ldapGroupCache)
Copyright © 2015 Alfresco. All rights reserved.