public class UserEntityManagerImpl extends AbstractIdmEngineEntityManager<PlatformUserEntity,UserDataManager> implements UserEntityManager
engineConfiguration
dataManager, engineType
Constructor and Description |
---|
UserEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration,
UserDataManager userDataManager) |
createEntityEvent
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcher
create, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
public UserEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, UserDataManager userDataManager)
public PlatformUserEntity createNewUser(String userId)
createNewUser
in interface UserEntityManager
public void updateUser(User updatedUser)
updateUser
in interface UserEntityManager
public void delete(String userId)
delete
in interface EntityManager<PlatformUserEntity>
delete
in class AbstractEntityManager<PlatformUserEntity,UserDataManager>
public List<PlatformUser> findUserByQueryCriteria(PlatformUserQuery query)
findUserByQueryCriteria
in interface UserEntityManager
public long findUserCountByQueryCriteria(PlatformUserQuery query)
findUserCountByQueryCriteria
in interface UserEntityManager
public PlatformUserQuery createNewPlatformUserQuery()
createNewPlatformUserQuery
in interface UserEntityManager
public Boolean checkPassword(String userId, String password, PasswordEncoder passwordEncoder, PasswordSalt salt)
checkPassword
in interface UserEntityManager
public List<PlatformUser> findUsersByNativeQuery(Map<String,Object> parameterMap)
findUsersByNativeQuery
in interface UserEntityManager
public long findUserCountByNativeQuery(Map<String,Object> parameterMap)
findUserCountByNativeQuery
in interface UserEntityManager
public boolean isNewUser(User user)
isNewUser
in interface UserEntityManager
public List<PlatformUser> findUsersByPrivilegeId(String name)
findUsersByPrivilegeId
in interface UserEntityManager
public PlatformUserEntity findByIdNoCache(String userId)
UserEntityManager
findByIdNoCache
in interface UserEntityManager
public List<String> findUniqueTenantIds()
findUniqueTenantIds
in interface UserEntityManager
protected IdentityInfoEntityManager getIdentityInfoEntityManager()
protected PlatformIdentityInfoEntityManager getPlatformIdentityInfoEntityManager()
protected UserAccountEntityManager getUserAccountEntityManager()
protected MembershipEntityManager getMembershipEntityManager()