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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionLimit results to request types that are not hidden (eg, have no groups)Limit results to request types that match the restriction status filter.group()
Limit results to request types that belong to the specifiedRequestTypeGroup
idissue()
Retrieve a specificRequestType
associated to the customer request backed by thisIssue
, if any.isValid()
Limit results to only request types that are valid.To query a pageLimitedPagedRequest
ofRequestType
Use thisrequestOverrideSecurity
flag to execute query without checking permission of the user executing this request.Narrows the query to theRequestType
's that belong to aServiceDesk
Convert this query to aRequestTypeQuery.Builder
-
Method Details
-
serviceDesk
Narrows the query to theRequestType
's that belong to aServiceDesk
-
requestType
-
group
Limit results to request types that belong to the specifiedRequestTypeGroup
id -
issue
Retrieve a specificRequestType
associated to the customer request backed by thisIssue
, if any. This does not work withrequestType()
orserviceDesk()
-
requestOverrideSecurity
Use thisrequestOverrideSecurity
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 pageLimitedPagedRequest
ofRequestType
-
isValid
Limit results to only request types that are valid. Only valid request types appear on the Customer Portal. -
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
RequestTypeQuery.Builder toBuilder()Convert this query to aRequestTypeQuery.Builder
-