Package org.dspace.content.dao
Interface MetadataValueDAO
- All Superinterfaces:
GenericDAO<MetadataValue>
- All Known Implementing Classes:
MetadataValueDAOImpl
Database Access Object interface class for the MetadataValue object.
The implementation of this class is responsible for all database calls for the MetadataValue 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 TypeMethodDescriptionintvoiddeleteByMetadataField(Context context, MetadataField metadataField) findByField(Context context, MetadataField fieldId) findByValueLike(Context context, String value) findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value) getMinimum(Context context, int metadataFieldId)
-
Method Details
-
findByField
- Throws:
SQLException
-
findItemValuesByFieldAndValue
Iterator<MetadataValue> findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value) throws SQLException - Throws:
SQLException
-
findByValueLike
- Throws:
SQLException
-
deleteByMetadataField
- Throws:
SQLException
-
getMinimum
- Throws:
SQLException
-
countRows
- Throws:
SQLException
-