Package org.dspace.content.dao
Interface BitstreamFormatDAO
-
- All Superinterfaces:
GenericDAO<BitstreamFormat>
- All Known Implementing Classes:
BitstreamFormatDAOImpl
public interface BitstreamFormatDAO extends GenericDAO<BitstreamFormat>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<BitstreamFormat>findByFileExtension(Context context, String extension)BitstreamFormatfindByMIMEType(Context context, String mimeType, boolean includeInternal)BitstreamFormatfindByShortDescription(Context context, String desc)List<BitstreamFormat>findNonInternal(Context context)intupdateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat)-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByMIMEType
BitstreamFormat findByMIMEType(Context context, String mimeType, boolean includeInternal) throws SQLException
- Throws:
SQLException
-
findByShortDescription
BitstreamFormat findByShortDescription(Context context, String desc) throws SQLException
- Throws:
SQLException
-
updateRemovedBitstreamFormat
int updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) throws SQLException
- Throws:
SQLException
-
findNonInternal
List<BitstreamFormat> findNonInternal(Context context) throws SQLException
- Throws:
SQLException
-
findByFileExtension
List<BitstreamFormat> findByFileExtension(Context context, String extension) throws SQLException
- Throws:
SQLException
-
-