public interface UserServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
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. |
UserPage |
getUsersByStatement(Statement filterStatement)
|
UpdateResult |
performUserAction(UserAction userAction,
Statement filterStatement)
Performs actions on
User objects that match the given
Statement.query. |
User[] |
updateUsers(User[] users)
Updates the specified
User objects. |
User[] createUsers(User[] users) throws RemoteException, ApiException
User objects.users - the users to createRemoteExceptionApiExceptionRole[] getAllRoles() throws RemoteException, ApiException
Role objects that are defined for the users
of the
network.RemoteExceptionApiExceptionUser getCurrentUser() throws RemoteException, ApiException
User.RemoteExceptionApiExceptionUserPage 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 usersRemoteExceptionApiExceptionUpdateResult performUserAction(UserAction userAction, Statement filterStatement) throws RemoteException, ApiException
User objects that match the given
Statement.query.userAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of usersRemoteExceptionApiExceptionUser[] updateUsers(User[] users) throws RemoteException, ApiException
User objects.users - the users to updateRemoteExceptionApiExceptionCopyright © 2014. All Rights Reserved.