|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.webservice.user.UserService
public class UserService
Web Service class for User operations.
Constructor Summary | |
---|---|
UserService()
|
Method Summary | |
---|---|
String |
add(String sessionId,
User user,
String password)
Add a user to portal and returns its identifier. |
void |
delete(String sessionId,
String userId)
Delete a user |
User |
get(String sessionId,
String userId)
Get a User object by its identifier |
String |
getUserIdByLogin(String sessionId,
String login)
Get a user identifier by its login |
void |
setPassword(String sessionId,
String userId,
String password)
Change a user's password |
void |
update(String sessionId,
User user)
Update a user's data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserService()
Method Detail |
---|
public String add(String sessionId, User user, String password) throws PortalException
sessionId
- session identifieruser
- user data to be addedpassword
- password of user being added
PortalException
public void update(String sessionId, User user) throws PortalException
sessionId
- session identifieruser
- user data to be updated
PortalException
public void delete(String sessionId, String userId) throws PortalException
sessionId
- session identifieruserId
- identifier of user to be deleted
PortalException
public User get(String sessionId, String userId) throws PortalException
User
object by its identifier
sessionId
- session identifieruserId
- identifier of the user to get
PortalException
public String getUserIdByLogin(String sessionId, String login) throws PortalException
sessionId
- session identifierlogin
- user login
PortalException
public void setPassword(String sessionId, String userId, String password) throws PortalException
sessionId
- session identifieruserId
- user identifierpassword
- new user's password
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |