@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault @PublicApi @Deprecated public interface ServiceDeskCustomerRequestService
CustomerRequest
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CustomerRequest> |
createCustomerRequest(com.atlassian.jira.user.ApplicationUser user,
CustomerRequestCreateParameters customerRequestCreateParameters)
Deprecated.
Create a customer request using the given parameter
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerRequest>> |
getCustomerRequests(com.atlassian.jira.user.ApplicationUser user,
CustomerRequestQuery customerRequestQuery)
Deprecated.
Retrieve a page of
CustomerRequest that satisfies the query parameters |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerRequest.CustomerRequestStatus>> |
getCustomerRequestStatus(com.atlassian.jira.user.ApplicationUser user,
CustomerRequestStatusQuery query)
Deprecated.
Retrieve a page of
CustomerRequest.CustomerRequestStatus of a CustomerRequest by chronological order in which the status transition taken place |
CustomerRequestCreateParameters.Builder |
newCreateBuilder()
Deprecated.
Create a builder to build
CustomerRequestCreateParameters |
CustomerRequestQuery.Builder |
newQueryBuilder()
Deprecated.
Get the builder to build
CustomerRequestQuery |
CustomerRequestStatusQuery.Builder |
newStatusQueryBuilder()
Deprecated.
Create a builder to build
CustomerRequestStatusQuery |
CustomerRequestUpdateParameters.Builder |
newUpdateBuilder()
Deprecated.
Create a builder to build
CustomerRequestUpdateParameters |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CustomerRequest> |
updateCustomerRequest(com.atlassian.jira.user.ApplicationUser user,
CustomerRequestUpdateParameters customerRequestUpdateParameters)
Deprecated.
Update the
CustomerRequest using the given parameters |
CustomerRequestCreateParameters.Builder newCreateBuilder()
CustomerRequestCreateParameters
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CustomerRequest> createCustomerRequest(@Nullable com.atlassian.jira.user.ApplicationUser user, CustomerRequestCreateParameters customerRequestCreateParameters)
user
- the user exciting the requestcustomerRequestCreateParameters
- the request create parameter. Refer to RequestTypeFieldService.getCustomerRequestCreateMeta(ApplicationUser, RequestTypeFieldQuery)
on how to construct it@Nonnull CustomerRequestQuery.Builder newQueryBuilder()
CustomerRequestQuery
@Nonnull com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerRequest>> getCustomerRequests(@Nullable com.atlassian.jira.user.ApplicationUser user, CustomerRequestQuery customerRequestQuery)
CustomerRequest
that satisfies the query parametersuser
- the user executing the requestscustomerRequestQuery
- the query parameterCustomerRequest
if successful retrieval, or AnError
if failure@Nonnull CustomerRequestUpdateParameters.Builder newUpdateBuilder()
CustomerRequestUpdateParameters
@Nonnull com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CustomerRequest> updateCustomerRequest(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull CustomerRequestUpdateParameters customerRequestUpdateParameters)
CustomerRequest
using the given parametersuser
- the user executing the requestcustomerRequestUpdateParameters
- parameters to update the customer requestCustomerRequest
if succeeded, or AnError
if update failureCustomerRequestStatusQuery.Builder newStatusQueryBuilder()
CustomerRequestStatusQuery
@Nonnull com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerRequest.CustomerRequestStatus>> getCustomerRequestStatus(@Nullable com.atlassian.jira.user.ApplicationUser user, CustomerRequestStatusQuery query)
CustomerRequest.CustomerRequestStatus
of a CustomerRequest
by chronological order in which the status transition taken placeuser
- the user executing the queryquery
- the request status queryAnError
if failure, or a paged collection of CustomerRequest.CustomerRequestStatus
Copyright © 2020 Atlassian. All rights reserved.