Package | Description |
---|---|
com.atlassian.servicedesk.api |
NOTE: These interfaces are public and are for consumption by non-Atlassian plugins and consideration
will be given to and guarantees made for its compatibility between releases.
|
com.atlassian.servicedesk.api.comment | |
com.atlassian.servicedesk.api.queue | |
com.atlassian.servicedesk.api.request | |
com.atlassian.servicedesk.api.request.participant | |
com.atlassian.servicedesk.api.requesttype | |
com.atlassian.servicedesk.api.sla.info | |
com.atlassian.servicedesk.api.util.paging |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<ServiceDesk>> |
ServiceDeskService.getServiceDesks(com.atlassian.jira.user.ApplicationUser user,
PagedRequest pagedRequest)
Returns a page of service desks a user can see.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<ServiceDeskComment>> |
ServiceDeskCommentService.getCommentsOfRequest(com.atlassian.jira.user.ApplicationUser user,
ServiceDeskCommentQuery commentQuery)
Retrieve a page of
ServiceDeskComment of a particular CustomerRequest |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<Queue>> |
QueueService.getQueues(com.atlassian.jira.user.ApplicationUser user,
QueueQuery queueQuery)
Get a page of
Queue that satisfies the provided QueueQuery . |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.issue.Issue>> |
QueueService.getRequestsByQueue(com.atlassian.jira.user.ApplicationUser user,
QueueRequestQuery query)
Get a page of
Issue belonging to the specified Queue |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerRequest>> |
ServiceDeskCustomerRequestService.getCustomerRequests(com.atlassian.jira.user.ApplicationUser user,
CustomerRequestQuery customerRequestQuery)
Retrieve a page of
CustomerRequest that satisfies the query parameters |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerRequest.CustomerRequestStatus>> |
ServiceDeskCustomerRequestService.getCustomerRequestStatus(com.atlassian.jira.user.ApplicationUser user,
CustomerRequestStatusQuery query)
Retrieve a page of
CustomerRequest.CustomerRequestStatus of a CustomerRequest by chronological order in which the status transition taken place |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> |
RequestParticipantService.addRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantUpdateParameters requestParticipantUpdateParameters)
Add a list of
ApplicationUser as participant to a given CustomerRequest . |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> |
RequestParticipantService.getRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantQuery requestParticipantQuery)
Get a page of
ApplicationUser who satisfy the query parameters |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> |
RequestParticipantService.removeRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantUpdateParameters requestParticipantUpdateParameters)
Remove a list
ApplicationUser as participant from a given CustomerRequest . |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<RequestType>> |
RequestTypeService.getRequestTypes(com.atlassian.jira.user.ApplicationUser user,
RequestTypeQuery requestTypeQuery)
Retrieve a list of
RequestType that satifies the query parameters |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<SlaInformation>> |
SlaInformationService.getInfo(com.atlassian.jira.user.ApplicationUser user,
SlaInformationQuery query)
This will return information about an issue's SLAs based on the query parameters
|
Modifier and Type | Class and Description |
---|---|
class |
PagedResponseImpl<T>
A wrapper around a list of content.
|
Modifier and Type | Method and Description |
---|---|
static <T> PagedResponse<T> |
PagedResponseImpl.filteredPageResponse(LimitedPagedRequest limitedPagedRequest,
List<T> items,
com.google.common.base.Predicate<? super T> predicate)
Reduces a list of items for a limited request by the predicate provided.
|
<M> PagedResponse<M> |
PagedResponseImpl.map(com.google.common.base.Function<T,M> mapper) |
<M> PagedResponse<M> |
PagedResponse.map(com.google.common.base.Function<T,M> mapper)
Allows you to map a paged response of T into M
|
static <T> PagedResponse<T> |
PagedResponseImpl.sortAndToPagedResponse(LimitedPagedRequest limitedPagedRequest,
List<T> items,
Comparator<T> comparator)
Use the provided
Comparator to sort and reduces a list of items to the system enforced limited page size. |
static <T> PagedResponse<T> |
PagedResponseImpl.toPagedResponse(LimitedPagedRequest limitedPagedRequest,
List<T> items)
Reduces a list of items to the system enforced limited page size.
|
Modifier and Type | Method and Description |
---|---|
static <F,T> PagedResponseImpl<T> |
PagedResponseImpl.transform(PagedResponse<F> input,
com.google.common.base.Function<F,T> mapper)
Converts a given PageResponse contains items of type F into an equivalent PageResponse with items of type T,
transformed by the given mapper.
|
Copyright © 2017 Atlassian. All rights reserved.