Package org.dspace.content.dao
Interface WorkspaceItemDAO
-
- All Superinterfaces:
GenericDAO<WorkspaceItem>
- All Known Implementing Classes:
WorkspaceItemDAOImpl
public interface WorkspaceItemDAO extends GenericDAO<WorkspaceItem>
Database Access Object interface class for the WorkspaceItem object. The implementation of this class is responsible for all database calls for the WorkspaceItem object and is autowired by spring This class should only be accessed from a single service and should never be exposed outside of the API- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountRows(Context context)intcountRows(Context context, EPerson ep)List<WorkspaceItem>findAll(Context context)List<WorkspaceItem>findAll(Context context, Integer limit, Integer offset)List<WorkspaceItem>findByCollection(Context context, Collection c)List<WorkspaceItem>findByEPerson(Context context, EPerson ep)List<WorkspaceItem>findByEPerson(Context context, EPerson ep, Integer limit, Integer offset)WorkspaceItemfindByItem(Context context, Item i)List<Map.Entry<Integer,Long>>getStageReachedCounts(Context context)-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByEPerson
List<WorkspaceItem> findByEPerson(Context context, EPerson ep) throws SQLException
- Throws:
SQLException
-
findByEPerson
List<WorkspaceItem> findByEPerson(Context context, EPerson ep, Integer limit, Integer offset) throws SQLException
- Throws:
SQLException
-
findByCollection
List<WorkspaceItem> findByCollection(Context context, Collection c) throws SQLException
- Throws:
SQLException
-
findByItem
WorkspaceItem findByItem(Context context, Item i) throws SQLException
- Throws:
SQLException
-
findAll
List<WorkspaceItem> findAll(Context context) throws SQLException
- Throws:
SQLException
-
findAll
List<WorkspaceItem> findAll(Context context, Integer limit, Integer offset) throws SQLException
- Throws:
SQLException
-
countRows
int countRows(Context context) throws SQLException
- Throws:
SQLException
-
getStageReachedCounts
List<Map.Entry<Integer,Long>> getStageReachedCounts(Context context) throws SQLException
- Throws:
SQLException
-
countRows
int countRows(Context context, EPerson ep) throws SQLException
- Throws:
SQLException
-
-