SigPath

org.sigpath.task.review
Class TUpdatePendingList

java.lang.Object
  extended by org.sigpath.task.DBTask
      extended by org.sigpath.task.review.TUpdatePendingList
All Implemented Interfaces:
Task

public class TUpdatePendingList
extends DBTask

Updates a PendingList Object to reflect revised review status. Also handles updating of the SigPathEntity object with new Review object.

Author:
Ethan Cerami

Field Summary
static int ACTION_MARK_REVIEWED
          Action to mark an item as reviewed
 
Fields inherited from class org.sigpath.task.DBTask
dbManager, embeddedTask, entityManager, errors, ftsm, progressListener, sigpathFactory, unitManager, userManager, xdebug
 
Constructor Summary
TUpdatePendingList(String rSpid, String eSpid, String user, int action)
          Constructor
 
Method Summary
protected  void _execute()
          Executes Task
 
Methods inherited from class org.sigpath.task.DBTask
close, delete, execute, getDbManager, getErrors, isEmbeddedTask, isTaskThrewException, reindex, resolve, setDbManager, setEmbeddedTask, setEmbeddedTask, setObtainTransactionsFrom, setProgressListener, setTaskThrewException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_MARK_REVIEWED

public static final int ACTION_MARK_REVIEWED
Action to mark an item as reviewed

See Also:
Constant Field Values
Constructor Detail

TUpdatePendingList

public TUpdatePendingList(String rSpid,
                          String eSpid,
                          String user,
                          int action)
Constructor

Parameters:
rSpid - SPID for PendingListing Review object
eSpid - SPID for SigPathEntity being modified
user - User Name of user making modification
action - User action, e.g. ACTION_MARK_REVIEWED
Method Detail

_execute

protected void _execute()
                 throws SigPathDatabaseException
Executes Task

Specified by:
_execute in class DBTask
Throws:
SigPathDatabaseException - indicates Database error

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.