Class GroupEntityManagerImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<CoreIdmEngineConfiguration,EntityImpl,DM>
-
- com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntityManager<PlatformGroupEntity,GroupDataManager>
-
- com.flowable.idm.engine.impl.persistence.entity.GroupEntityManagerImpl
-
- All Implemented Interfaces:
GroupEntityManager
,EntityManager<PlatformGroupEntity>
public class GroupEntityManagerImpl extends AbstractIdmEngineEntityManager<PlatformGroupEntity,GroupDataManager> implements GroupEntityManager
- Author:
- Tijs Rademakers, Joram Barrez
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
engineConfiguration
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
-
Constructor Summary
Constructors Constructor Description GroupEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, GroupDataManager groupDataManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformGroupEntity
createNewGroup(String groupId)
PlatformGroupQuery
createNewGroupQuery()
void
delete(String groupId)
List<PlatformGroup>
findGroupByQueryCriteria(PlatformGroupQueryImpl query)
long
findGroupCountByNativeQuery(Map<String,Object> parameterMap)
long
findGroupCountByQueryCriteria(PlatformGroupQueryImpl query)
List<PlatformGroup>
findGroupsByNativeQuery(Map<String,Object> parameterMap)
List<PlatformGroup>
findGroupsByPrivilegeId(String privilegeId)
List<PlatformGroup>
findGroupsByUser(String userId)
protected MembershipEntityManager
getMembershipEntityManager()
boolean
isNewGroup(Group group)
-
Methods inherited from class com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntityManager
createEntityEvent
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcher
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
-
-
-
Constructor Detail
-
GroupEntityManagerImpl
public GroupEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, GroupDataManager groupDataManager)
-
-
Method Detail
-
createNewGroup
public PlatformGroupEntity createNewGroup(String groupId)
- Specified by:
createNewGroup
in interfaceGroupEntityManager
-
delete
public void delete(String groupId)
- Specified by:
delete
in interfaceEntityManager<PlatformGroupEntity>
- Overrides:
delete
in classAbstractEntityManager<PlatformGroupEntity,GroupDataManager>
-
createNewGroupQuery
public PlatformGroupQuery createNewGroupQuery()
- Specified by:
createNewGroupQuery
in interfaceGroupEntityManager
-
findGroupByQueryCriteria
public List<PlatformGroup> findGroupByQueryCriteria(PlatformGroupQueryImpl query)
- Specified by:
findGroupByQueryCriteria
in interfaceGroupEntityManager
-
findGroupCountByQueryCriteria
public long findGroupCountByQueryCriteria(PlatformGroupQueryImpl query)
- Specified by:
findGroupCountByQueryCriteria
in interfaceGroupEntityManager
-
findGroupsByUser
public List<PlatformGroup> findGroupsByUser(String userId)
- Specified by:
findGroupsByUser
in interfaceGroupEntityManager
-
findGroupsByNativeQuery
public List<PlatformGroup> findGroupsByNativeQuery(Map<String,Object> parameterMap)
- Specified by:
findGroupsByNativeQuery
in interfaceGroupEntityManager
-
findGroupCountByNativeQuery
public long findGroupCountByNativeQuery(Map<String,Object> parameterMap)
- Specified by:
findGroupCountByNativeQuery
in interfaceGroupEntityManager
-
isNewGroup
public boolean isNewGroup(Group group)
- Specified by:
isNewGroup
in interfaceGroupEntityManager
-
findGroupsByPrivilegeId
public List<PlatformGroup> findGroupsByPrivilegeId(String privilegeId)
- Specified by:
findGroupsByPrivilegeId
in interfaceGroupEntityManager
-
getMembershipEntityManager
protected MembershipEntityManager getMembershipEntityManager()
-
-