|
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 |
Represents a class which performs root level operations. Various root level operations include
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 TdGlobalAdminManager
//tdstore is an instance of TdStore class. //Extract the globaladmin manager from the tdstore. TdGlobalAdminManager tdgam = tdStore.getGlobalAdminManager(); //Extract the grantee roles from the global admin manager. List granteeRoles = tdgam.listGranteeRoles();
TdFavoriteManager.java
Method Summary | |
void |
grantFacilityCreator(TdUser grantee) Grants the given user root level facility creator role |
void |
grantGlobalAdmin(TdUser grantee) Adds the provided user as part of the global admin group. |
java.util.List |
listGranteeRoles() Returns a list of all root level permissions in the system |
void |
revokeFacilityCreator(TdUser grantee) Revokes the given user root level facility creator role |
void |
revokeGlobalAdmin(TdUser grantee) Removes the provided user from the global admin group. |
void |
updateGranteeRoles(java.util.List lstRoles) Updates the root level roles with the list of TdGranteeRoles passed in |
Method Detail |
public java.util.List listGranteeRoles() throws TdException
TdException
public void updateGranteeRoles(java.util.List lstRoles) throws TdException
TdException
- in case of any LDAP related errorpublic void grantGlobalAdmin(TdUser grantee) throws TdException
grantee
- of the grant operationTdException
- in case of any LDAP related errorpublic void revokeGlobalAdmin(TdUser grantee) throws TdException
grantee
- of the grant operationTdException
- in case of any LDAP related errorpublic void grantFacilityCreator(TdUser grantee) throws TdException
grantee
- TdUser who is granted a root facility creator roleTdException
public void revokeFacilityCreator(TdUser grantee) throws TdException
grantee
- TdUser who is revoked from a root facility creator roleTdException
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |