Package org.dspace.content.dao
Interface MetadataSchemaDAO
-
- All Superinterfaces:
GenericDAO<MetadataSchema>
- All Known Implementing Classes:
MetadataSchemaDAOImpl
public interface MetadataSchemaDAO extends GenericDAO<MetadataSchema>
Database Access Object interface class for the MetadataSchema object. The implementation of this class is responsible for all database calls for the MetadataSchema 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 MetadataSchemafind(Context context, String shortName)MetadataSchemafindByNamespace(Context context, String namespace)booleanuniqueNamespace(Context context, int metadataSchemaId, String namespace)booleanuniqueShortName(Context context, int metadataSchemaId, String name)-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByNamespace
MetadataSchema findByNamespace(Context context, String namespace) throws SQLException
- Throws:
SQLException
-
uniqueNamespace
boolean uniqueNamespace(Context context, int metadataSchemaId, String namespace) throws SQLException
- Throws:
SQLException
-
uniqueShortName
boolean uniqueShortName(Context context, int metadataSchemaId, String name) throws SQLException
- Throws:
SQLException
-
find
MetadataSchema find(Context context, String shortName) throws SQLException
- Throws:
SQLException
-
-