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