A B C D E F G H I M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSlice<T> - Class in com.bellotapps.webapps_commons.persistence.repository_utils
- AbstractSlice(int, int, SortingData, List<T>) - Constructor for class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
-
Constructor.
- and() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort.Builder
-
Builds a
SortingData.PropertySortwhich is then added to theSortingData.Builderfrom which this builder was built from. - ASC - com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
The ascending direction.
B
- build() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.Builder
-
Builds a
SortingDatausing the addedSortingData.PropertySorts. - build() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort.Builder
-
Builds a
SortingData.PropertySortusing set values. - builder() - Static method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
-
Creates a
SortingData.Builderwhich can be used to create a newSortingDatainstance. - builder() - Static method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
- by(String) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort.Builder
-
Configures the property to which sorting will be applied.
C
- com.bellotapps.webapps_commons.persistence.repository_utils - package com.bellotapps.webapps_commons.persistence.repository_utils
- content() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- content() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
D
- defaultDirection() - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
- DESC - com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
The descending direction.
E
- empty() - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
-
Creates an empty
Page. - empty() - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Creates an empty
Slice. - empty(int, int, SortingData, boolean) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Creates an empty
Slice, using the given paging and sorting information. - empty(int, int, SortingData, long) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
-
Creates an empty
Page, using the given paging and sorting information. - emptyUnsorted(int, int, boolean) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Creates an empty unsorted
Slice, using the given paging information. - emptyUnsorted(int, int, long) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
-
Creates an empty unsorted
Page, using the given paging information. - equals(Object) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
- equals(Object) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
F
- firstRequest() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- firstRequest() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
- fromString(String) - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
Returns the
SortingData.SortDirectionthat corresponds to the givenvalue. - fromStringOptional(String) - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
Returns the
SortingData.SortDirectionthat corresponds to the givenvalue.
G
- getDirection() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
- getNullHandling() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
- getProperty() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
- getSortBy() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
H
- hasContent() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- hasContent() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Indicates whether there are elements in this slice.
- hashCode() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
- hashCode() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
- hasNext() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.PageImpl
- hasNext() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Indicates whether this is the last slice.
- hasNext() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SliceImpl
- hasPrevious() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- hasPrevious() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Indicates whether there is a previous slice.
I
- isAscending() - Method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
Returns whether the direction is ascending.
- isDescending() - Method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
Returns whether the direction is descending.
- isFirst() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- isFirst() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Indicates whether this is the first slice.
- isIgnoreCase() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
- isLast() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- isLast() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Indicates whether this is the last slice.
- isSorted() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
-
Indicates whether there is sorting information.
- isUnsorted() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
-
Indicates whether there is no sorting information.
M
- map(Function<T, U>) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
-
Maps the content of this page according to the given
mapper. - map(Function<T, U>) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.PageImpl
- map(Function<T, U>) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Maps the content of this slice according to the given
mapper. - map(Function<T, U>) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SliceImpl
N
- NATIVE - com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.NullHandling
-
The underlying persistence infrastructure is in charge of handling nulls.
- nextRequest() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- nextRequest() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
- NULLS_FIRST - com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.NullHandling
-
Entries with null values before non null entries.
- NULLS_LAST - com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.NullHandling
-
Entries with null values after non null entries.
- number() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- number() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
- numberOfElements() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- numberOfElements() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
O
- of(int, int, SortingData) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.PagingRequest
-
Creates a new
PagingRequest. - of(int, int, SortingData, List<S>, boolean) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Creates a
Slice. - of(int, int, SortingData, List<S>, long) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
-
Creates a
Page. - offset() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- offset() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.PagingRequest
- offset() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
- ofUnsorted(int, int, List<S>, boolean) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
-
Creates an unsorted
Slice. - ofUnsorted(int, int, List<S>, long) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
-
Creates an unsorted
Page.
P
- Page<T> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils
-
An extension of a
Slicein which is known the overall amount of data. - PageImpl<T> - Class in com.bellotapps.webapps_commons.persistence.repository_utils
-
Concrete implementation of
Page. - PageImpl(int, int, SortingData, List<T>, long) - Constructor for class com.bellotapps.webapps_commons.persistence.repository_utils.PageImpl
-
Constructor.
- pageNumber() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.PagingRequest
- pageSize() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.PagingRequest
- PagingRequest - Interface in com.bellotapps.webapps_commons.persistence.repository_utils
- previousRequest() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- previousRequest() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
R
- requestedBy() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- requestedBy() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
S
- size() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- size() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
- Slice<T> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils
-
A slice of data.
- SliceImpl<T> - Class in com.bellotapps.webapps_commons.persistence.repository_utils
-
A concrete implementation of a
Slice. - SliceImpl(int, int, SortingData, List<T>, boolean) - Constructor for class com.bellotapps.webapps_commons.persistence.repository_utils.SliceImpl
-
Constructor.
- sort() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.Builder
-
Creates a new
SortingData.PropertySort.Builderin order to configure aSortingData.PropertySortthat will be added into this builder. - sortBy() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.PagingRequest
- sortBy(SortingData.PropertySort) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.Builder
-
Adds a
SortingData.PropertySortinto this builder. - sortingData() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.AbstractSlice
- sortingData() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Slice
- SortingData - Class in com.bellotapps.webapps_commons.persistence.repository_utils
-
Represents an object that encapsulates information about sorting when performing queries to repositories.
- SortingData.Builder - Class in com.bellotapps.webapps_commons.persistence.repository_utils
-
Builder class for a
SortingData. - SortingData.NullHandling - Enum in com.bellotapps.webapps_commons.persistence.repository_utils
-
Enum containing the different types of null handling strategies (i.e nulls first or nulls last).
- SortingData.PropertySort - Class in com.bellotapps.webapps_commons.persistence.repository_utils
-
Object that encapsulates information about how to sort a given property.
- SortingData.PropertySort.Builder - Class in com.bellotapps.webapps_commons.persistence.repository_utils
-
Builder class for a
SortingData.PropertySort. - SortingData.SortDirection - Enum in com.bellotapps.webapps_commons.persistence.repository_utils
-
Enum containing the sort directions (i.e ascending and descending).
T
- toString() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort
- toString() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
- totalElements() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
- totalElements() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.PageImpl
- totalPages() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.Page
- totalPages() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.PageImpl
U
- unsorted() - Static method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData
- unsorted(int, int) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.PagingRequest
-
Creates a new
PagingRequestthat contains no sorting data.
V
- valueOf(String) - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.NullHandling
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.NullHandling
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.SortDirection
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withDirection(SortingData.SortDirection) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort.Builder
-
Configures the sorting direction.
- withIgnoreCaseFlag(boolean) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort.Builder
-
Configures the ignore case flag.
- withNullHandling(SortingData.NullHandling) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.SortingData.PropertySort.Builder
-
Configures the null handling strategy.
All Classes All Packages