Package org.dspace.content.dao
Interface EntityTypeDAO
-
- All Superinterfaces:
GenericDAO<EntityType>
- All Known Implementing Classes:
EntityTypeDAOImpl
public interface EntityTypeDAO extends GenericDAO<EntityType>
Database Access Object Interface class for the EntityType object The implementation of this class is responsible for all database calls for the EntityType 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityTypefindByEntityType(Context context, String entityType)This method returns the EntityType object that has the given entityType String as label-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByEntityType
EntityType findByEntityType(Context context, String entityType) throws SQLException
This method returns the EntityType object that has the given entityType String as label- Parameters:
context- The relevant DSpace contextentityType- The entityType String that will be matched on to find the correct EntityType- Returns:
- The EntityType object that has the entityType String as label
- Throws:
SQLException- If something goes wrong
-
-