ome.util.tasks.admin
Class AddUserTask

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

public class AddUserTask
extends AdminTask

AdminTask which creates a Experimenter with the given login name, first name, and last name, and optionally with the given email, middle name, institution, and email. Understands the parameters:

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

Since:
3.0-Beta1
Version:
$Revision: 1681 $, $Date: 2007-06-27 10:13:28 +0100 (Wed, 27 Jun 2007) $
Author:
Josh Moore, josh.moore at gmx.de
See Also:
AdminTask

Nested Class Summary
static class AddUserTask.Keys
          Enumeration of the string values which will be used directly by AddUserTask.
 
Constructor Summary
AddUserTask(ServiceFactory sf, Properties p)
          Delegates to super
 
Method Summary
 void doTask()
          Performs the actual Experimenter 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

AddUserTask

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

Method Detail

doTask

public void doTask()
Performs the actual Experimenter creation.

Overrides:
doTask in class SimpleTask


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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