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.portal |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskService.getServiceDeskForPortal(com.atlassian.jira.user.ApplicationUser user,
Portal portal)
Returns an Either of the
ServiceDesk associated with the given Portal or
AnError if:
- Service Desk was not found
- Service Desk was disabled
- User does not have access to the ServiceDesk |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskManager.getServiceDeskForPortal(Portal portal)
Returns an Either of the
ServiceDesk associated with the given Portal or
AnError if:
- Service Desk was not found
- Service Desk was disabled |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalService.getPortalForId(com.atlassian.jira.user.ApplicationUser user,
int portalId)
Returns an Either with the
Portal associated with the given
portal id or AnError if:
- Portal was not found
- The user is does not have permission to access portal |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalManager.getPortalForId(int portalId)
Returns an Either with the
Portal associated with the given
portal id or AnError if:
- Portal was not found |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalService.getPortalForProject(com.atlassian.jira.user.ApplicationUser user,
com.atlassian.jira.project.Project project)
Returns an Either with the
Portal associated with the given
Project or AnError if:
- Portal was not found
- The user is does not have permission to access portal |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalManager.getPortalForProject(com.atlassian.jira.project.Project project)
Returns an Either with the
Portal associated with the given
Project or AnError if:
- Portal was not found |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalService.getPortalForServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Returns an Either with the
Portal associated with the given
ServiceDesk or AnError if:
- Portal was not found
- The user is does not have permission to access portal |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalManager.getPortalForServiceDesk(ServiceDesk serviceDesk)
Returns an Either with the
Portal associated with the given
ServiceDesk or AnError if:
- Portal was not found |
Copyright © 2017 Atlassian. All rights reserved.