|
||||||||||
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 WebServicePortalFault
sessionId
- session identifieruser
- user data to be addedpassword
- password of user being added
WebServicePortalFault
- if the operation failed.public void update(String sessionId, User user) throws WebServicePortalFault
sessionId
- session identifieruser
- user data to be updated
WebServicePortalFault
- if the operation failed.public void delete(String sessionId, String userId) throws WebServicePortalFault
sessionId
- session identifieruserId
- identifier of user to be deleted
WebServicePortalFault
- if the operation failed.public User get(String sessionId, String userId) throws WebServicePortalFault
User
object by its identifier
sessionId
- session identifieruserId
- identifier of the user to get
WebServicePortalFault
- if the operation failed.public String getUserIdByLogin(String sessionId, String login) throws WebServicePortalFault
sessionId
- session identifierlogin
- user login
WebServicePortalFault
- if the operation failed.public void setPassword(String sessionId, String userId, String password) throws WebServicePortalFault
sessionId
- session identifieruserId
- user identifierpassword
- new user's password
WebServicePortalFault
- if the operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |