Interface RequestTypeQuery.Builder
- Enclosing interface:
- RequestTypeQuery
@PublicApi
public static interface RequestTypeQuery.Builder
Builder to construct the
RequestTypeQuery.
A LimitedPagedRequest is always constructed in the query parameter, and used the default value if none is provided
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the queryfilterHidden(Boolean filter) Limit results to request types that are not hidden (eg, have no groups)Limit results to request types that belong to the specifiedRequestTypeGroupidRetrieve a specificRequestTypeassociated to the customer request backed by thisIssue, if any.Limit results to only request types that are valid.pagedRequest(PagedRequest pagedRequest) To query a pagePagedRequestofRequestTyperequestOverrideSecurity(Boolean requestOverrideSecurity) Use thisrequestOverrideSecurityflag to execute query without checking permission of the user executing this requestrequestType(Integer requestType) serviceDesk(Integer serviceDesk) Narrows the query to theRequestType's that belong to aServiceDesk
-
Method Details
-
serviceDesk
Narrows the query to theRequestType's that belong to aServiceDesk -
requestType
-
group
Limit results to request types that belong to the specifiedRequestTypeGroupid -
issue
Retrieve a specificRequestTypeassociated to the customer request backed by thisIssue, if any.This does not work with
RequestTypeQuery.requestType()orRequestTypeQuery.serviceDesk() -
requestOverrideSecurity
Use thisrequestOverrideSecurityflag to execute query without checking permission of the user executing this requestThis should only be used when performing administrative tasks where you need access regardless of permissions or without a user.
- Since:
- v3.7.0
-
pagedRequest
To query a pagePagedRequestofRequestType -
isValid
Limit results to only request types that are valid. Only valid request types appear on the Customer Portal. -
filterHidden
Limit results to request types that are not hidden (eg, have no groups) -
build
RequestTypeQuery build()Build the query
-