Package de.dlr.proseo.model.dao
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>
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 TypMethodeBeschreibungfindByName(String facilityName) Get the processing facility with the given nameVon Schnittstelle geerbte Methoden org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveVon Schnittstelle geerbte Methoden org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushVon Schnittstelle geerbte Methoden org.springframework.data.repository.PagingAndSortingRepository
findAllVon Schnittstelle geerbte Methoden org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, 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
-