ome.util.tasks.admin
Class AddGroupTask

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

public class AddGroupTask
extends AdminTask

AdminTask which creates a ExperimenterGroup with the given name, and optionally with the given description and leader (Experimenter). Understands the parameters:

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

Since:
3.0-Beta1
Version:
$Revision: 1282 $, $Date: 2007-02-15 17:13:20 +0000 (Thu, 15 Feb 2007) $
Author:
Josh Moore, josh.moore at gmx.de
See Also:
AdminTask

Nested Class Summary
static class AddGroupTask.Keys
          Enumeration of the string values which will be used directly by AddGroupTask.
 
Constructor Summary
AddGroupTask(ServiceFactory sf, Properties p)
          Delegates to super
 
Method Summary
 void doTask()
          Performs the actual ExperimenterGroup creation.
 
Methods inherited from class ome.util.tasks.admin.AdminTask
handleException, 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

AddGroupTask

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

Method Detail

doTask

public void doTask()
Performs the actual ExperimenterGroup creation.

Overrides:
doTask in class SimpleTask


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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