ome.util.tasks.admin
Class DeleteGroupTask

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.DeleteGroupTask
All Implemented Interfaces:
Runnable

public class DeleteGroupTask
extends AdminTask

AdminTask which deletes an ExperimenterGroup 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 DeleteGroupTask.Keys
          Enumeration of the string values which will be used directly by DeleteGroupTask.
 
Constructor Summary
DeleteGroupTask(ServiceFactory sf, Properties p)
          Delegates to super
 
Method Summary
 void doTask()
          Performs the actual ExperimenterGroup 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

DeleteGroupTask

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

Method Detail

doTask

public void doTask()
Performs the actual ExperimenterGroup 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.