public abstract class BasicGroupResolver extends java.lang.Object implements GroupResolver
| Constructor and Description |
|---|
BasicGroupResolver() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.Optional<Element> |
element(Element parent,
java.lang.String address)
Return a specific element for the specified address.
|
Group |
elements(Element parent,
Filters filters)
Returns the group.
|
abstract java.util.List<Element> |
elements(Element parent,
int page,
int perPage,
Filters filters)
Returns the list of elements for the specified parent and filters.
|
abstract java.time.ZonedDateTime |
lastUpdate(Element parent,
Filters filters)
Returns the last update date for the list with the specified parent and filters.
|
abstract int |
total(Element parent,
Filters filters)
Returns the number of total elements for the specified parent and filters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultPageSize, maximumPageSizepublic abstract java.util.Optional<Element> element(Element parent, java.lang.String address)
parent - the parent elementaddress - the addresspublic abstract int total(Element parent, Filters filters)
parent - the parent elementfilters - the filterspublic abstract java.time.ZonedDateTime lastUpdate(Element parent, Filters filters)
parent - the parent elementfilters - the filterspublic abstract java.util.List<Element> elements(Element parent, int page, int perPage, Filters filters)
parent - the parent elementpage - the page or 0 if paging is not requiredperPage - the per page count or 0 if paging is not requiredfilters - the filterspublic final Group elements(Element parent, Filters filters)
GroupResolverelements in interface GroupResolverparent - the parent elementfilters - the list of filters