Interface ConfiguredProcessorRepository

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

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

    Modifier and Type
    Method
    Description
    findByMissionCodeAndIdentifier(String missionCode, String identifier)
    Get the configured processor associated with the given mission code and identifier
    Get the configured processor associated with the given UUID

    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

    • findByMissionCodeAndIdentifier

      @Query("select cp from ConfiguredProcessor cp where cp.processor.processorClass.mission.code = ?1 and cp.identifier = ?2") ConfiguredProcessor findByMissionCodeAndIdentifier(String missionCode, String identifier)
      Get the configured processor associated with the given mission code and identifier
      Parameters:
      missionCode - the mission code of the configured processor
      identifier - the identifier of the configured processor
      Returns:
      the unique configured processor identified by the given identifier
    • findByUuid

      ConfiguredProcessor findByUuid(UUID uuid)
      Get the configured processor associated with the given UUID
      Parameters:
      uuid - the UUID of the configured processor
      Returns:
      the unique configured processor identified by the given UUID