Interface ClassificationQuery

    • Method Detail

      • nameLike

        ClassificationQuery nameLike​(String... names)
        Selects only Classifications which have a ClassificationSummary.getName() value that matches any of the passed patterns.

        Behind this method the SQL LIKE operator is used. SQL LIKE wildcard characters will be resolved correctly.

        Not using any wildcard will compute an exact match.

        Parameters:
        names - the patterns of interest
        Returns:
        the query
      • descriptionLike

        ClassificationQuery descriptionLike​(String description)
        Selects only Classifications which have a description value that matches the passed pattern.

        Behind this method the SQL LIKE operator is used. SQL LIKE wildcard characters will be resolved correctly.

        Not using any wildcard will compute an exact match.

        Parameters:
        description - the pattern of interest
        Returns:
        the query
      • priorityIn

        ClassificationQuery priorityIn​(int... priorities)
        Selects only Classifications which have a priority equal to any of the passed values.
        Parameters:
        priorities - the values of interest
        Returns:
        the query
      • serviceLevelLike

        ClassificationQuery serviceLevelLike​(String... serviceLevels)
        Selects only Classifications which have a serviceLevel value that matches any of the passed patterns.

        Behind this method the SQL LIKE operator is used. SQL LIKE wildcard characters will be resolved correctly.

        Not using any wildcard will compute an exact match.

        Parameters:
        serviceLevels - the patterns of interest
        Returns:
        the query
      • applicationEntryPointLike

        ClassificationQuery applicationEntryPointLike​(String... applicationEntryPoints)
        Selects only Classifications which have a applicationEntryPoint that matches any of the passed patterns.

        Behind this method the SQL LIKE operator is used. SQL LIKE wildcard characters will be resolved correctly.

        Not using any wildcard will compute an exact match.

        Parameters:
        applicationEntryPoints - the patterns of interest
        Returns:
        the query
      • orderByKey

        ClassificationQuery orderByKey​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by key.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query
      • orderByParentId

        ClassificationQuery orderByParentId​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by the parentKey.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query
      • orderByParentKey

        ClassificationQuery orderByParentKey​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by category.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is null, the result is sorted in ascending order
        Returns:
        the query
      • orderByCategory

        ClassificationQuery orderByCategory​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by category.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query
      • orderByDomain

        ClassificationQuery orderByDomain​(BaseQuery.SortDirection sortDirection)
        Sort the query result by domain.
        Parameters:
        sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
        Returns:
        the query
      • orderByName

        ClassificationQuery orderByName​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by name.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query
      • orderByServiceLevel

        ClassificationQuery orderByServiceLevel​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by domain.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query
      • orderByPriority

        ClassificationQuery orderByPriority​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by priority.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query
      • orderByApplicationEntryPoint

        ClassificationQuery orderByApplicationEntryPoint​(BaseQuery.SortDirection sortDirection)
        Sorts the query result by the applicationEntryPoint.
        Parameters:
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query
      • orderByCustomAttribute

        ClassificationQuery orderByCustomAttribute​(ClassificationCustomField customField,
                                                   BaseQuery.SortDirection sortDirection)
        Sorts the query result according to the value of the specified customField.
        Parameters:
        customField - identifies which customField is affected
        sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
        Returns:
        the query