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 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 context
        entityType - 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