Package | Description |
---|---|
com.atlassian.servicedesk.api.user |
Modifier and Type | Method and Description |
---|---|
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.
|
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.