ome.util.tasks.admin
Class DeleteUserTask

java.lang.Object
  extended by ome.util.tasks.Task
      extended by ome.util.tasks.SimpleTask
          extended by ome.util.tasks.admin.AdminTask
              extended by ome.util.tasks.admin.DeleteUserTask
All Implemented Interfaces:
Runnable

public class DeleteUserTask
extends AdminTask

AdminTask which delets a Experimenter if possible. Understands the parameters:

Must be logged in as an administrator. See Configuration on how to do this.

Since:
3.0-Beta2
Author:
Josh Moore, josh.moore at gmx.de
See Also:
AdminTask

Nested Class Summary
static class DeleteUserTask.Keys
          Enumeration of the string values which will be used directly by DeleteUserTask.
 
Constructor Summary
DeleteUserTask(ServiceFactory sf, Properties p)
          Delegates to super
 
Method Summary
 void doTask()
          Performs the actual Experimenter deletion.
 void handleException(RuntimeException re)
          Rethrows the RuntimeException.
 
Methods inherited from class ome.util.tasks.admin.AdminTask
init
 
Methods inherited from class ome.util.tasks.SimpleTask
close
 
Methods inherited from class ome.util.tasks.Task
completedSuccessfully, enumValue, getLogger, getProperties, getServiceFactory, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteUserTask

public DeleteUserTask(ServiceFactory sf,
                      Properties p)
Delegates to super

Method Detail

doTask

public void doTask()
Performs the actual Experimenter deletion.

Overrides:
doTask in class SimpleTask

handleException

public void handleException(RuntimeException re)
Description copied from class: AdminTask
Rethrows the RuntimeException.

Overrides:
handleException in class AdminTask
Parameters:
re - Non-null.


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.