Class KeySearchCriteria.KeySearchCriteriaBuilder
java.lang.Object
com.eurodyn.qlack.fuse.lexicon.criteria.KeySearchCriteria.KeySearchCriteriaBuilder
- Enclosing class:
- KeySearchCriteria
A Criteria Builder class that is used to construct CriteriaQuery for
searching a specific key object and its expression that is used to
achieve it.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
A Criteria query that searches the key using expression by inGroupsetPageSizeWithPageNum
(int pageSize, int page) A Criteria Query to search for a specific key using criteria such as number of page and the size of the pagewithNameLike
(String name) A method that is used to retrieve a specific key by its name
-
Method Details
-
createCriteria
-
build
-
withNameLike
A method that is used to retrieve a specific key by its name- Parameters:
name
- the name of the key- Returns:
- the key by its name
-
inGroup
A Criteria query that searches the key using expression by inGroup- Parameters:
groupId
- the group id- Returns:
- the key
-
setPageSizeWithPageNum
A Criteria Query to search for a specific key using criteria such as number of page and the size of the page- Parameters:
pageSize
- the page sizepage
- the page number- Returns:
- the key
-