|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hardtokenmgmt.admin.control.AdministratorPriviledgesManagerWrapper
public class AdministratorPriviledgesManagerWrapper
Wrapper class that takes care of updating the model lists
| Method Summary | |
|---|---|
void |
editAdmin(AdminDataVO adminData)
Adds/edits the data of a given administrator. |
boolean |
existsAdministrator(AdminDataVO adminData)
Checks if an administrator already exists. |
java.util.List<AdminDataVO> |
getAdministrators(java.lang.String orgId)
Returns a list of administrators belonging to the given organization |
java.util.List<AdminGroupVO> |
getAvailableAdminGroups(java.lang.String orgId)
Returns the available administration groups for the given organization. |
void |
removeAdministrator(AdminDataVO adminData)
Removes the administrator privileges from a user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void editAdmin(AdminDataVO adminData)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception,
AdminDataException
IAdministratorPriviledgesManager
editAdmin in interface IAdministratorPriviledgesManageradminData - information about the administrator
and the administration groups he should belong to.
java.io.IOException - if communication problems occurred.
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception - if the administrator wasn't authorized
to perform the given operation.
AdminDataException - if the adminData parameter contained erroneous data.IAdministratorPriviledgesManager.editAdmin(org.hardtokenmgmt.admin.common.AdminDataVO)
public boolean existsAdministrator(AdminDataVO adminData)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
IAdministratorPriviledgesManager
existsAdministrator in interface IAdministratorPriviledgesManageradminData - information about the administrator.
java.io.IOException - if communication problems occurred.
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception - if the administrator wasn't authorized
to perform the given operation.IAdministratorPriviledgesManager.existsAdministrator(org.hardtokenmgmt.admin.common.AdminDataVO)
public java.util.List<AdminDataVO> getAdministrators(java.lang.String orgId)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
IAdministratorPriviledgesManager
getAdministrators in interface IAdministratorPriviledgesManagerorgId - the unique id of the organization
java.io.IOException - if communication problems occurred.
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception - if the administrator wasn't authorized
to perform the given operation.IAdministratorPriviledgesManager.getAdministrators(java.lang.String)
public java.util.List<AdminGroupVO> getAvailableAdminGroups(java.lang.String orgId)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
IAdministratorPriviledgesManager
getAvailableAdminGroups in interface IAdministratorPriviledgesManagerorgId - the unique id of the organization
java.io.IOException - if communication problems occurred.
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception - if the administrator wasn't authorized
to perform the given operation.IAdministratorPriviledgesManager.getAvailableAdminGroups(java.lang.String)
public void removeAdministrator(AdminDataVO adminData)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception,
AdminDataException
IAdministratorPriviledgesManager
removeAdministrator in interface IAdministratorPriviledgesManageradminData - information about the administrator.
java.io.IOException - if communication problems occurred.
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception - if the administrator wasn't authorized
to perform the given operation.
AdminDataException - if the adminData parameter contained erroneous data.IAdministratorPriviledgesManager.removeAdministrator(org.hardtokenmgmt.admin.common.AdminDataVO)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||