|
Oracle Collaboration Suite Discussions Web Services Java API Reference 10g (10.1.2.2) Part No. B28210-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.discussions.ws.beans.GranteeRole
Represents the role of a Oracle Discussions user, on a container.
Role.
Constructor Summary | |
GranteeRole() Default constructor |
Method Summary | |
java.lang.String |
getEmail() Returns the email address of the user, holding a role on a container. |
Role |
getRole() Returns the role of a user, on a container. |
boolean |
isInherited() Returns if the role for the user is inherited from the user's role on the parent container. |
void |
setEmail(java.lang.String email) Sets the email id of the user, holding a role on a container. |
void |
setRole(Role role) Sets the role of the user on a container. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GranteeRole()
Method Detail |
public void setRole(Role role)
role
- - Role of a userpublic Role getRole()
public void setEmail(java.lang.String email)
The email id should be of the form <string>@<email-domain>. The email domain should be same as the domain configured for Discussions internal user.
email
- - user's email.public java.lang.String getEmail()
public boolean isInherited()
Returns true, if the role for a user is inherited from the parent container.
Discussions role scheme is hierarchial. A user holding a role on a container is automatically granted a highest possible role on the child container. For example, if a user A holds a category administrator on a category C, he is granted a role of a forum moderator on a child forum F, of category C.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |