Package org.dspace.content.dao
Interface BitstreamDAO
- All Superinterfaces:
DSpaceObjectDAO<Bitstream>,DSpaceObjectLegacySupportDAO<Bitstream>,GenericDAO<Bitstream>
- All Known Implementing Classes:
BitstreamDAOImpl
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
Modifier and TypeMethodDescriptioncountByStoreNumber(Context context, Integer storeNumber) intcountDeleted(Context context) intintcountWithNoPolicy(Context context) findByCollection(Context context, Collection collection) findByCommunity(Context context, Community community) findByItem(Context context, Item item) findByStoreNumber(Context context, Integer storeNumber) findDeletedBitstreams(Context context, int limit, int offset) findDuplicateInternalIdentifier(Context context, Bitstream bitstream) getNotReferencedBitstreams(Context context) Methods inherited from interface org.dspace.content.dao.DSpaceObjectLegacySupportDAO
findByLegacyId
-
Method Details
-
findAll
- Throws:
SQLException
-
findDeletedBitstreams
- Throws:
SQLException
-
findDuplicateInternalIdentifier
List<Bitstream> findDuplicateInternalIdentifier(Context context, Bitstream bitstream) throws SQLException - Throws:
SQLException
-
findBitstreamsWithNoRecentChecksum
- Throws:
SQLException
-
findByCommunity
- Throws:
SQLException
-
findByCollection
- Throws:
SQLException
-
findByItem
- Throws:
SQLException
-
findByStoreNumber
- Throws:
SQLException
-
countByStoreNumber
- Throws:
SQLException
-
countRows
- Throws:
SQLException
-
countDeleted
- Throws:
SQLException
-
countWithNoPolicy
- Throws:
SQLException
-
getNotReferencedBitstreams
- Throws:
SQLException
-