Package de.dlr.proseo.model.dao
Interface ProcessorClassRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ProcessorClass,,Long> org.springframework.data.jpa.repository.JpaRepository<ProcessorClass,,Long> org.springframework.data.repository.ListCrudRepository<ProcessorClass,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ProcessorClass,,Long> org.springframework.data.repository.PagingAndSortingRepository<ProcessorClass,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ProcessorClass>,org.springframework.data.repository.Repository<ProcessorClass,Long>
public interface ProcessorClassRepository
extends org.springframework.data.jpa.repository.JpaRepository<ProcessorClass,Long>
Data Access Object for the ProcessorClass class
- Author:
- Dr. Thomas Bassler
-
Method Summary
Modifier and TypeMethodDescriptionfindByMissionCodeAndProcessorName(String missionCode, String processorName) Get the processor class in the given mission with the given nameMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
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- Parameters:
missionCode- the mission codeprocessorName- the processor name- Returns:
- the unique processor class identified by the processor name
-