|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAdministratorPriviledgesManager
Interface in charge of managing an organizations administrators, to add, remove and list for the different groups.
| 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. |
| Method Detail |
|---|
java.util.List<AdminGroupVO> getAvailableAdminGroups(java.lang.String orgId)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
orgId - 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.
java.util.List<AdminDataVO> getAdministrators(java.lang.String orgId)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
orgId - 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.
void editAdmin(AdminDataVO adminData)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception,
AdminDataException
adminData - 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.
void removeAdministrator(AdminDataVO adminData)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception,
AdminDataException
adminData - 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.
boolean existsAdministrator(AdminDataVO adminData)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
adminData - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||