|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.2.0) E17486-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.share.security.identitymanagement.Role
public class Role
Internal: Applications should not use this class.
Constructor Summary | |
---|---|
Role() Internal: Applications should not use this method. Constructor for Role class. |
|
Role(java.lang.String name) Internal: Applications should not use this method. Constructor for Role class |
Method Summary | |
---|---|
void |
addMember(java.security.Principal member) Internal: Applications should not use this method. Adds principal to this role. |
boolean |
equals(java.lang.Object obj) Internal: Applications should not use this method. Returns true if the specified object has the same name as this class. |
java.util.List<ADFIdentity> |
getADFIdentityMembers() Internal: Applications should not use this method. |
java.security.Principal[] |
getMembers() Internal: Applications should not use this method. Returns a list of member principals. |
java.lang.String |
getName() Internal: Applications should not use this method. Returns the role name. |
ADFIdentityType |
getType() Internal: Applications should not use this method. |
boolean |
hasMember(java.security.Principal member) Internal: Applications should not use this method. Return true if the specified principal is memmber of this role. |
void |
removeMember(java.security.Principal member) Internal: Applications should not use this method. Removes principal from this role. |
void |
setName(java.lang.String name) Internal: Applications should not use this method. Sets the role name. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Role()
public Role(java.lang.String name)
name
- the role name.Method Detail |
---|
public java.lang.String getName()
getName
in interface ADFIdentity
public void setName(java.lang.String name)
name
- the role name.public void addMember(java.security.Principal member)
member
- the principal to be added.public void removeMember(java.security.Principal member)
member
- the principal to be removed.public java.security.Principal[] getMembers()
public java.util.List<ADFIdentity> getADFIdentityMembers()
getADFIdentityMembers
in interface ADFRole
public boolean hasMember(java.security.Principal member)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the role object to be compared.public ADFIdentityType getType()
getType
in interface ADFIdentity
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.2.0) E17486-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |