|
Oracle Collaboration Suite Discussions Java API Reference 10g (10.1.1) Part No. B16232-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.discussions.sdk.TdPermissions
oracle.discussions.sdk.TdContainerPermissions
oracle.discussions.sdk.TdBoardPermissions
TdBoardPermissions represents the permissions that different roles can have on a specified board. In threaded discussions, the permissions are role dependant and not user dependant. Each role enjoys a set of permissions on any given discussions element. This class extends from the TdPermissions class which represents generic threaded discussions permissions.
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.
Sample code snippet illustrating the usage of TdBoardSettings.
TdRole tdr = TdRole.TD_BOARD_READER; TdPermissions _tdPerms = new TdBoardPermissions(this, getBoardSettings(), tdr,_tdsession);
TdPermissions.java
, TdFacilityPermissions.java
, TdContainerPermissions.java
Method Summary | |
boolean |
canErase() Returns a boolean status indicating if the current user can delete a thread from the current board |
boolean |
canInitiateMoveThread() Returns a boolean status indicating if the current user can move a thread from this board to another |
boolean |
canLock() Returns a boolean status indicating if the current thread can be locked by the current user. |
boolean |
canPostThread() Returns a boolean status indicating if the current user can post a thread in this board. |
boolean |
canUnlock() Returns a boolean status indicating if the current thread can be unlocked by the current user. |
Methods inherited from class oracle.discussions.sdk.TdContainerPermissions |
canDelete |
Methods inherited from class oracle.discussions.sdk.TdPermissions |
getRole |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean canLock()
public boolean canUnlock() throws TdException
TdException
- A generic threaded discussions exception which may be thrown by
public boolean canPostThread()
public boolean canInitiateMoveThread()
public boolean canErase()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |