@PublicApi @Deprecated @ReturnValuesAreNonnullByDefault @ParametersAreNonnullByDefault public interface RequestTypeService
RequestType
.Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestType> |
createRequestType(com.atlassian.jira.user.ApplicationUser user,
RequestTypeCreateParameters requestTypeCreateParameters)
Deprecated.
Create a new
RequestType with using the provided RequestTypeCreateParameters . |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestType> |
deleteRequestType(com.atlassian.jira.user.ApplicationUser user,
RequestTypeDeleteParameters requestTypeDeleteParameters)
Deprecated.
Delete a
RequestType with using the provided RequestTypeDeleteParameters . |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<RequestType>> |
getRequestTypes(com.atlassian.jira.user.ApplicationUser user,
RequestTypeQuery requestTypeQuery)
Deprecated.
Retrieve a list of
RequestType that satifies the query parameters |
RequestTypeCreateParameters.Builder |
newCreateBuilder()
Deprecated.
|
RequestTypeDeleteParameters.Builder |
newDeleteBuilder()
Deprecated.
|
RequestTypeQuery.Builder |
newQueryBuilder()
Deprecated.
Create a builder to build
RequestTypeQuery |
RequestTypeUpdateParameters.Builder |
newUpdateBuilder()
Deprecated.
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestType> |
updateRequestType(com.atlassian.jira.user.ApplicationUser user,
RequestTypeUpdateParameters requestTypeUpdateParameters)
Deprecated.
Update a
RequestType with using the provided RequestTypeUpdateParameters . |
RequestTypeQuery.Builder newQueryBuilder()
RequestTypeQuery
@Nonnull com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<RequestType>> getRequestTypes(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull RequestTypeQuery requestTypeQuery)
RequestType
that satifies the query parametersuser
- the user executing the requestsrequestTypeQuery
- the query parametersRequestType
on successful retrieval, or AnError
if failureRequestTypeCreateParameters.Builder newCreateBuilder()
RequestTypeCreateParameters.Builder
to build RequestTypeCreateParameters
.com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestType> createRequestType(com.atlassian.jira.user.ApplicationUser user, RequestTypeCreateParameters requestTypeCreateParameters)
RequestType
with using the provided RequestTypeCreateParameters
.
user
- the user executing the request.requestTypeCreateParameters
- params used to create a new RequestType
.RequestType
if success, or an AnError
if failure.RequestTypeDeleteParameters.Builder newDeleteBuilder()
RequestTypeUpdateParameters.Builder
to build RequestTypeUpdateParameters
.com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestType> deleteRequestType(com.atlassian.jira.user.ApplicationUser user, RequestTypeDeleteParameters requestTypeDeleteParameters)
RequestType
with using the provided RequestTypeDeleteParameters
.
Executing user must have permission to perform the request
user
- the user executing the request.requestTypeDeleteParameters
- params used to delete the RequestType
.RequestType
if success, or an AnError
if failure.RequestTypeUpdateParameters.Builder newUpdateBuilder()
RequestTypeUpdateParameters.Builder
to build RequestTypeUpdateParameters
.com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestType> updateRequestType(com.atlassian.jira.user.ApplicationUser user, RequestTypeUpdateParameters requestTypeUpdateParameters)
RequestType
with using the provided RequestTypeUpdateParameters
.
Executing user must have permission to perform the request
user
- the user executing the request.requestTypeUpdateParameters
- params used to update the RequestType
.RequestType
if success, or an AnError
if failure.Copyright © 2018 Atlassian. All rights reserved.