|
eXo JCR :: Ext :: Services 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.organization.JCROrgServiceHandler
org.exoplatform.services.jcr.ext.organization.UserHandlerImpl
public class UserHandlerImpl
Created by The eXo Platform SAS. Date: 24.07.2008
| Nested Class Summary | |
|---|---|
static class |
UserHandlerImpl.UserProperties
Class contains the names of user properties only. |
| Field Summary | |
|---|---|
protected List<org.exoplatform.services.organization.UserEventListener> |
listeners
The list of listeners to broadcast the events. |
| Fields inherited from class org.exoplatform.services.jcr.ext.organization.JCROrgServiceHandler |
|---|
cache, groupHandler, LOG, membershipHandler, service, typeHandler, userHandler, userProfileHandler, utils |
| Fields inherited from interface org.exoplatform.services.organization.UserHandler |
|---|
POST_CREATE_USER_EVENT, POST_DELETE_USER_EVENT, POST_UPDATE_USER_EVENT, PRE_CREATE_USER_EVENT, PRE_DELETE_USER_EVENT, PRE_UPDATE_USER_EVENT |
| Method Summary | |
|---|---|
void |
addUserEventListener(org.exoplatform.services.organization.UserEventListener listener)
|
boolean |
authenticate(String username,
String password)
|
boolean |
authenticate(String userName,
String password,
org.exoplatform.services.security.PasswordEncrypter pe)
|
void |
createUser(org.exoplatform.services.organization.User user,
boolean broadcast)
|
org.exoplatform.services.organization.User |
createUserInstance()
|
org.exoplatform.services.organization.User |
createUserInstance(String username)
|
org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> |
findAllUsers()
|
org.exoplatform.services.organization.User |
findUserByName(String userName)
|
org.exoplatform.commons.utils.LazyPageList |
findUsers(org.exoplatform.services.organization.Query query)
|
org.exoplatform.commons.utils.LazyPageList |
findUsersByGroup(String groupId)
|
org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> |
findUsersByGroupId(String groupId)
|
org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> |
findUsersByQuery(org.exoplatform.services.organization.Query query)
|
List<org.exoplatform.services.organization.UserEventListener> |
getUserListeners()
|
org.exoplatform.commons.utils.LazyPageList |
getUserPageList(int pageSize)
|
UserImpl |
readUser(javax.jcr.Node userNode)
Read user properties from the node in the storage. |
org.exoplatform.services.organization.User |
removeUser(String userName,
boolean broadcast)
|
void |
removeUserEventListener(org.exoplatform.services.organization.UserEventListener listener)
Remove registered listener. |
void |
saveUser(org.exoplatform.services.organization.User user,
boolean broadcast)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final List<org.exoplatform.services.organization.UserEventListener> listeners
| Method Detail |
|---|
public boolean authenticate(String username,
String password)
throws Exception
authenticate in interface org.exoplatform.services.organization.UserHandlerException
public boolean authenticate(String userName,
String password,
org.exoplatform.services.security.PasswordEncrypter pe)
throws Exception
authenticate in interface org.exoplatform.services.organization.ExtendedUserHandlerException
public void createUser(org.exoplatform.services.organization.User user,
boolean broadcast)
throws Exception
createUser in interface org.exoplatform.services.organization.UserHandlerExceptionpublic org.exoplatform.services.organization.User createUserInstance()
createUserInstance in interface org.exoplatform.services.organization.UserHandlerpublic org.exoplatform.services.organization.User createUserInstance(String username)
createUserInstance in interface org.exoplatform.services.organization.UserHandler
public org.exoplatform.services.organization.User findUserByName(String userName)
throws Exception
findUserByName in interface org.exoplatform.services.organization.UserHandlerException
public org.exoplatform.commons.utils.LazyPageList findUsers(org.exoplatform.services.organization.Query query)
throws Exception
findUsers in interface org.exoplatform.services.organization.UserHandlerException
public org.exoplatform.commons.utils.LazyPageList findUsersByGroup(String groupId)
throws Exception
findUsersByGroup in interface org.exoplatform.services.organization.UserHandlerException
public org.exoplatform.commons.utils.LazyPageList getUserPageList(int pageSize)
throws Exception
getUserPageList in interface org.exoplatform.services.organization.UserHandlerException
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> findAllUsers()
throws Exception
findAllUsers in interface org.exoplatform.services.organization.UserHandlerException
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> findUsersByGroupId(String groupId)
throws Exception
findUsersByGroupId in interface org.exoplatform.services.organization.UserHandlerException
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> findUsersByQuery(org.exoplatform.services.organization.Query query)
throws Exception
findUsersByQuery in interface org.exoplatform.services.organization.UserHandlerException
public org.exoplatform.services.organization.User removeUser(String userName,
boolean broadcast)
throws Exception
removeUser in interface org.exoplatform.services.organization.UserHandlerException
public void saveUser(org.exoplatform.services.organization.User user,
boolean broadcast)
throws Exception
saveUser in interface org.exoplatform.services.organization.UserHandlerException
public UserImpl readUser(javax.jcr.Node userNode)
throws Exception
userNode - the node where user properties are stored
User
Exceptionpublic void addUserEventListener(org.exoplatform.services.organization.UserEventListener listener)
addUserEventListener in interface org.exoplatform.services.organization.UserHandlerpublic void removeUserEventListener(org.exoplatform.services.organization.UserEventListener listener)
removeUserEventListener in interface org.exoplatform.services.organization.UserHandlerlistener - The registered listener for removepublic List<org.exoplatform.services.organization.UserEventListener> getUserListeners()
getUserListeners in interface org.exoplatform.services.organization.UserEventListenerHandler
|
eXo JCR :: Ext :: Services 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||