Interface HistoricEventDao

All Superinterfaces:
org.springframework.data.repository.CrudRepository<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent,Long>, org.springframework.data.jpa.repository.JpaRepository<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent,Long>, org.springframework.data.repository.PagingAndSortingRepository<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent>, org.springframework.data.repository.Repository<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent,Long>

public interface HistoricEventDao extends org.springframework.data.jpa.repository.JpaRepository<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByActionId(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
     
    List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent>
    findByActionId(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
     
    List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent>
    findByActionIdOrderByOccurredAtMs(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
     
    List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent>
    findByOccurredAtMsAfterAndActionId(long start, de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
     
    List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent>
    findByOccurredAtMsBeforeAndActionId(long end, de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
     
    List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent>
    findByOccurredAtMsBetweenAndActionId(long start, long end, de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
     
    List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent>
    findOccurredAtMsByActionId(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
     

    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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    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

    • findByActionId

      List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent> findByActionId(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
    • findByOccurredAtMsBetweenAndActionId

      List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent> findByOccurredAtMsBetweenAndActionId(long start, long end, de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
    • findByOccurredAtMsBeforeAndActionId

      List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent> findByOccurredAtMsBeforeAndActionId(long end, de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
    • findByOccurredAtMsAfterAndActionId

      List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent> findByOccurredAtMsAfterAndActionId(long start, de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
    • findOccurredAtMsByActionId

      List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent> findOccurredAtMsByActionId(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
    • findByActionIdOrderByOccurredAtMs

      List<de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent> findByActionIdOrderByOccurredAtMs(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
    • deleteByActionId

      @Transactional void deleteByActionId(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)