Schnittstelle FacilityRepository

Alle Superschnittstellen:
org.springframework.data.repository.CrudRepository<ProcessingFacility,Long>, org.springframework.data.jpa.repository.JpaRepository<ProcessingFacility,Long>, org.springframework.data.repository.PagingAndSortingRepository<ProcessingFacility,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<ProcessingFacility>, org.springframework.data.repository.Repository<ProcessingFacility,Long>

@Repository public interface FacilityRepository extends org.springframework.data.jpa.repository.JpaRepository<ProcessingFacility,Long>
Data Access Object for the ProcessingFacility class
Autor:
Dr. Thomas Bassler
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    findByName(String facilityName)
    Get the processing facility with the given name

    Von Schnittstelle geerbte Methoden org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save

    Von Schnittstelle geerbte Methoden org.springframework.data.jpa.repository.JpaRepository

    deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush

    Von Schnittstelle geerbte Methoden org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Von Schnittstelle geerbte Methoden org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findOne
  • Methodendetails

    • findByName

      @Query("select pf from ProcessingFacility pf where UPPER(pf.name) = UPPER(?1)") ProcessingFacility findByName(String facilityName)
      Get the processing facility with the given name
      Parameter:
      facilityName - the name of the processing facility
      Gibt zurück:
      the unique processing facility identified by the name