public class HarvestedCollectionDAOImpl extends AbstractHibernateDAO<HarvestedCollection> implements HarvestedCollectionDAO
| Modifier | Constructor and Description |
|---|---|
protected |
HarvestedCollectionDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
count(Context context) |
HarvestedCollection |
findByCollection(Context context,
Collection collection) |
List<HarvestedCollection> |
findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context,
Date startTime,
int minimalType,
int[] statuses,
int expirationStatus,
Date expirationTime) |
List<HarvestedCollection> |
findByStatus(Context context,
int status) |
HarvestedCollection |
findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context,
int status,
int type,
int limit) |
HarvestedCollection |
findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context,
int status,
int type,
int limit) |
protected org.hibernate.Criteria |
getByStatusAndMinimalTypeCriteria(Context context,
int status,
int type,
int limit) |
count, count, countLong, create, createCriteria, createCriteria, createQuery, delete, findAll, findByID, findByID, findMany, findMany, findUnique, getHibernateSession, iterate, list, list, save, singleResult, singleResult, uniqueResult, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, delete, findAll, findByID, findByID, findMany, findUnique, savepublic HarvestedCollection findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context, int status, int type, int limit) throws SQLException
findByStatusAndMinimalTypeOrderByLastHarvestedDesc in interface HarvestedCollectionDAOSQLExceptionpublic HarvestedCollection findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context, int status, int type, int limit) throws SQLException
findByStatusAndMinimalTypeOrderByLastHarvestedAsc in interface HarvestedCollectionDAOSQLExceptionpublic List<HarvestedCollection> findByStatus(Context context, int status) throws SQLException
findByStatus in interface HarvestedCollectionDAOSQLExceptionpublic HarvestedCollection findByCollection(Context context, Collection collection) throws SQLException
findByCollection in interface HarvestedCollectionDAOSQLExceptionpublic List<HarvestedCollection> findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context, Date startTime, int minimalType, int[] statuses, int expirationStatus, Date expirationTime) throws SQLException
findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime in interface HarvestedCollectionDAOSQLExceptionpublic int count(Context context) throws SQLException
count in interface HarvestedCollectionDAOSQLExceptionprotected org.hibernate.Criteria getByStatusAndMinimalTypeCriteria(Context context, int status, int type, int limit) throws SQLException
SQLExceptionCopyright © 2016 DuraSpace. All rights reserved.