Class EntityTypeDAOImpl

    • 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