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

B25479-01


oracle.workspaces.authorization
Class CwMemberRole

java.lang.Object
  extended byCwAbstractGrantable
      extended byoracle.workspaces.authorization.CwRole
          extended byoracle.workspaces.authorization.CwMemberRole


public class CwMemberRole
extends CwRole

The pre-defined memeber role defined in workspace, either ADMIN, WRITER, or READER.

See Also:
Serialized Form

Method Summary
CwMemberRoleType getMemberRoleType()
CwMemberRoleProperties getProperties()
Return the properties of this member role.
boolean implies(CwPermission permission)
Check if this grantable implies the specified permission
void storeProperties()
Set the properties.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getMemberRoleType

public CwMemberRoleType getMemberRoleType()

getProperties

public CwMemberRoleProperties getProperties()
                                     throws CwException
Return the properties of this member role.
Returns:
the properties of this member role
Throws:
CwException - if the retrival failed

implies

public boolean implies(CwPermission permission)
                throws CwException
Check if this grantable implies the specified permission
Returns:
true if the permission is implied; false otherwise
Throws:
CwException

storeProperties

public void storeProperties()
                     throws CwException
Set the properties.
Throws:
CwException - if the caller does not have the permission
CwException - if the operation failed

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