Index
All Classes|All Packages
A
- AbstractOperation - Class in com.github.ozayduman.specificationbuilder.dto.operation
-
It's the base class holding common properties and methods for all operation types.
- AbstractOperation() - Constructor for class com.github.ozayduman.specificationbuilder.dto.operation.AbstractOperation
- allowedOperators() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.AbstractOperation
- allowedOperators() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.MultiValueOperation
- allowedOperators() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.NoValueOperation
- allowedOperators() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.RangeValueOperation
- allowedOperators() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.SingleValueOperation
- apply(From<?, ?>, CriteriaBuilder, SingularAttribute, Comparable[]) - Method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
- ASC - com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.SortDTO.Direction
-
Represents Ascending direction
- attributes() - Method in interface com.github.ozayduman.specificationbuilder.Joinable
- attributes() - Method in class com.github.ozayduman.specificationbuilder.Joinable.NoJoin
- attributes() - Method in class com.github.ozayduman.specificationbuilder.Joinable.PluralAttributeJoin
B
- bind(String, SingularAttribute<T, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bind(SingularAttribute<T, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(String, PluralAttribute<A, ?, B>, PluralAttribute<B, ?, C>, PluralAttribute<C, ?, D>, PluralAttribute<D, ?, E>, SingularAttribute<E, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(String, PluralAttribute<A, ?, B>, PluralAttribute<B, ?, C>, PluralAttribute<C, ?, D>, SingularAttribute<D, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(String, PluralAttribute<A, ?, B>, PluralAttribute<B, ?, C>, SingularAttribute<C, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(String, PluralAttribute<A, ?, B>, SingularAttribute<B, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(PluralAttribute<A, ?, B>, PluralAttribute<B, ?, C>, PluralAttribute<C, ?, D>, PluralAttribute<D, ?, E>, SingularAttribute<E, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(PluralAttribute<A, ?, B>, PluralAttribute<B, ?, C>, PluralAttribute<C, ?, D>, SingularAttribute<D, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(PluralAttribute<A, ?, B>, PluralAttribute<B, ?, C>, SingularAttribute<C, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindJoin(PluralAttribute<A, ?, B>, SingularAttribute<B, Z>) - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
- bindSort(String, SingularAttribute<?, T>) - Method in class com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.PageRequestBuilder
-
This method can be used to bind client and server-side does not share a common naming for the property.
- bindSort(SingularAttribute<?, T>) - Method in class com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.PageRequestBuilder
-
This method can be used to bind client and server-side does not share a common naming for the property.
- bt() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents between function
- BT - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents between operator
- build() - Method in class com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.PageRequestBuilder
- build() - Method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
-
builds a
Specificationfrom thisSpecificationBuilder
C
- com.github.ozayduman.specificationbuilder - package com.github.ozayduman.specificationbuilder
-
This package contains
SpecificationMappings.SpecificationBuilderand related types to bind dto and entity properties to be used in dynamic query generation. - com.github.ozayduman.specificationbuilder.dto - package com.github.ozayduman.specificationbuilder.dto
-
This package contains core dto (data transfer object) types like
PageRequestDTO,PageResultDTOand alsocom.github.ozayduman.specificationbuilder.dto.operationsub package. - com.github.ozayduman.specificationbuilder.dto.operation - package com.github.ozayduman.specificationbuilder.dto.operation
-
This package contains operation dto (Data Transfer Object) types transferred from client to server.
- CriteriaDTO - Class in com.github.ozayduman.specificationbuilder.dto
-
Represents dto type that holding filtering operations put by the query (search) screens on the client-side and transferred to server-side.
- CriteriaDTO() - Constructor for class com.github.ozayduman.specificationbuilder.dto.CriteriaDTO
D
- DESC - com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.SortDTO.Direction
-
Represents Descending direction
E
- eq() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents equality function
- EQ - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents equal operator
F
- FALSE - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents is false operator
- from(Page<T>, Function<T, R>) - Static method in class com.github.ozayduman.specificationbuilder.dto.PageResultDTO
-
Creates
PageResultDTOby converting Entity objects to DTO objects
G
- ge() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents greater than or equal to function
- GE - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents greater than or equal to operator
- getOperands() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.AbstractOperation
- getOperands() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.MultiValueOperation
- getOperands() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.NoValueOperation
- getOperands() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.RangeValueOperation
- getOperands() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.SingleValueOperation
- getSpecificationOperator() - Method in enum com.github.ozayduman.specificationbuilder.dto.Operator
- gt() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents greater than function
- GT - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents greater than operator
I
- in() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents in function
- IN - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents in operator
- isFalse() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents is false function
- isNotNull() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents not null function
- isNull() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents null function
- isTrue() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents is true function
J
- join(PluralAttribute<?, ?, ?>[]) - Static method in interface com.github.ozayduman.specificationbuilder.Joinable
-
creates a joinable type
- Joinable - Interface in com.github.ozayduman.specificationbuilder
-
Represents the join behavior, each
#attributeschain represents a join - Joinable.NoJoin - Class in com.github.ozayduman.specificationbuilder
-
Represents a non joinable type.
- Joinable.PluralAttributeJoin - Class in com.github.ozayduman.specificationbuilder
-
Represents joinable type holding the join chain as
#joinPluralAttribute. - JoinGraph() - Constructor for class com.github.ozayduman.specificationbuilder.SpecificationMappings.JoinGraph
L
- le() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents less than or equal to function
- LE - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents less than or equal to operator
- lt() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents less than function
- LT - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents less than operator
M
- MultiValueOperation - Class in com.github.ozayduman.specificationbuilder.dto.operation
-
This operation type used to hold multiple values that the used operator needs.
- MultiValueOperation(String, Operator, Object[]) - Constructor for class com.github.ozayduman.specificationbuilder.dto.operation.MultiValueOperation
N
- NoJoin() - Constructor for class com.github.ozayduman.specificationbuilder.Joinable.NoJoin
- non() - Static method in interface com.github.ozayduman.specificationbuilder.Joinable
-
creates the non joinable type
- NOT_EQ - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents not equal operator
- NOT_IN - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents not in operator
- NOT_NULL - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents is not null operator
- notEq() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents not equal function
- notIn() - Static method in interface com.github.ozayduman.specificationbuilder.SpecificationOperator
-
Represents not in function
- NoValueOperation - Class in com.github.ozayduman.specificationbuilder.dto.operation
-
This type represents operation that does not need a value such as null, true, or false.
- NoValueOperation(String, Operator) - Constructor for class com.github.ozayduman.specificationbuilder.dto.operation.NoValueOperation
- NULL - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents is null operator
O
- of(CriteriaDTO) - Static method in class com.github.ozayduman.specificationbuilder.SpecificationMappings.SpecificationBuilder
-
Static Factory method that creates
SpecificationBuilderwith givenCriteriaDTOorPageRequestDTOobject - of(PageRequestDTO) - Static method in class com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.PageRequestBuilder
-
Creates a
PageRequestBuilderfrompageRequestDTO - Operator - Enum in com.github.ozayduman.specificationbuilder.dto
-
This enum represents the Operators that can be passed by client-side for dynamic query generations.
P
- PageRequestDTO - Class in com.github.ozayduman.specificationbuilder.dto
-
To request query results page by page, client should pass this
PageRequestDTOtype. - PageRequestDTO() - Constructor for class com.github.ozayduman.specificationbuilder.dto.PageRequestDTO
- PageRequestDTO.PageRequestBuilder - Class in com.github.ozayduman.specificationbuilder.dto
-
This builder type is used to create PageRequest from
pageRequestDTO. - PageRequestDTO.SortDTO - Class in com.github.ozayduman.specificationbuilder.dto
-
This dto is used to indicate sort information per client property.
- PageRequestDTO.SortDTO.Direction - Enum in com.github.ozayduman.specificationbuilder.dto
-
Default sort direction is ASC.
- PageResultDTO - Class in com.github.ozayduman.specificationbuilder.dto
-
This DTO type is used to return query result pages from server to client.
- PageResultDTO() - Constructor for class com.github.ozayduman.specificationbuilder.dto.PageResultDTO
- PluralAttributeJoin(PluralAttribute<?, ?, ?>[]) - Constructor for class com.github.ozayduman.specificationbuilder.Joinable.PluralAttributeJoin
R
- RangeDTO - Class in com.github.ozayduman.specificationbuilder.dto
-
This DTO holds range values with properties named
lowandhigh - RangeDTO() - Constructor for class com.github.ozayduman.specificationbuilder.dto.RangeDTO
- RangeValueOperation - Class in com.github.ozayduman.specificationbuilder.dto.operation
-
This type represents operations that need a range of values (e.g.
- RangeValueOperation(String, Operator, RangeDTO) - Constructor for class com.github.ozayduman.specificationbuilder.dto.operation.RangeValueOperation
S
- SingleValueOperation - Class in com.github.ozayduman.specificationbuilder.dto.operation
-
This type represents operations that works on a single value (e.g.
- SingleValueOperation(String, Operator, Object) - Constructor for class com.github.ozayduman.specificationbuilder.dto.operation.SingleValueOperation
- SortDTO() - Constructor for class com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.SortDTO
-
Default constructor to create a
SortDTO. - SortDTO(String) - Constructor for class com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.SortDTO
- SpecificationMappings<T> - Class in com.github.ozayduman.specificationbuilder
-
This class holds dto entity mappings to generate dynamic queries whose criteria supplied on the client-side
- SpecificationMappings.JoinGraph - Class in com.github.ozayduman.specificationbuilder
-
Represents the JoinGraph
- SpecificationMappings.SpecificationBuilder<T> - Class in com.github.ozayduman.specificationbuilder
-
SpecificationBuilder creates
Specificationusing the suppliedCriteriaDTOorPageRequestDTOand by using bind method you can enable properties to be used in dynamic query generation. - SpecificationOperator - Interface in com.github.ozayduman.specificationbuilder
-
A functional interface represents Query Operators that will be used to build a Specification.
T
- toSortDirection() - Method in enum com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.SortDTO.Direction
- TRUE - com.github.ozayduman.specificationbuilder.dto.Operator
-
Represents is true operator
V
- validate() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.AbstractOperation
-
validates
property,operator, and#allowedOperators - validate() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.MultiValueOperation
- validate() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.RangeValueOperation
- validate() - Method in class com.github.ozayduman.specificationbuilder.dto.operation.SingleValueOperation
- valueOf(String) - Static method in enum com.github.ozayduman.specificationbuilder.dto.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.SortDTO.Direction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.ozayduman.specificationbuilder.dto.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.ozayduman.specificationbuilder.dto.PageRequestDTO.SortDTO.Direction
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes|All Packages