Class EntityTypeDAOImpl

  • All Implemented Interfaces:
    EntityTypeDAO, GenericDAO<EntityType>

    public class EntityTypeDAOImpl
    extends AbstractHibernateDAO<EntityType>
    implements EntityTypeDAO
    Hibernate implementation of the Database Access Object interface class for the EntityType object. This class is responsible for all database calls for the EntityType object and is autowired by Spring. This class should never be accessed directly.
    Author:
    kevinvandevelde at atmire.com
    • Constructor Detail

      • EntityTypeDAOImpl

        public EntityTypeDAOImpl()
    • Method Detail

      • findByEntityType

        public EntityType findByEntityType​(Context context,
                                           String entityType)
                                    throws SQLException
        Description copied from interface: EntityTypeDAO
        This method returns the EntityType object that has the given entityType String as label
        Specified by:
        findByEntityType in interface EntityTypeDAO
        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