Package de.dlr.proseo.model.dao
Schnittstelle ProcessorRepository
- Alle Superschnittstellen:
org.springframework.data.repository.CrudRepository<Processor,
,Long> org.springframework.data.jpa.repository.JpaRepository<Processor,
,Long> org.springframework.data.repository.PagingAndSortingRepository<Processor,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Processor>
,org.springframework.data.repository.Repository<Processor,
Long>
@Repository
public interface ProcessorRepository
extends org.springframework.data.jpa.repository.JpaRepository<Processor,Long>
Data Access Object for the Processor class
- Autor:
- Dr. Thomas Bassler
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindByMissionCodeAndProcessorNameAndProcessorVersion
(String mission, String processorName, String processorVersion) Get the processor with the given mission, class name and versionVon 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
-
findByMissionCodeAndProcessorNameAndProcessorVersion
@Query("select p from Processor p where p.processorClass.mission.code = ?1 and p.processorClass.processorName = ?2 and p.processorVersion = ?3") Processor findByMissionCodeAndProcessorNameAndProcessorVersion(String mission, String processorName, String processorVersion) Get the processor with the given mission, class name and version- Parameter:
mission
- the misson codeprocessorName
- the processor class nameprocessorVersion
- the processor version- Gibt zurück:
- the unique processor identified by the search criteria
-