Package de.dlr.proseo.model.dao
Schnittstelle MonServiceStateOperationMonthRepository
- Alle Superschnittstellen:
org.springframework.data.repository.CrudRepository<MonServiceStateOperationMonth,
,Long> org.springframework.data.jpa.repository.JpaRepository<MonServiceStateOperationMonth,
,Long> org.springframework.data.repository.PagingAndSortingRepository<MonServiceStateOperationMonth,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<MonServiceStateOperationMonth>
,org.springframework.data.repository.Repository<MonServiceStateOperationMonth,
Long>
@Repository
public interface MonServiceStateOperationMonthRepository
extends org.springframework.data.jpa.repository.JpaRepository<MonServiceStateOperationMonth,Long>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindByDateTimeBetween
(Instant timeFrom, Instant timeTo, long monServiceId) Get a list of entriesGet a latest datetimeVon Schnittstelle geerbte Methoden org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
Von Schnittstelle geerbte Methoden org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
Von Schnittstelle geerbte Methoden org.springframework.data.repository.PagingAndSortingRepository
findAll
Von Schnittstelle geerbte Methoden org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Methodendetails
-
findLastDatetime
Get a latest datetime- Gibt zurück:
- the latest datetime
-
findByDateTimeBetween
@Query("select p from MonServiceStateOperationMonth p where p.datetime >= ?1 and p.datetime < ?2 and p.monServiceId = ?3") List<MonServiceStateOperationMonth> findByDateTimeBetween(Instant timeFrom, Instant timeTo, long monServiceId) Get a list of entries- Parameter:
timeFrom
- the earliest datetimetimeTo
- the latest datetimemonServiceId
- the service id- Gibt zurück:
- a list of services satisfying the search criteria
-