Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.authorization
Class CwMemberRoleType

java.lang.Object
  extended byoracle.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

Field Summary
static CwMemberRoleType CW_MEMBER_ROLE_ADMIN
static CwMemberRoleType CW_MEMBER_ROLE_READER
static CwMemberRoleType CW_MEMBER_ROLE_WRITER
static java.lang.String CW_MEMBERROLETYPE_DISPLAYNAME_ADMIN
static java.lang.String CW_MEMBERROLETYPE_DISPLAYNAME_READER
static java.lang.String CW_MEMBERROLETYPE_DISPLAYNAME_WRITER
static java.lang.String CW_MEMBERROLETYPE_NAME_ADMIN
static java.lang.String CW_MEMBERROLETYPE_NAME_READER
static java.lang.String CW_MEMBERROLETYPE_NAME_WRITER

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

Field Detail

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

Method Detail

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.

Copyright © 2001, 2005, Oracle. All rights reserved.