org.dspace.xmlworkflow.storedcomponents
Class InProgressUser

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

public class InProgressUser
extends Object

Claimed task representing the database representation of an action claimed by 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 InProgressUser create(Context context)
           
 void delete()
           
static InProgressUser find(Context context, int id)
           
static List<InProgressUser> findByEperson(Context context, int epersonID)
           
static List<InProgressUser> findByWorkflowItem(Context c, int wfiID)
           
static InProgressUser findByWorkflowItemAndEPerson(Context context, int wfiID, int epersonID)
           
 String getActionID()
           
static int getNumberOfFinishedUsers(Context c, int wfiID)
           
static int getNumberOfInProgressUsers(Context c, int wfiID)
           
 int getUserID()
           
 String getWorkflowID()
           
 int getWorkflowItemID()
           
 boolean isFinished()
           
 void setFinished(boolean finished)
           
 void setUserID(int userID)
           
 void setWorkflowID(String workflowID)
           
 void setWorkflowItemID(int workflowItemID)
           
 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 InProgressUser find(Context context,
                                  int id)
                           throws SQLException
Throws:
SQLException

findByWorkflowItemAndEPerson

public static InProgressUser findByWorkflowItemAndEPerson(Context context,
                                                          int wfiID,
                                                          int epersonID)
                                                   throws SQLException
Throws:
SQLException

findByEperson

public static List<InProgressUser> findByEperson(Context context,
                                                 int epersonID)
                                          throws SQLException
Throws:
SQLException

findByWorkflowItem

public static List<InProgressUser> findByWorkflowItem(Context c,
                                                      int wfiID)
                                               throws SQLException
Throws:
SQLException

getNumberOfInProgressUsers

public static int getNumberOfInProgressUsers(Context c,
                                             int wfiID)
                                      throws SQLException
Throws:
SQLException

getNumberOfFinishedUsers

public static int getNumberOfFinishedUsers(Context c,
                                           int wfiID)
                                    throws SQLException
Throws:
SQLException

create

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

delete

public void delete()
            throws SQLException
Throws:
SQLException

update

public void update()
            throws SQLException
Throws:
SQLException

setUserID

public void setUserID(int userID)

getUserID

public int getUserID()

setWorkflowItemID

public void setWorkflowItemID(int workflowItemID)

getWorkflowItemID

public int getWorkflowItemID()

getActionID

public String getActionID()

setWorkflowID

public void setWorkflowID(String workflowID)

getWorkflowID

public String getWorkflowID()

isFinished

public boolean isFinished()

setFinished

public void setFinished(boolean finished)


Copyright © 2012 DuraSpace. All Rights Reserved.