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.paging_and_sorting
- AbstractSlice(int, int, SortingData, List<T>) - Constructor for class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
-
Constructor.
- and() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.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.paging_and_sorting.SortingData.SortDirection
-
The ascending direction.
B
- BasicRepository<E,ID> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.repositories
-
Interface for a basic repository of a specific type.
- build() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.Builder
-
Builds a
SortingDatausing the addedSortingData.PropertySorts. - build() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort.Builder
-
Builds a
SortingData.PropertySortusing set values. - builder() - Static method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
-
Creates a
SortingData.Builderwhich can be used to create a newSortingDatainstance. - builder() - Static method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- by(String) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort.Builder
-
Configures the property to which sorting will be applied.
C
- com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting - package com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
- com.bellotapps.webapps_commons.persistence.repository_utils.repositories - package com.bellotapps.webapps_commons.persistence.repository_utils.repositories
- content() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- content() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
- count() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.ReaderRepository
-
Returns the amount of entities available in the repository.
D
- defaultDirection() - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.SortDirection
- delete(S) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.WriterRepository
-
Deletes the given
entity. - deleteAll() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.WriterRepository
-
Deletes all the entities in the repository.
- deleteById(ID) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.WriterRepository
-
Deletes the entity with the given
id. - DESC - com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.SortDirection
-
The descending direction.
E
- empty() - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Page
-
Creates an empty
Page. - empty() - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Creates an empty
Slice. - empty(int, int, SortingData, boolean) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.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.paging_and_sorting.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.paging_and_sorting.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.paging_and_sorting.Page
-
Creates an empty unsorted
Page, using the given paging information. - equals(Object) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
- equals(Object) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- existsById(ID) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.ReaderRepository
-
Returns whether an entity with the given id exists.
F
- findAll() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.ReaderRepository
-
Returns all the entities in the repository.
- findAll(PagingRequest) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.PagingRepository
-
Returns a
Pageof entities according to the givenpagingRequest. - findAll(SortingData) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.SortingRepository
-
Returns all entities using the given
sortingData. - findById(ID) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.ReaderRepository
-
Finds the entity with the given
id. - firstRequest() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- firstRequest() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
- fromString(String) - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.SortDirection
-
Returns the
SortingData.SortDirectionthat corresponds to the givenvalue. - fromStringOptional(String) - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.SortDirection
-
Returns the
SortingData.SortDirectionthat corresponds to the givenvalue.
G
- getDirection() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- getNullHandling() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- getProperty() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- getSortBy() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
H
- hasContent() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- hasContent() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Indicates whether there are elements in this slice.
- hashCode() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
- hashCode() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- hasNext() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PageImpl
- hasNext() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Indicates whether this is the last slice.
- hasNext() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SliceImpl
- hasPrevious() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- hasPrevious() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Indicates whether there is a previous slice.
I
- isAscending() - Method in enum com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.SortDirection
-
Returns whether the direction is ascending.
- isDescending() - Method in enum com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.SortDirection
-
Returns whether the direction is descending.
- isFirst() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- isFirst() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Indicates whether this is the first slice.
- isIgnoreCase() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- isLast() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- isLast() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Indicates whether this is the last slice.
- isSorted() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
-
Indicates whether there is sorting information.
- isUnsorted() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
-
Indicates whether there is no sorting information.
M
- map(Function<T, U>) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.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.paging_and_sorting.PageImpl
- map(Function<T, U>) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.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.paging_and_sorting.SliceImpl
N
- NATIVE - com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.NullHandling
-
The underlying persistence infrastructure is in charge of handling nulls.
- nextRequest() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- nextRequest() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
- NULLS_FIRST - com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.NullHandling
-
Entries with null values before non null entries.
- NULLS_LAST - com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.NullHandling
-
Entries with null values after non null entries.
- number() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- number() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
- numberOfElements() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- numberOfElements() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
O
- of(int, int, SortingData) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PagingRequest
-
Creates a new
PagingRequest. - of(int, int, SortingData, List<S>, boolean) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Creates a
Slice. - of(int, int, SortingData, List<S>, long) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Page
-
Creates a
Page. - offset() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- offset() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PagingRequest
- offset() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
- ofUnsorted(int, int, List<S>, boolean) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
-
Creates an unsorted
Slice. - ofUnsorted(int, int, List<S>, long) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Page
-
Creates an unsorted
Page.
P
- Page<T> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
An extension of a
Slicein which is known the overall amount of data. - PageImpl<T> - Class in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
Concrete implementation of
Page. - PageImpl(int, int, SortingData, List<T>, long) - Constructor for class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PageImpl
-
Constructor.
- pageNumber() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PagingRequest
- pageSize() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PagingRequest
- PagingRepository<E,ID> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.repositories
-
Interface for a repository with paged reading operations.
- PagingRequest - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
- previousRequest() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- previousRequest() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
R
- ReaderRepository<E,ID> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.repositories
-
Interface for a repository with basic reading operations.
- requestedBy() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- requestedBy() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
S
- save(S) - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.repositories.WriterRepository
-
Saves the given
entity. - size() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- size() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
- Slice<T> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
A slice of data.
- SliceImpl<T> - Class in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
A concrete implementation of a
Slice. - SliceImpl(int, int, SortingData, List<T>, boolean) - Constructor for class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SliceImpl
-
Constructor.
- sort() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.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.paging_and_sorting.PagingRequest
- sortBy(SortingData.PropertySort) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.Builder
-
Adds a
SortingData.PropertySortinto this builder. - sortingData() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.AbstractSlice
- sortingData() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Slice
- SortingData - Class in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
Represents an object that encapsulates information about sorting when performing queries to repositories.
- SortingData.Builder - Class in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
Builder class for a
SortingData. - SortingData.NullHandling - Enum in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
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.paging_and_sorting
-
Object that encapsulates information about how to sort a given property.
- SortingData.PropertySort.Builder - Class in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
Builder class for a
SortingData.PropertySort. - SortingData.SortDirection - Enum in com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting
-
Enum containing the sort directions (i.e ascending and descending).
- SortingRepository<E,ID> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.repositories
-
Interface for a repository with sorted reading operations.
T
- toString() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort
- toString() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
- totalElements() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Page
- totalElements() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PageImpl
- totalPages() - Method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.Page
- totalPages() - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PageImpl
U
- unsorted() - Static method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData
- unsorted(int, int) - Static method in interface com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.PagingRequest
-
Creates a new
PagingRequestthat contains no sorting data.
V
- valueOf(String) - Static method in enum com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.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.paging_and_sorting.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.paging_and_sorting.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.paging_and_sorting.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.paging_and_sorting.SortingData.PropertySort.Builder
-
Configures the sorting direction.
- withIgnoreCaseFlag(boolean) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort.Builder
-
Configures the ignore case flag.
- withNullHandling(SortingData.NullHandling) - Method in class com.bellotapps.webapps_commons.persistence.repository_utils.paging_and_sorting.SortingData.PropertySort.Builder
-
Configures the null handling strategy.
- WriterRepository<E,ID> - Interface in com.bellotapps.webapps_commons.persistence.repository_utils.repositories
-
Interface for a repository with writing operations.
All Classes All Packages