Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-01

oracle.discussions.sdk
Class TdPermissions

java.lang.Object
  |
  +--oracle.discussions.sdk.TdPermissions
Direct Known Subclasses:
TdContainerPermissions, TdMessagePermissions

public abstract class TdPermissions
extends java.lang.Object

Represents the permissions that a user has on a oracle discussions element. User's permissions are manifested by the role he plays on the discussions element.

Since:
OCS 10.1.1

Field Summary
protected  TdRole _tdr
           
protected  oracle.discussions.sdk.impl.TdSession _tdsession
           

 

Constructor Summary
protected TdPermissions(TdRole tdr, oracle.discussions.sdk.impl.TdSession tdsession)
          Constructor to initialize the Permissions instance taking in role and tdsesion objects.

 

Method Summary
 TdRole getRole()
          Returns the role of the current user, null will be returned if the user has no role on the object this permission refers to.

 

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

 

Field Detail

_tdr

protected TdRole _tdr

_tdsession

protected oracle.discussions.sdk.impl.TdSession _tdsession

Constructor Detail

TdPermissions

protected TdPermissions(TdRole tdr,
                        oracle.discussions.sdk.impl.TdSession tdsession)
Constructor to initialize the Permissions instance taking in role and tdsesion objects.
Parameters:
tdr - TdRole the user has on the discussions element.
tdsession - oracle discussions session for this td instance.

Method Detail

getRole

public TdRole getRole()
Returns the role of the current user, null will be returned if the user has no role on the object this permission refers to.
Returns:
the role of the current user

Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-01

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