org.dspace.xmlworkflow.storedcomponents
Class InProgressUser
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 © 2011 DuraSpace. All Rights Reserved.