public class GroupEntityManagerImpl extends AbstractIdmEngineEntityManager<PlatformGroupEntity,GroupDataManager> implements GroupEntityManager
engineConfiguration
dataManager, engineType
Constructor and Description |
---|
GroupEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration,
GroupDataManager groupDataManager) |
Modifier and Type | Method and 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) |
createEntityEvent
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcher
create, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
public GroupEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, GroupDataManager groupDataManager)
public PlatformGroupEntity createNewGroup(String groupId)
createNewGroup
in interface GroupEntityManager
public void delete(String groupId)
delete
in interface EntityManager<PlatformGroupEntity>
delete
in class AbstractEntityManager<PlatformGroupEntity,GroupDataManager>
public PlatformGroupQuery createNewGroupQuery()
createNewGroupQuery
in interface GroupEntityManager
public List<PlatformGroup> findGroupByQueryCriteria(PlatformGroupQueryImpl query)
findGroupByQueryCriteria
in interface GroupEntityManager
public long findGroupCountByQueryCriteria(PlatformGroupQueryImpl query)
findGroupCountByQueryCriteria
in interface GroupEntityManager
public List<PlatformGroup> findGroupsByUser(String userId)
findGroupsByUser
in interface GroupEntityManager
public List<PlatformGroup> findGroupsByNativeQuery(Map<String,Object> parameterMap)
findGroupsByNativeQuery
in interface GroupEntityManager
public long findGroupCountByNativeQuery(Map<String,Object> parameterMap)
findGroupCountByNativeQuery
in interface GroupEntityManager
public boolean isNewGroup(Group group)
isNewGroup
in interface GroupEntityManager
public List<PlatformGroup> findGroupsByPrivilegeId(String privilegeId)
findGroupsByPrivilegeId
in interface GroupEntityManager
protected MembershipEntityManager getMembershipEntityManager()