Class UserEntityManagerImpl
- 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<PlatformUserEntity,UserDataManager>
-
- com.flowable.idm.engine.impl.persistence.entity.UserEntityManagerImpl
-
- All Implemented Interfaces:
UserEntityManager
,EntityManager<PlatformUserEntity>
public class UserEntityManagerImpl extends AbstractIdmEngineEntityManager<PlatformUserEntity,UserDataManager> implements UserEntityManager
- Author:
- Tijs Rademakers, Joram Barrez, Filip Hrisafov
-
-
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 UserEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, UserDataManager userDataManager)
-
Method Summary
-
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
-
UserEntityManagerImpl
public UserEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, UserDataManager userDataManager)
-
-
Method Detail
-
createNewUser
public PlatformUserEntity createNewUser(String userId)
- Specified by:
createNewUser
in interfaceUserEntityManager
-
updateUser
public void updateUser(User updatedUser)
- Specified by:
updateUser
in interfaceUserEntityManager
-
delete
public void delete(String userId)
- Specified by:
delete
in interfaceEntityManager<PlatformUserEntity>
- Overrides:
delete
in classAbstractEntityManager<PlatformUserEntity,UserDataManager>
-
findUserByQueryCriteria
public List<PlatformUser> findUserByQueryCriteria(PlatformUserQuery query)
- Specified by:
findUserByQueryCriteria
in interfaceUserEntityManager
-
findUserCountByQueryCriteria
public long findUserCountByQueryCriteria(PlatformUserQuery query)
- Specified by:
findUserCountByQueryCriteria
in interfaceUserEntityManager
-
createNewPlatformUserQuery
public PlatformUserQuery createNewPlatformUserQuery()
- Specified by:
createNewPlatformUserQuery
in interfaceUserEntityManager
-
checkPassword
public Boolean checkPassword(String userId, String password, PasswordEncoder passwordEncoder, PasswordSalt salt)
- Specified by:
checkPassword
in interfaceUserEntityManager
-
findUsersByNativeQuery
public List<PlatformUser> findUsersByNativeQuery(Map<String,Object> parameterMap)
- Specified by:
findUsersByNativeQuery
in interfaceUserEntityManager
-
findUserCountByNativeQuery
public long findUserCountByNativeQuery(Map<String,Object> parameterMap)
- Specified by:
findUserCountByNativeQuery
in interfaceUserEntityManager
-
isNewUser
public boolean isNewUser(User user)
- Specified by:
isNewUser
in interfaceUserEntityManager
-
findUsersByPrivilegeId
public List<PlatformUser> findUsersByPrivilegeId(String name)
- Specified by:
findUsersByPrivilegeId
in interfaceUserEntityManager
-
findByIdNoCache
public PlatformUserEntity findByIdNoCache(String userId)
Description copied from interface:UserEntityManager
Only used for very specific use cases: doesn't go nor store the fetched user in the cache. Use only when you know what you're doing.- Specified by:
findByIdNoCache
in interfaceUserEntityManager
-
findUniqueTenantIds
public List<String> findUniqueTenantIds()
- Specified by:
findUniqueTenantIds
in interfaceUserEntityManager
-
getIdentityInfoEntityManager
protected IdentityInfoEntityManager getIdentityInfoEntityManager()
-
getPlatformIdentityInfoEntityManager
protected PlatformIdentityInfoEntityManager getPlatformIdentityInfoEntityManager()
-
getUserAccountEntityManager
protected UserAccountEntityManager getUserAccountEntityManager()
-
getMembershipEntityManager
protected MembershipEntityManager getMembershipEntityManager()
-
-