|
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.TdMessagePermissions
Represents the operations that a user can perform on a particular message.
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 TdMessagePermissions.
//Extract the message permissions from the message
TdMessagePermissions tdmp = _tdm.getPermissions();
return new Boolean(tdmp.canDelete() || tdmp.canUndelete() || tdmp.canEdit() ||
tdmp.canClip() || tdmp.canErase());
TdPermissions.java| Method Summary | |
boolean |
canClip()Returns a boolean value indicating if the current user can clip the message. |
boolean |
canDelete()Returns a boolean value indicating if the current user can delete the message. |
boolean |
canEdit()Returns a boolean value indicating if the current user can edit the message. |
boolean |
canErase()Returns a boolean value indicating if the current user can erase the message. |
boolean |
canReply()Returns a boolean value indicating if the current user can reply to the message. |
boolean |
canUndelete()Returns a boolean value indicating if the current user can undelete the message. |
| 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 canEdit()
public boolean canReply()
throws TdException,
javax.mail.MessagingException
TdExceptionjavax.mail.MessagingExceptionpublic boolean canDelete()
public boolean canClip()
public boolean canUndelete()
public boolean canErase()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||