Class WorkflowItemRoleDAOImpl
java.lang.Object
org.dspace.core.AbstractHibernateDAO<WorkflowItemRole>
org.dspace.xmlworkflow.storedcomponents.dao.impl.WorkflowItemRoleDAOImpl
- All Implemented Interfaces:
GenericDAO<WorkflowItemRole>,WorkflowItemRoleDAO
public class WorkflowItemRoleDAOImpl
extends AbstractHibernateDAO<WorkflowItemRole>
implements WorkflowItemRoleDAO
Hibernate implementation of the Database Access Object interface class for the WorkflowItemRole object.
This class is responsible for all database calls for the WorkflowItemRole object and is autowired by spring
This class should never be accessed directly.
- Author:
- kevinvandevelde at atmire.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByEPerson(Context context, EPerson ePerson) findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) findByWorkflowItemAndRole(Context context, XmlWorkflowItem workflowItem, String role) Methods inherited from class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Constructor Details
-
WorkflowItemRoleDAOImpl
protected WorkflowItemRoleDAOImpl()
-
-
Method Details
-
findByWorkflowItemAndRole
public List<WorkflowItemRole> findByWorkflowItemAndRole(Context context, XmlWorkflowItem workflowItem, String role) throws SQLException - Specified by:
findByWorkflowItemAndRolein interfaceWorkflowItemRoleDAO- Throws:
SQLException
-
findByWorkflowItem
public List<WorkflowItemRole> findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) throws SQLException - Specified by:
findByWorkflowItemin interfaceWorkflowItemRoleDAO- Throws:
SQLException
-
findByEPerson
- Specified by:
findByEPersonin interfaceWorkflowItemRoleDAO- Throws:
SQLException
-