Package org.dspace.supervision.dao
Interface SupervisionOrderDao
-
- All Superinterfaces:
GenericDAO<SupervisionOrder>
- All Known Implementing Classes:
SupervisionOrderDaoImpl
public interface SupervisionOrderDao extends GenericDAO<SupervisionOrder>
Database Access Object interface class for the SupervisionOrder object. The implementation of this class is responsible for all database calls for the SupervisionOrder object and is autowired by spring- Author:
- Mohamed Eskander (mohamed.eskander at 4science dot it)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SupervisionOrder>findByItem(Context context, Item item)find all Supervision Orders related to the itemSupervisionOrderfindByItemAndGroup(Context context, Item item, Group group)find the Supervision Order related to the item and group-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByItem
List<SupervisionOrder> findByItem(Context context, Item item) throws SQLException
find all Supervision Orders related to the item- Parameters:
context- The DSpace contextitem- the item- Returns:
- the Supervision Orders related to the item
- Throws:
SQLException- If something goes wrong in the database
-
findByItemAndGroup
SupervisionOrder findByItemAndGroup(Context context, Item item, Group group) throws SQLException
find the Supervision Order related to the item and group- Parameters:
context- The DSpace contextitem- the itemgroup- the group- Returns:
- the Supervision Order related to the item and group
- Throws:
SQLException- If something goes wrong in the database
-
-