Package org.dspace.content.dao.impl
Class WorkspaceItemDAOImpl
java.lang.Object
org.dspace.core.AbstractHibernateDAO<WorkspaceItem>
org.dspace.content.dao.impl.WorkspaceItemDAOImpl
- All Implemented Interfaces:
WorkspaceItemDAO,GenericDAO<WorkspaceItem>
public class WorkspaceItemDAOImpl
extends AbstractHibernateDAO<WorkspaceItem>
implements WorkspaceItemDAO
Hibernate implementation of the Database Access Object interface class for the WorkspaceItem object.
This class is responsible for all database calls for the WorkspaceItem 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 TypeMethodDescriptionintintfindByCollection(Context context, Collection c) findByEPerson(Context context, EPerson ep) findByEPerson(Context context, EPerson ep, Integer limit, Integer offset) findByItem(Context context, Item i) getStageReachedCounts(Context context) 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
-
WorkspaceItemDAOImpl
protected WorkspaceItemDAOImpl()
-
-
Method Details
-
findByEPerson
- Specified by:
findByEPersonin interfaceWorkspaceItemDAO- Throws:
SQLException
-
findByEPerson
public List<WorkspaceItem> findByEPerson(Context context, EPerson ep, Integer limit, Integer offset) throws SQLException - Specified by:
findByEPersonin interfaceWorkspaceItemDAO- Throws:
SQLException
-
findByCollection
- Specified by:
findByCollectionin interfaceWorkspaceItemDAO- Throws:
SQLException
-
findByItem
- Specified by:
findByItemin interfaceWorkspaceItemDAO- Throws:
SQLException
-
findAll
- Specified by:
findAllin interfaceWorkspaceItemDAO- Throws:
SQLException
-
findAll
public List<WorkspaceItem> findAll(Context context, Integer limit, Integer offset) throws SQLException - Specified by:
findAllin interfaceWorkspaceItemDAO- Throws:
SQLException
-
countRows
- Specified by:
countRowsin interfaceWorkspaceItemDAO- Throws:
SQLException
-
countRows
- Specified by:
countRowsin interfaceWorkspaceItemDAO- Throws:
SQLException
-
getStageReachedCounts
- Specified by:
getStageReachedCountsin interfaceWorkspaceItemDAO- Throws:
SQLException
-