Oracle Collaboration Suite Discussions Java API Reference
10g (10.1.1)

Part No. B16232-01


oracle.discussions.sdk
Interface TdGlobalAdminManager


public interface TdGlobalAdminManager

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();
 
Since:
OCS 10.1.1
See Also:
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

listGranteeRoles

public java.util.List listGranteeRoles()
                                throws TdException
Returns a list of all root level permissions in the system
Returns:
java.util.list
Throws:
TdException

updateGranteeRoles

public void updateGranteeRoles(java.util.List lstRoles)
                        throws TdException
Updates the root level roles with the list of TdGranteeRoles passed in
Throws:
TdException - in case of any LDAP related error

grantGlobalAdmin

public void grantGlobalAdmin(TdUser grantee)
                      throws TdException
Adds the provided user as part of the global admin group. If the user has been part of it, no exception will be thrown
Parameters:
grantee - of the grant operation
Throws:
TdException - in case of any LDAP related error

revokeGlobalAdmin

public void revokeGlobalAdmin(TdUser grantee)
                       throws TdException
Removes the provided user from the global admin group. If the user is not part of it, no exception will be thrown
Parameters:
grantee - of the grant operation
Throws:
TdException - in case of any LDAP related error

grantFacilityCreator

public void grantFacilityCreator(TdUser grantee)
                          throws TdException
Grants the given user root level facility creator role
Parameters:
grantee - TdUser who is granted a root facility creator role
Throws:
TdException

revokeFacilityCreator

public void revokeFacilityCreator(TdUser grantee)
                           throws TdException
Revokes the given user root level facility creator role
Parameters:
grantee - TdUser who is revoked from a root facility creator role
Throws:
TdException

Copyright © 2005, Oracle. All rights reserved.