Package de.dlr.proseo.model.dao
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 TypeMethodDescriptionfindByMissionCodeAndIdentifier(String missionCode, String identifier) Get the processing order history with the given mission code and identifierMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods 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 orderidentifier- the identifier of the processing order- Returns:
- the unique processing order history identified by the given identifier
-