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
ConstructorDescriptionUserEntityManagerImpl
(CoreIdmEngineConfiguration idmEngineConfiguration, UserDataManager userDataManager) -
Method Summary
Modifier and TypeMethodDescriptioncheckPassword
(String userId, String password, PasswordEncoder passwordEncoder, PasswordSalt salt) createNewUser
(String userId) void
findByIdNoCache
(String userId) Only used for very specific use cases: doesn't go nor store the fetched user in the cache.long
findUserCountByNativeQuery
(Map<String, Object> parameterMap) long
findUsersByNativeQuery
(Map<String, Object> parameterMap) findUsersByPrivilegeId
(String name) protected AccessTokenEntityManager
protected DesignAuthenticationEntityManager
protected IdentityInfoEntityManager
protected MembershipEntityManager
protected PlatformIdentityInfoEntityManager
protected UserAccountEntityManager
boolean
void
updateUser
(User updatedUser) 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 Details
-
UserEntityManagerImpl
public UserEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, UserDataManager userDataManager)
-
-
Method Details
-
createNewUser
- Specified by:
createNewUser
in interfaceUserEntityManager
-
updateUser
- Specified by:
updateUser
in interfaceUserEntityManager
-
delete
- Specified by:
delete
in interfaceEntityManager<PlatformUserEntity>
- Overrides:
delete
in classAbstractEntityManager<PlatformUserEntity,
UserDataManager>
-
findUserByQueryCriteria
- Specified by:
findUserByQueryCriteria
in interfaceUserEntityManager
-
findUserCountByQueryCriteria
- Specified by:
findUserCountByQueryCriteria
in interfaceUserEntityManager
-
createNewPlatformUserQuery
- Specified by:
createNewPlatformUserQuery
in interfaceUserEntityManager
-
checkPassword
public Boolean checkPassword(String userId, String password, PasswordEncoder passwordEncoder, PasswordSalt salt) - Specified by:
checkPassword
in interfaceUserEntityManager
-
findUsersByNativeQuery
- Specified by:
findUsersByNativeQuery
in interfaceUserEntityManager
-
findUserCountByNativeQuery
- Specified by:
findUserCountByNativeQuery
in interfaceUserEntityManager
-
isNewUser
- Specified by:
isNewUser
in interfaceUserEntityManager
-
findUsersByPrivilegeId
- Specified by:
findUsersByPrivilegeId
in interfaceUserEntityManager
-
findByIdNoCache
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
- Specified by:
findUniqueTenantIds
in interfaceUserEntityManager
-
getIdentityInfoEntityManager
-
getPlatformIdentityInfoEntityManager
-
getUserAccountEntityManager
-
getMembershipEntityManager
-
getAccessTokenEntityManager
-
getDesignAuthenticationEntityManager
-