|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserServiceInterface
| Method Summary | |
|---|---|
User |
createUser(User user)
Creates a new User. |
User[] |
createUsers(User[] users)
Creates new User objects. |
Role[] |
getAllRoles()
Returns the Role objects that are defined for the users
of the
network. |
User |
getCurrentUser()
Returns the current User. |
User |
getUser(Long userId)
Returns the User uniquely identified by the given ID. |
UserPage |
getUsersByStatement(Statement filterStatement)
Gets a UserPage of User objects that satisfy
the given
Statement.query. |
UpdateResult |
performUserAction(UserAction userAction,
Statement filterStatement)
Performs actions on User objects that match the given
Statement.query. |
User |
updateUser(User user)
Updates the specified User. |
User[] |
updateUsers(User[] users)
Updates the specified User objects. |
| Method Detail |
|---|
User createUser(User user)
throws RemoteException,
ApiException
User.
The following fields are required:
user - the user to create
RemoteException
ApiException
User[] createUsers(User[] users)
throws RemoteException,
ApiException
User objects.
users - the users to create
RemoteException
ApiException
Role[] getAllRoles()
throws RemoteException,
ApiException
Role objects that are defined for the users
of the
network.
RemoteException
ApiException
User getCurrentUser()
throws RemoteException,
ApiException
User.
RemoteException
ApiException
User getUser(Long userId)
throws RemoteException,
ApiException
User uniquely identified by the given ID.
userId - The optional ID of the user. For current user set to
null.
User uniquely identified by the given ID
RemoteException
ApiException
UserPage getUsersByStatement(Statement filterStatement)
throws RemoteException,
ApiException
UserPage of User objects that satisfy
the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
email |
UserRecord.email |
id |
UserRecord.id |
name |
UserRecord.name |
roleId |
UserRecord.roleId
|
rolename |
UserRecord.roleName
|
status |
ACTIVE if User.isActive is true; INACTIVE
otherwise |
filterStatement - a Publisher Query Language statement used to
filter
a set of users
RemoteException
ApiException
UpdateResult performUserAction(UserAction userAction,
Statement filterStatement)
throws RemoteException
User objects that match the given
Statement.query.
userAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of users
RemoteException
User updateUser(User user)
throws RemoteException,
ApiException
User.
user - the user to update
RemoteException
ApiException
User[] updateUsers(User[] users)
throws RemoteException,
ApiException
User objects.
users - the users to update
RemoteException
ApiException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||