Package de.dlr.proseo.model.dao
Schnittstelle ProcessorClassRepository
- Alle Superschnittstellen:
org.springframework.data.repository.CrudRepository<ProcessorClass,
,Long> org.springframework.data.jpa.repository.JpaRepository<ProcessorClass,
,Long> org.springframework.data.repository.PagingAndSortingRepository<ProcessorClass,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ProcessorClass>
,org.springframework.data.repository.Repository<ProcessorClass,
Long>
@Repository
public interface ProcessorClassRepository
extends org.springframework.data.jpa.repository.JpaRepository<ProcessorClass,Long>
Data Access Object for the ProcessorClass class
- Autor:
- Dr. Thomas Bassler
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindByMissionCodeAndProcessorName
(String missionCode, String processorName) Get the processor class in the given mission with the given nameVon 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
-
findByMissionCodeAndProcessorName
@Query("select pc from ProcessorClass pc where pc.mission.code = ?1 and pc.processorName = ?2") ProcessorClass findByMissionCodeAndProcessorName(String missionCode, String processorName) Get the processor class in the given mission with the given name- Parameter:
missionCode
- the mission codeprocessorName
- the processor name- Gibt zurück:
- the unique processor class identified by the processor name
-