org.hardtokenmgmt.admin.control
Class AdminPrivListUpdater
java.lang.Object
java.util.Observable
org.hardtokenmgmt.admin.control.AdminPrivListUpdater
- All Implemented Interfaces:
- java.lang.Runnable
public class AdminPrivListUpdater
- extends java.util.Observable
- implements java.lang.Runnable
Runnable in charge of fetching current administrators and notifying all
listeners of information
- Version:
- $Id$
- Author:
- Philip Vendil 18 feb 2009
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static AdminPrivListUpdater getInstance()
run
public void run()
- Specified by:
run in interface java.lang.Runnable
pause
public void pause()
play
public void play()
stop
public void stop()
updateAdminDataVO
public void updateAdminDataVO(AdminDataVO adminData)
- Updates the current overall status with
- Parameters:
adminData - the admin data to update
removeAdminDataVO
public void removeAdminDataVO(AdminDataVO adminData)
- remove the given admin data from the model.
- Parameters:
adminData - the admin data to remove
getCurrentAdminList
public java.util.List<AdminDataVO> getCurrentAdminList(java.lang.String orgId)
throws java.io.IOException,
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
- Returns:
- the current list of administrators for the given org
- Throws:
org.hardtokenmgmt.ws.gen.AuthorizationDeniedException_Exception
java.io.IOException