Class CacheableUserHandlerImpl
java.lang.Object
org.exoplatform.services.organization.idm.AbstractDAOImpl
org.exoplatform.services.organization.idm.UserDAOImpl
org.exoplatform.services.organization.idm.cache.CacheableUserHandlerImpl
- All Implemented Interfaces:
org.exoplatform.services.organization.UserHandler
-
Field Summary
Fields inherited from class org.exoplatform.services.organization.idm.UserDAOImpl
dateFormat, USER_CREATED_DATE, USER_DISPLAY_NAME, USER_EMAIL, USER_ENABLED, USER_FIRST_NAME, USER_LAST_LOGIN_TIME, USER_LAST_NAME, USER_NON_PROFILE_KEYS, USER_ORGANIZATION_ID, USER_PASSWORD, USER_PASSWORD_SALT, USER_PASSWORD_SALT128Fields inherited from class org.exoplatform.services.organization.idm.AbstractDAOImpl
log, orgService, service_ -
Constructor Summary
ConstructorsConstructorDescriptionCacheableUserHandlerImpl(org.exoplatform.services.organization.cache.OrganizationCacheHandler organizationCacheHandler, PicketLinkIDMOrganizationServiceImpl orgService, PicketLinkIDMService idmService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String username, String password) voidvoidcreateUser(org.exoplatform.services.organization.User user, boolean broadcast) voidvoidorg.exoplatform.services.organization.UserfindUserByName(String userName, org.exoplatform.services.organization.UserStatus status) org.exoplatform.services.organization.UserremoveUser(String userName, boolean broadcast) voidsaveUser(org.exoplatform.services.organization.User user, boolean broadcast) org.exoplatform.services.organization.UsersetEnabled(String userName, boolean enabled, boolean broadcast) Methods inherited from class org.exoplatform.services.organization.idm.UserDAOImpl
addUserEventListener, authenticateDB, authenticateExternal, createUserInstance, createUserInstance, executeWithTransaction, findAllUsers, findAllUsers, findUserByEmail, findUserByName, findUserByUniqueAttribute, findUsers, findUsersByGroup, findUsersByGroupId, findUsersByGroupId, findUsersByQuery, findUsersByQuery, findUsersByQuery, getOrgService, getPopulatedUser, getUserEventListeners, getUserPageList, persistUserInfo, persistUserInfo, populateUser, removeUserEventListener, restartTransactionMethods inherited from class org.exoplatform.services.organization.idm.AbstractDAOImpl
getIdentitySession, handleExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.organization.UserHandler
isUpdateLastLoginTime
-
Constructor Details
-
CacheableUserHandlerImpl
public CacheableUserHandlerImpl(org.exoplatform.services.organization.cache.OrganizationCacheHandler organizationCacheHandler, PicketLinkIDMOrganizationServiceImpl orgService, PicketLinkIDMService idmService)
-
-
Method Details
-
removeUser
public org.exoplatform.services.organization.User removeUser(String userName, boolean broadcast) throws Exception - Specified by:
removeUserin interfaceorg.exoplatform.services.organization.UserHandler- Overrides:
removeUserin classUserDAOImpl- Throws:
Exception
-
authenticate
- Specified by:
authenticatein interfaceorg.exoplatform.services.organization.UserHandler- Overrides:
authenticatein classUserDAOImpl- Throws:
Exception
-
saveUser
public void saveUser(org.exoplatform.services.organization.User user, boolean broadcast) throws Exception - Specified by:
saveUserin interfaceorg.exoplatform.services.organization.UserHandler- Overrides:
saveUserin classUserDAOImpl- Throws:
Exception
-
createUser
public void createUser(org.exoplatform.services.organization.User user, boolean broadcast) throws Exception - Specified by:
createUserin interfaceorg.exoplatform.services.organization.UserHandler- Overrides:
createUserin classUserDAOImpl- Throws:
Exception
-
setEnabled
public org.exoplatform.services.organization.User setEnabled(String userName, boolean enabled, boolean broadcast) throws Exception - Specified by:
setEnabledin interfaceorg.exoplatform.services.organization.UserHandler- Overrides:
setEnabledin classUserDAOImpl- Throws:
Exception
-
findUserByName
public org.exoplatform.services.organization.User findUserByName(String userName, org.exoplatform.services.organization.UserStatus status) throws Exception - Specified by:
findUserByNamein interfaceorg.exoplatform.services.organization.UserHandler- Overrides:
findUserByNamein classUserDAOImpl- Throws:
Exception
-
clearCache
public void clearCache() -
disableCache
public void disableCache() -
enableCache
public void enableCache()
-