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

B25496-01

oracle.discussions.sdk
Class TdContainerPermissions

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

public class TdContainerPermissions
extends TdPermissions

Represents the permissions that a oracle discussions user holds on a container.

Acontainer can be either board or a facility.
Various operations performed by the user on a container are dependent on the role he plays on that container.

Oracle discussions elements names have been changed in the webui compared to that of sdk portion. The existing names to the new names mapping is as shown.

Since:
OCS 10.1.1
See Also:
TdBoardPermissions, TdPermissions

Field Summary
protected  TdContainer _tdc
           

 

Fields inherited from class oracle.discussions.sdk.TdPermissions
_tdr, _tdsession

 

Method Summary
 boolean canDelete()
          Returns a boolean value indicating if a user can delete a container.

 

Methods inherited from class oracle.discussions.sdk.TdPermissions
getRole

 

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

 

Field Detail

_tdc

protected TdContainer _tdc

Method Detail

canDelete

public boolean canDelete()
Returns a boolean value indicating if a user can delete a container.

Returns true if a user can delete the container and false if the user doesnot have permissions to delete the same.

Returns:
boolean condition indicating if the user has permissions to delete the container.

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

B25496-01

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