Package org.dspace.content.dao
Interface BitstreamDAO
-
- All Superinterfaces:
DSpaceObjectDAO<Bitstream>,DSpaceObjectLegacySupportDAO<Bitstream>,GenericDAO<Bitstream>
- All Known Implementing Classes:
BitstreamDAOImpl
public interface BitstreamDAO extends DSpaceObjectLegacySupportDAO<Bitstream>
Database Access Object interface class for the Bitstream object. The implementation of this class is responsible for all database calls for the Bitstream 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 LongcountByStoreNumber(Context context, Integer storeNumber)intcountDeleted(Context context)intcountRows(Context context)intcountWithNoPolicy(Context context)Iterator<Bitstream>findAll(Context context, int limit, int offset)List<Bitstream>findBitstreamsWithNoRecentChecksum(Context context)Iterator<Bitstream>findByCollection(Context context, Collection collection)Iterator<Bitstream>findByCommunity(Context context, Community community)Iterator<Bitstream>findByItem(Context context, Item item)Iterator<Bitstream>findByStoreNumber(Context context, Integer storeNumber)List<Bitstream>findDeletedBitstreams(Context context)List<Bitstream>findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<Bitstream>getNotReferencedBitstreams(Context context)-
Methods inherited from interface org.dspace.content.dao.DSpaceObjectLegacySupportDAO
findByLegacyId
-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findAll
Iterator<Bitstream> findAll(Context context, int limit, int offset) throws SQLException
- Throws:
SQLException
-
findDeletedBitstreams
List<Bitstream> findDeletedBitstreams(Context context) throws SQLException
- Throws:
SQLException
-
findDuplicateInternalIdentifier
List<Bitstream> findDuplicateInternalIdentifier(Context context, Bitstream bitstream) throws SQLException
- Throws:
SQLException
-
findBitstreamsWithNoRecentChecksum
List<Bitstream> findBitstreamsWithNoRecentChecksum(Context context) throws SQLException
- Throws:
SQLException
-
findByCommunity
Iterator<Bitstream> findByCommunity(Context context, Community community) throws SQLException
- Throws:
SQLException
-
findByCollection
Iterator<Bitstream> findByCollection(Context context, Collection collection) throws SQLException
- Throws:
SQLException
-
findByItem
Iterator<Bitstream> findByItem(Context context, Item item) throws SQLException
- Throws:
SQLException
-
findByStoreNumber
Iterator<Bitstream> findByStoreNumber(Context context, Integer storeNumber) throws SQLException
- Throws:
SQLException
-
countByStoreNumber
Long countByStoreNumber(Context context, Integer storeNumber) throws SQLException
- Throws:
SQLException
-
countRows
int countRows(Context context) throws SQLException
- Throws:
SQLException
-
countDeleted
int countDeleted(Context context) throws SQLException
- Throws:
SQLException
-
countWithNoPolicy
int countWithNoPolicy(Context context) throws SQLException
- Throws:
SQLException
-
getNotReferencedBitstreams
List<Bitstream> getNotReferencedBitstreams(Context context) throws SQLException
- Throws:
SQLException
-
-