Interface RequestTypeQuery


@PublicApi public interface RequestTypeQuery
A query for searching for Request Types

Note that a query built without any limiting parameters (eg. serviceDesk, requestType, issue) will return all request types

  • Method Details

    • serviceDesk

      Optional<Integer> serviceDesk()
      Narrows the query to the RequestType's that belong to a ServiceDesk
    • requestType

      Optional<Integer> requestType()
      Use this RequestType and ServiceDesk to retrieve a specific RequestType
    • group

      Optional<Integer> group()
      Limit results to request types that belong to the specified RequestTypeGroup id
    • issue

      Optional<Long> issue()
      Retrieve a specific RequestType associated to the customer request backed by this Issue, if any. This does not work with requestType() or serviceDesk()
    • requestOverrideSecurity

      Optional<Boolean> requestOverrideSecurity()
      Use this requestOverrideSecurity flag to execute query without checking permission of the user executing this request.

      This should only be used when performing administrative tasks where you need access regardless of permissions or without a user.

    • pagedRequest

      LimitedPagedRequest pagedRequest()
      To query a page LimitedPagedRequest of RequestType
    • isValid

      Optional<Boolean> isValid()
      Limit results to only request types that are valid. Only valid request types appear on the Customer Portal.
    • getFilterHidden

      Optional<Boolean> getFilterHidden()
      Limit results to request types that are not hidden (eg, have no groups)
    • getRestrictionStatusFilter

      Set<RequestTypeRestrictionStatus> getRestrictionStatusFilter()
      Limit results to request types that match the restriction status filter. When restrictionStatusFilter is empty, this filter will not be considered. When restrictionStatusFilter has OPEN, this filter allow request types that without restrictions. When restrictionStatusFilter has RESTRICTED, this filter allow request types that have restrictions which the user can use to create requests. When restrictionStatusFilter has both OPEN and RESTRICTED, this filter will return both no-restriction and restricted request types that user can use to create requests.
      Since:
      v10.0.0
    • toBuilder

      Convert this query to a RequestTypeQuery.Builder