| Package | Description |
|---|---|
| com.ocs.dynamo.dao | |
| com.ocs.dynamo.service |
| Modifier and Type | Method and Description |
|---|---|
SortOrder |
SortOrders.getOrderFor(String property)
Returns the first sort order for the specified property
|
SortOrder[] |
SortOrders.toArray() |
SortOrder |
SortOrder.with(SortOrder.Direction order) |
| Modifier and Type | Method and Description |
|---|---|
SortOrders |
SortOrders.addSortOrder(SortOrder order)
Adds a sort order
|
List<T> |
BaseDao.find(Filter filter,
SortOrder... orders)
Returns all entities that match the provided filter
|
List<T> |
BaseDao.findAll(SortOrder... sortOrders)
Returns a list of all entities.
|
<S> List<S> |
BaseDao.findDistinct(Filter filter,
String distinctField,
Class<S> elementType,
SortOrder... orders)
Returns all entities that match the provided filter and apply a distinct on the given column
|
List<ID> |
BaseDao.findIds(Filter filter,
SortOrder... orders)
Returns the IDS of the entities that match the provided filter
|
| Constructor and Description |
|---|
PageableImpl(int pageNumber,
int pageSize,
SortOrder... sortOrders)
Constructor
|
SortOrders(SortOrder... orders)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<T> |
BaseService.find(Filter filter,
SortOrder... orders)
Returns all entities that match the provided filter, sorted according to the
provided sort orders
|
List<T> |
BaseService.findAll(SortOrder... sortOrders)
Returns a list of all entities, sorted according to the provided sort orders
|
<S> List<S> |
BaseService.findDistinct(Filter filter,
String distinctField,
Class<S> resultType,
SortOrder... orders)
Returns all distinct values that appear in a certain field for all entities
that match the provided filter
|
List<ID> |
BaseService.findIds(Filter filter,
SortOrder... orders)
Returns the IDs of the entities that match the provided filter
|
Copyright © 2019 Open Circle Solutions. All rights reserved.