oracle.workspaces.authorization
Class CwMemberRoleType
java.lang.Object
oracle.workspaces.authorization.CwMemberRoleType
- All Implemented Interfaces:
- java.io.Serializable
- public class CwMemberRoleType
- extends java.lang.Object
- implements java.io.Serializable
The pre-defined role defined in workspace, either ADMIN, WRITER, or READER.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getDisplayName()
Get the default display name of the member role type. |
static CwMemberRoleType |
getMemberRoleType(java.lang.String szRoleName)
Get a member role type given a type name |
java.lang.String |
getName()
Get the name of the member role type. |
java.lang.String |
toString()
The string representation, which is the name. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CW_MEMBER_ROLE_ADMIN
public static final CwMemberRoleType CW_MEMBER_ROLE_ADMIN
CW_MEMBER_ROLE_READER
public static final CwMemberRoleType CW_MEMBER_ROLE_READER
CW_MEMBER_ROLE_WRITER
public static final CwMemberRoleType CW_MEMBER_ROLE_WRITER
CW_MEMBERROLETYPE_DISPLAYNAME_ADMIN
public static final java.lang.String CW_MEMBERROLETYPE_DISPLAYNAME_ADMIN
-
- See Also:
- Constant Field Values
CW_MEMBERROLETYPE_DISPLAYNAME_READER
public static final java.lang.String CW_MEMBERROLETYPE_DISPLAYNAME_READER
-
- See Also:
- Constant Field Values
CW_MEMBERROLETYPE_DISPLAYNAME_WRITER
public static final java.lang.String CW_MEMBERROLETYPE_DISPLAYNAME_WRITER
-
- See Also:
- Constant Field Values
CW_MEMBERROLETYPE_NAME_ADMIN
public static final java.lang.String CW_MEMBERROLETYPE_NAME_ADMIN
-
- See Also:
- Constant Field Values
CW_MEMBERROLETYPE_NAME_READER
public static final java.lang.String CW_MEMBERROLETYPE_NAME_READER
-
- See Also:
- Constant Field Values
CW_MEMBERROLETYPE_NAME_WRITER
public static final java.lang.String CW_MEMBERROLETYPE_NAME_WRITER
-
- See Also:
- Constant Field Values
getDisplayName
public java.lang.String getDisplayName()
- Get the default display name of the member role type.
-
- Returns:
- the role displayname
getMemberRoleType
public static CwMemberRoleType getMemberRoleType(java.lang.String szRoleName)
throws CwException
- Get a member role type given a type name
-
- Returns:
- the role type name
- Throws:
CwValidationException
- if the role name is not valid
CwException
getName
public java.lang.String getName()
- Get the name of the member role type.
-
- Returns:
- the role name
toString
public java.lang.String toString()
- The string representation, which is the name.