org.dspace.xmlworkflow.storedcomponents
Class PoolTask

java.lang.Object
  extended by org.dspace.xmlworkflow.storedcomponents.PoolTask

public class PoolTask
extends Object

Pool task representing the database representation of a pool task for a step and an eperson

Author:
Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)

Method Summary
static PoolTask create(Context context)
           
 void delete()
           
static PoolTask find(Context context, int id)
           
static List<PoolTask> find(Context context, XmlWorkflowItem workflowItem)
           
static List<PoolTask> findByEperson(Context context, int eperson_id)
           
static PoolTask findByWorkflowIdAndEPerson(Context context, int workflowID, int epersonID)
           
 String getActionID()
           
 int getEpersonID()
           
 int getGroupID()
           
 String getStepID()
           
 String getWorkflowID()
           
 int getWorkflowItemID()
           
 void setActionID(String actionID)
           
 void setEpersonID(int id)
           
 void setGroupID(int id)
           
 void setStepID(String stepID)
           
 void setWorkflowID(String id)
           
 void setWorkflowItemID(int id)
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

find

public static PoolTask find(Context context,
                            int id)
                     throws SQLException
Throws:
SQLException

findByEperson

public static List<PoolTask> findByEperson(Context context,
                                           int eperson_id)
                                    throws SQLException,
                                           AuthorizeException,
                                           IOException
Throws:
SQLException
AuthorizeException
IOException

find

public static List<PoolTask> find(Context context,
                                  XmlWorkflowItem workflowItem)
                           throws SQLException
Throws:
SQLException

findByWorkflowIdAndEPerson

public static PoolTask findByWorkflowIdAndEPerson(Context context,
                                                  int workflowID,
                                                  int epersonID)
                                           throws SQLException,
                                                  AuthorizeException,
                                                  IOException
Throws:
SQLException
AuthorizeException
IOException

create

public static PoolTask create(Context context)
                       throws SQLException
Throws:
SQLException

delete

public void delete()
            throws SQLException
Throws:
SQLException

update

public void update()
            throws SQLException
Throws:
SQLException

setEpersonID

public void setEpersonID(int id)

getEpersonID

public int getEpersonID()

setGroupID

public void setGroupID(int id)

getGroupID

public int getGroupID()

setWorkflowID

public void setWorkflowID(String id)

getWorkflowID

public String getWorkflowID()

setWorkflowItemID

public void setWorkflowItemID(int id)

getWorkflowItemID

public int getWorkflowItemID()

setStepID

public void setStepID(String stepID)

getStepID

public String getStepID()
                 throws SQLException
Throws:
SQLException

setActionID

public void setActionID(String actionID)

getActionID

public String getActionID()


Copyright © 2012 DuraSpace. All Rights Reserved.