org.dspace.xmlworkflow.storedcomponents
Class WorkflowItemRole
java.lang.Object
org.dspace.xmlworkflow.storedcomponents.WorkflowItemRole
public class WorkflowItemRole
- extends Object
Represents a workflow assignments database representation.
These assignments describe roles and the groups connected
to these roles for each collection
- 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 WorkflowItemRole find(Context context,
int id)
throws SQLException
- Throws:
SQLException
find
public static WorkflowItemRole[] find(Context context,
int workflowItemId,
String role)
throws SQLException
- Throws:
SQLException
findAllForItem
public static WorkflowItemRole[] findAllForItem(Context context,
int workflowItemId)
throws SQLException
- Throws:
SQLException
create
public static WorkflowItemRole create(Context context)
throws SQLException,
AuthorizeException
- Throws:
SQLException
AuthorizeException
delete
public void delete()
throws SQLException
- Throws:
SQLException
update
public void update()
throws SQLException
- Throws:
SQLException
setRoleId
public void setRoleId(String id)
getRoleId
public String getRoleId()
setWorkflowItemId
public void setWorkflowItemId(int id)
getWorkflowItemId
public int getWorkflowItemId()
setEPerson
public void setEPerson(EPerson eperson)
getEPerson
public EPerson getEPerson()
throws SQLException
- Throws:
SQLException
setGroup
public void setGroup(Group group)
getGroup
public Group getGroup()
throws SQLException
- Throws:
SQLException
Copyright © 2011 DuraSpace. All Rights Reserved.