Interface ConfigurationRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Configuration,Long>, org.springframework.data.jpa.repository.JpaRepository<Configuration,Long>, org.springframework.data.repository.ListCrudRepository<Configuration,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<Configuration,Long>, org.springframework.data.repository.PagingAndSortingRepository<Configuration,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Configuration>, org.springframework.data.repository.Repository<Configuration,Long>

public interface ConfigurationRepository extends org.springframework.data.jpa.repository.JpaRepository<Configuration,Long>
Data Access Object for the Processor class
Author:
Dr. Thomas Bassler
  • Method Summary

    Modifier and Type
    Method
    Description
    findByMissionCodeAndProcessorNameAndConfigurationVersion(String mission, String processorName, String configurationVersion)
    Get the configuration with the given mission, class name and version

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • 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
      Parameters:
      mission - the mission code
      processorName - the processor class name
      configurationVersion - the configuration version
      Returns:
      the unique configuration identified by the search criteria