@ExperimentalApi
public interface RequestParticipantService
ApplicationUser
who participates
in a CustomerRequest
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> |
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>> |
getRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantQuery requestParticipantQuery)
Get a page of
ApplicationUser who satisfy the query parameters |
RequestParticipantQuery.Builder |
newQueryBuilder() |
RequestParticipantUpdateParameters.Builder |
newUpdateBuilder() |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> |
removeRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantUpdateParameters requestParticipantUpdateParameters)
Remove a list
ApplicationUser as participant from a given CustomerRequest . |
RequestParticipantQuery.Builder newQueryBuilder()
RequestParticipantQuery.Builder
instance to build RequestParticipantQuery
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> getRequestParticipants(com.atlassian.jira.user.ApplicationUser user, RequestParticipantQuery requestParticipantQuery)
ApplicationUser
who satisfy the query parametersuser
- the user executing the requestrequestParticipantQuery
- the query parameterApplicationUser
if success, or AnError
if failureRequestParticipantUpdateParameters.Builder newUpdateBuilder()
RequestParticipantUpdateParameters.Builder
instance to build RequestParticipantUpdateParameters
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> addRequestParticipants(com.atlassian.jira.user.ApplicationUser user, RequestParticipantUpdateParameters requestParticipantUpdateParameters)
ApplicationUser
as participant to a given CustomerRequest
. This method will add as many participants
as possible from the provided list (duplication is checked)user
- the ApplicationUser
executing the requestrequestParticipantUpdateParameters
- the update parameterscom.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<com.atlassian.jira.user.ApplicationUser>> removeRequestParticipants(com.atlassian.jira.user.ApplicationUser user, RequestParticipantUpdateParameters requestParticipantUpdateParameters)
ApplicationUser
as participant from a given CustomerRequest
. If a provided user is a participant,
then he will be removed from the request. If the user is not a participant, AnError
will be returneduser
- the ApplicationUser
executing the requestrequestParticipantUpdateParameters
- the update parametersCopyright © 2017 Atlassian. All rights reserved.