Package org.dspace.eperson.dao
Interface SubscriptionDAO
-
- All Superinterfaces:
GenericDAO<Subscription>
- All Known Implementing Classes:
SubscriptionDAOImpl
public interface SubscriptionDAO extends GenericDAO<Subscription>
Database Access Object interface class for the Subscription object. The implementation of this class is responsible for all database calls for the Subscription 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 voiddeleteByCollection(Context context, Collection collection)voiddeleteByCollectionAndEPerson(Context context, Collection collection, EPerson eperson)voiddeleteByEPerson(Context context, EPerson eperson)List<Subscription>findAllOrderedByEPerson(Context context)SubscriptionfindByCollectionAndEPerson(Context context, EPerson eperson, Collection collection)List<Subscription>findByEPerson(Context context, EPerson eperson)-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
deleteByCollection
void deleteByCollection(Context context, Collection collection) throws SQLException
- Throws:
SQLException
-
findByEPerson
List<Subscription> findByEPerson(Context context, EPerson eperson) throws SQLException
- Throws:
SQLException
-
findByCollectionAndEPerson
Subscription findByCollectionAndEPerson(Context context, EPerson eperson, Collection collection) throws SQLException
- Throws:
SQLException
-
deleteByEPerson
void deleteByEPerson(Context context, EPerson eperson) throws SQLException
- Throws:
SQLException
-
deleteByCollectionAndEPerson
void deleteByCollectionAndEPerson(Context context, Collection collection, EPerson eperson) throws SQLException
- Throws:
SQLException
-
findAllOrderedByEPerson
List<Subscription> findAllOrderedByEPerson(Context context) throws SQLException
- Throws:
SQLException
-
-