## Uses of Class
org.appng.persistence.repository.SearchQuery

- Packages that use SearchQuery
  Package | Description
  --- | ---
  org.appng.persistence.repository | This package contains classes related to JPA-persistence and Spring Data JPA.

- - ### Uses of SearchQuery in org.appng.persistence.repository

    Methods in org.appng.persistence.repository that return SearchQuery
    Modifier and Type | Method and Description
    --- | ---
    `SearchQuery<T>` | SearchQuery.`and(String clause)` Adds a parameterless JPQL AND-clause to this query. Usage example:
    `SearchQuery<T>` | SearchQuery.`and(String clause, Map<String,Object> params)` Adds a parameterized JPQL AND-clause to this query.
    `SearchQuery<T>` | SearchQuery.`contains(String name, Object value)` Checks if the attribute is contains the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchRepositoryImpl.`createSearchQuery()`
    `SearchQuery<T>` | SearchRepository.`createSearchQuery()` Creates and returns a new `SearchQuery`.
    `SearchQuery<T>` | SearchQuery.`distinct()` Causes the JPQL-query to select `distinct` entities only.
    `SearchQuery<T>` | SearchQuery.`endsWith(String name, Object value)` Checks if the attribute is ends with the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`equals(String name, Object value)` Checks if the attribute equals the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`greaterEquals(String name, Object value)` Checks if the attribute is greater or equals the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`greaterThan(String name, Object value)` Checks if the attribute is greater than the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`in(String name, Collection<?> values)` Checks if the attribute is in the given values. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`isNotNull(String name)` Checks if the attribute is not null. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`isNull(String name)` Checks if the attribute is null. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`join(String joinQuery)` Adds one or more joins to the resulting JPQL-query. The alias for the entity is `e`, so you could add a join like
    `SearchQuery<T>` | SearchQuery.`lessEquals(String name, Object value)` Checks if the attribute is less or equals the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`lessThan(String name, Object value)` Checks if the attribute is less than the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`like(String name, Object value)` Checks if the attribute is like the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`notEquals(String name, Object value)` Checks if the attribute not equals the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`notIn(String name, Collection<?> values)` Checks if the attribute is not in the given values. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`notLike(String name, Object value)` Checks if the attribute is not like the given value. JPQL-fragment:
    `SearchQuery<T>` | SearchQuery.`setEntityAlias(String entityAlias)` Sets the entity alias to by used in JPQL queries
    `protected SearchQuery<T>` | SearchQuery.`setQueryParameters(javax.persistence.Query... queries)` Sets the parameters defined by `criteria` for the given queries.
    `SearchQuery<T>` | SearchQuery.`startsWith(String name, Object value)` Checks if the attribute is starts with the given value. JPQL-fragment:

    Methods in org.appng.persistence.repository with parameters of type SearchQuery
    Modifier and Type | Method and Description
    --- | ---
    `org.springframework.data.domain.Page<T>` | SearchRepositoryImpl.`search(SearchQuery<T> searchQuery, org.springframework.data.domain.Pageable pageable)`
    `org.springframework.data.domain.Page<T>` | SearchRepository.`search(SearchQuery<T> searchQuery, org.springframework.data.domain.Pageable pageable)` Performs a paginated search with the given `SearchQuery`.

Copyright © 2011–2023 aiticon GmbH. All rights reserved.