Package org.dspace.content.dao
Interface BitstreamFormatDAO
- All Superinterfaces:
GenericDAO<BitstreamFormat>
- All Known Implementing Classes:
BitstreamFormatDAOImpl
Database Access Object interface class for the BitstreamFormat object.
The implementation of this class is responsible for all database calls for the BitstreamFormat 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 TypeMethodDescriptionfindByFileExtension(Context context, String extension) findByMIMEType(Context context, String mimeType, boolean includeInternal) findByShortDescription(Context context, String desc) findNonInternal(Context context) intupdateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat)
-
Method Details
-
findByMIMEType
BitstreamFormat findByMIMEType(Context context, String mimeType, boolean includeInternal) throws SQLException - Throws:
SQLException
-
findByShortDescription
- Throws:
SQLException
-
updateRemovedBitstreamFormat
int updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) throws SQLException - Throws:
SQLException
-
findNonInternal
- Throws:
SQLException
-
findByFileExtension
- Throws:
SQLException
-