|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.apps.server.util.AccessRoles.Role
Represents Access Role object
Method Summary | |
void |
addAuthenticatedUsers()
Adds #AUTHENTICATED-USERS as a member |
void |
addGrantee(com.filenet.wcm.toolkit.util.security.GranteeRef newGrantee)
Adds a member |
int |
compareTo(java.lang.Object o)
This method is used to sort role lists |
void |
delete()
Delets the role |
int |
getAccessMask()
Retursn access mask integer for the securedObject; |
java.lang.String |
getDescription()
Returns role description |
com.filenet.wcm.toolkit.util.security.GranteeRef |
getGrantee(java.lang.String granteeId)
Returns GrateeRef object based by granteeId |
java.lang.String |
getId()
Returns Role id. |
java.util.List |
getMembers()
Returns List of GranteeRef objects |
java.lang.String |
getName()
Returns visible role name |
java.lang.String |
getType()
return role's type back. |
boolean |
isAdminRole()
Returns true if this role is an admin role. |
boolean |
isModified()
Returns true if this role has been modified and not saved |
boolean |
isSystemRole()
Returns true if the role is a system role |
boolean |
isTemporary()
|
boolean |
isToBeDeleted()
|
void |
refresh()
Refreshes role members |
void |
removeGrantee(java.lang.String granteeId)
Removes a member |
void |
setModified(boolean value)
Sets the modified flag |
void |
setNameAndDescription(java.lang.String name,
java.lang.String description)
Sets role name and description |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getAccessMask()
public java.lang.String getType()
public boolean isAdminRole()
public boolean isModified()
public boolean isTemporary()
public void setModified(boolean value)
value
- public void delete()
public void refresh() throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
public java.lang.String getDescription()
public boolean isSystemRole()
public boolean isToBeDeleted()
public void setNameAndDescription(java.lang.String name, java.lang.String description)
public java.lang.String getId()
public java.util.List getMembers() throws java.lang.Exception
java.lang.Exception
public void addGrantee(com.filenet.wcm.toolkit.util.security.GranteeRef newGrantee) throws java.lang.Exception
newGrantee
-
java.lang.Exception
public void addAuthenticatedUsers() throws java.lang.Exception
java.lang.Exception
public com.filenet.wcm.toolkit.util.security.GranteeRef getGrantee(java.lang.String granteeId)
granteeId
-
public void removeGrantee(java.lang.String granteeId)
granteeId
- public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- another Role object. If o is not a Role, this method returns 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |