@PublicApi
public interface RequestTypeQuery
Note than an query built without any limiting parameters (eg. serviceDesk, requestType, issue) will return all request types
Modifier and Type | Interface and Description |
---|---|
static interface |
RequestTypeQuery.Builder
Builder to construct the
RequestTypeQuery . |
Modifier and Type | Method and Description |
---|---|
Optional<Boolean> |
getFilterHidden()
Limit results to request types that are not hidden (eg, have no groups)
|
Optional<Integer> |
group()
Limit results to request types that belong to the specified
RequestTypeGroup id |
Optional<Long> |
issue()
Retrieve a specific
RequestType associated to the customer request backed by this Issue , if any. |
Optional<Boolean> |
isValid()
Limit results to only request types that are valid.
|
LimitedPagedRequest |
pagedRequest()
To query a page
LimitedPagedRequest of RequestType |
Optional<Boolean> |
requestOverrideSecurity()
Use this
requestOverrideSecurity flag to execute query without checking
permission of the user executing this request. |
Optional<Integer> |
requestType()
|
Optional<Integer> |
serviceDesk()
Narrows the query to the
RequestType 's that belong to a ServiceDesk |
Optional<Integer> serviceDesk()
RequestType
's that belong to a ServiceDesk
Optional<Integer> group()
RequestTypeGroup
idOptional<Long> issue()
RequestType
associated to the customer request backed by this Issue
, if any.
This does not work with requestType()
or serviceDesk()
Optional<Boolean> requestOverrideSecurity()
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.
LimitedPagedRequest pagedRequest()
LimitedPagedRequest
of RequestType
Optional<Boolean> isValid()
Copyright © 2019 Atlassian. All rights reserved.