|
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.TdRole
Enumeration class for the access control role defined in Oracle oracle discussions.
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.
Field Summary | |
static int |
BOARD_CREATOR |
static int |
BOARD_MODERATOR |
static int |
BOARD_READER |
static int |
BOARD_WRITER |
static int |
FACILITY_ADMIN |
static int |
FACILITY_CREATOR |
static int |
FACILITY_READER |
static int |
FACILITY_WRITER |
static int |
GLOBAL_ADMIN |
static TdRole |
TD_BOARD_CREATOR Represents a forum creator role. |
static TdRole |
TD_BOARD_MODERATOR Represents a forum moderator role. |
static TdRole |
TD_BOARD_READER Represents a forum reader role. |
static TdRole |
TD_BOARD_WRITER Represents a forum writer role. |
static TdRole |
TD_FACILITY_ADMIN Represents a category admin role. |
static TdRole |
TD_FACILITY_CREATOR Represents a category creator role. |
static TdRole |
TD_FACILITY_READER Represents a category reader role. |
static TdRole |
TD_FACILITY_WRITER Represents a category writer role. |
static TdRole |
TD_GLOBAL_ADMIN Represents a global admin role. |
Method Summary | |
boolean |
equals(java.lang.Object obj) Returns true if and only if the supplied role is the same as the role of this one. |
boolean |
equalsRole(TdRole tdr) Returns true is the supplied role is equal or super-seeded by the role of this instance. |
static TdRole |
getTdRole(int iRoleId) Returns a TdRole object corresponding to the integer passed. |
boolean |
isBoardRole() Returns true if the role is applicable only to Boards and not to Facilities. |
boolean |
isFacilityRole() Returns true if the role is applicable only to Facilities and not to Boards. |
java.lang.Integer |
toInteger() Returns an Integer representation of the role. |
java.lang.String |
toString() Returns a String description of the role. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BOARD_READER
public static final int BOARD_WRITER
public static final int BOARD_MODERATOR
public static final int FACILITY_READER
public static final int FACILITY_WRITER
public static final int BOARD_CREATOR
public static final int FACILITY_CREATOR
public static final int FACILITY_ADMIN
public static final int GLOBAL_ADMIN
public static final TdRole TD_BOARD_READER
A forum reader can only read messages in that forum.
public static final TdRole TD_BOARD_WRITER
A forum writer can post messages into a forum and can also read messages in that forum.
public static final TdRole TD_BOARD_CREATOR
A forum can create,delete, change settings, read and write to a forum.
public static final TdRole TD_BOARD_MODERATOR
A forum moderator can change settings, read and write to a forum.
public static final TdRole TD_FACILITY_READER
A category creator can only browse through that category.
public static final TdRole TD_FACILITY_WRITER
A category writer can create boards, delete boards, change settings of that category.
public static final TdRole TD_FACILITY_CREATOR
A category creator can create categories, delete categories, create boards, delete boards, change settings of that category.
public static final TdRole TD_FACILITY_ADMIN
A category admin can do what a category creator can do and additionaly, he can delete that category also.
public static final TdRole TD_GLOBAL_ADMIN
A global administrator can do any operation on the system.
Method Detail |
public static TdRole getTdRole(int iRoleId)
iRoleId
- integer value passedpublic boolean equals(java.lang.Object obj)
obj
- the role being compared to another role.public boolean isFacilityRole()
public boolean isBoardRole()
public boolean equalsRole(TdRole tdr)
tdr
- Tdrole which is being compared to another role.public java.lang.Integer toInteger()
public java.lang.String toString()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |