Interface ProcessingOrderHistoryRepository

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

@Transactional @Repository public interface ProcessingOrderHistoryRepository extends org.springframework.data.jpa.repository.JpaRepository<ProcessingOrderHistory,Long>
Data Access Object for the ProcessingOrderHistory class
Author:
Ernst Melchinger
  • Method Summary

    Modifier and Type
    Method
    Description
    findByMissionCodeAndIdentifier(String missionCode, String identifier)
    Get the processing order history with the given mission code and identifier

    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 po from ProcessingOrderHistory po where po.missionCode = ?1 and po.identifier = ?2") ProcessingOrderHistory findByMissionCodeAndIdentifier(String missionCode, String identifier)
      Get the processing order history with the given mission code and identifier
      Parameters:
      missionCode - the mission code of the processing order
      identifier - the identifier of the processing order
      Returns:
      the unique processing order history identified by the given identifier