Package | Description |
---|---|
com.atlassian.servicedesk.api.customer | |
com.atlassian.servicedesk.api.notification | |
com.atlassian.servicedesk.api.user |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,List<CheckedUser>> |
CustomerService.addCustomersToServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
Set<String> usernameOrEmails)
Adds existing JSD customers to a Service Desk project.
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CheckedUser> |
CustomerService.createCustomer(com.atlassian.jira.user.ApplicationUser user,
CustomerCreateParameters customerCreateParameters)
Creates a JSD customer.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,URI> |
CustomerNotificationSubscriptionService.getUnsubscribeCustomerNotificationUri(CheckedUser recipient,
com.atlassian.jira.issue.Issue issue)
Provides a URL that can be included in any customer email notifications.
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Boolean> |
CustomerNotificationSubscriptionService.isSubscribedCustomerNotifications(CheckedUser recipient,
com.atlassian.jira.issue.Issue issue)
Given a user and issue, return whether user should be sent new customer notifcations.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<CheckedUser> |
UncheckedUser.asCheckedUser()
Convert this
UncheckedUser into an optional CheckedUser . |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CheckedUser> |
UserFactory.getCheckedUser()
Helper method to wrap getCurrentUserByType[CheckedUser].
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CheckedUser> |
UserFactory.wrap(com.atlassian.jira.user.ApplicationUser appUser)
Returns a
CheckedUser from the application user or an error if an internal error occurred,
or the ApplicationUser was null . |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,List<CheckedUser>> |
UserFactory.wrap(Collection<com.atlassian.jira.user.ApplicationUser> appUsers)
Map a list of
ApplicationUser to a list of CheckedUser . |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CheckedUser> |
UserFactory.wrapUserKey(String userkey)
This turns a user key into a JIRA Application User and then wraps it up.
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CheckedUser> |
UserFactory.wrapUsername(String username)
This turns a username into a JIRA Application User and then wraps it up.
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,List<CheckedUser>> |
UserFactory.wrapUsernames(Collection<String> usernames)
This turns
usernames into a JIRA Application User and then wraps them to CheckedUser . |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,List<com.atlassian.jira.user.ApplicationUser>> |
UserFactory.unwrap(Collection<CheckedUser> checkedUsers)
Map a list of
CheckedUser to a list of ApplicationUser . |
Copyright © 2017 Atlassian. All rights reserved.