@io.micronaut.data.jdbc.annotation.JdbcRepository(dialect: Dialect.POSTGRES) interface OrderRepository extends org.simplemes.eframe.domain.BaseRepository, CrudRepository<Order, java.util.UUID>
The Order repository base interface. Provides the methods for the repo, but sub-classes need to implement the dialect needed. The sub-classes will be the concrete beans generated for the runtime.
Constructor and description |
---|
OrderRepository
() |
Type Params | Return Type | Name and description |
---|---|---|
|
long |
count() |
|
java.util.List<Order> |
findAllByDateCompletedLessThan(java.util.Date date, io.micronaut.data.model.Pageable pageable) |
|
java.util.Optional<Order> |
findByOrder(java.lang.String order) |
|
java.util.Optional<Order> |
findByUuid(java.util.UUID uuid) |
|
java.util.List<Order> |
list(io.micronaut.data.model.Pageable pageable) |
|
java.util.List<Order> |
list() |