Package | Description |
---|---|
org.seedstack.business.assembler.dsl |
Provides a fluent DSL to do advanced domain-object/DTO mapping operations.
|
org.seedstack.business.pagination |
Provides classes, interfaces and annotations to paginate domain objects.
|
org.seedstack.business.pagination.dsl |
Provides a fluent DSL to paginate domain objects.
|
org.seedstack.crud.rest |
Modifier and Type | Method and Description |
---|---|
Slice<T> |
MergeAs.asSlice()
Merge as a slice of items.
|
<D> Slice<D> |
AssembleMultiple.toSliceOf(Class<D> dtoClass)
Assembles to a
Slice of DTO. |
Modifier and Type | Interface and Description |
---|---|
interface |
Page<T>
An indexed page of contiguous items taken from a bigger list.
|
Modifier and Type | Class and Description |
---|---|
class |
SimplePage<T>
Represents an indexed page of items taken from a bigger list.
|
class |
SimpleSlice<T>
Represents a slice of items taken from a bigger list.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LimitPicker<S extends Slice<T>,T>
An element of the
Paginator DSL allowing to specify a limit on the number of objects
returned, in the case of an offset-based pagination. |
interface |
SpecificationPicker<S extends Slice<T>,T>
An element of the
Paginator DSL allowing to specify the specification that will be used
to retrieve objects from the repository. |
Modifier and Type | Method and Description |
---|---|
<C extends Comparable<? super C>> |
KeyValuePicker.after(C value)
Specify the value used as lower-boundary of the previously specified attribute.
|
<C extends Comparable<? super C>> |
KeyValuePicker.before(C value)
Specify the value used as upper-boundary of the previously specified attribute.
|
LimitPicker<Slice<T>,T> |
SlicePaginationPicker.byOffset(long startingOffset)
Choose an offset-based pagination type.
|
Modifier and Type | Method and Description |
---|---|
default <S extends Slice<A>> |
ReadResource.applyLimit(PaginationParams params,
LimitPicker<S,A> limitPicker)
Apply a pagination limit if present in the given pagination parameters.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.