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 Details

    • findByItem

      List<SupervisionOrder> findByItem(Context context, Item item) throws SQLException
      find all Supervision Orders related to the item
      Parameters:
      context - The DSpace context
      item - 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 context
      item - the item
      group - the group
      Returns:
      the Supervision Order related to the item and group
      Throws:
      SQLException - If something goes wrong in the database