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 Type
    Method
    Description
    findByMissionCodeAndProcessorName(String missionCode, String processorName)
    Get the processor class in the given mission with the given name

    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

    • 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 code
      processorName - the processor name
      Returns:
      the unique processor class identified by the processor name