Package com.skava.helper.search
Class SearchSpecification<T>
java.lang.Object
com.skava.helper.search.SearchSpecification<T>
- Type Parameters:
T
- the generic type
The Class SearchSpecification.
- Author:
- Karthik.R45
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The Constant IDX_KEY.static final int
The Constant IDX_OPERATION.static final int
The Constant IDX_VALUE.static final String
The Constant STATUS. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.jpa.domain.Specification<T>
getSpecification
(String filter) This method is used to get the specification.
-
Field Details
-
IDX_KEY
public static final int IDX_KEYThe Constant IDX_KEY.- See Also:
-
IDX_OPERATION
public static final int IDX_OPERATIONThe Constant IDX_OPERATION.- See Also:
-
IDX_VALUE
public static final int IDX_VALUEThe Constant IDX_VALUE.- See Also:
-
STATUS
The Constant STATUS.- See Also:
-
-
Constructor Details
-
SearchSpecification
public SearchSpecification()
-
-
Method Details
-
getSpecification
This method is used to get the specification.- Parameters:
filter
- Indicates the filter value.- Returns:
- The
Specification
object.
-