|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Interface describing the role assignments of a single user. Instances of this
interface are used and returned in the interface IRoomUsers.
IRoomUsers| Method Summary | |
boolean |
addRole(com.sap.ip.collaboration.room.api.template.IRoomRole role)
Assign the user to a new role. |
boolean |
addRoles(com.sap.ip.collaboration.room.api.template.IRoomRole[] roles)
Assign multiple roles to the user. |
com.sap.ip.collaboration.room.api.template.IRoomRole[] |
getRoles()
Get all roles the user is assigned to |
java.lang.String |
getUserId()
Get the id of the user |
boolean |
hasRole(com.sap.ip.collaboration.room.api.template.IRoomRole role)
Check if the user is assigned to a specific role |
boolean |
isEmpty()
Check if the user is assigned to no roles at all |
boolean |
removeAllRoles()
Remove all roles from the user |
boolean |
removeRole(com.sap.ip.collaboration.room.api.template.IRoomRole role)
Remove a specific role from the user |
| Method Detail |
public java.lang.String getUserId()
public com.sap.ip.collaboration.room.api.template.IRoomRole[] getRoles()
public boolean hasRole(com.sap.ip.collaboration.room.api.template.IRoomRole role)
role - the role for the checkpublic boolean removeAllRoles()
public boolean removeRole(com.sap.ip.collaboration.room.api.template.IRoomRole role)
role - the role to be removed from the userpublic boolean isEmpty()
public boolean addRole(com.sap.ip.collaboration.room.api.template.IRoomRole role)
newRole - the new role for the userpublic boolean addRoles(com.sap.ip.collaboration.room.api.template.IRoomRole[] roles)
newRoles - Array containing all roles to be assigned to the user
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||