@PublicApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public interface PortalManager
Portal
objects without permission checks.
It is intended this should only be required when performing administrative tasks where you need access regardless
of permissions or without a user. Usually the PortalService
should be preferred.
Modifier and Type | Method and Description |
---|---|
Portal |
getPortalForId(int portalId)
Returns the
Portal associated with the given portal id. |
Portal |
getPortalForProject(com.atlassian.jira.project.Project project)
Returns
Portal associated with the given Project . |
Portal |
getPortalForServiceDesk(ServiceDesk serviceDesk)
Returns the
Portal associated with the given ServiceDesk . |
PagedResponse<Portal> |
getPortals(PagedRequest pagedRequest)
Return a
PagedResponse of all of the portals |
PagedResponse<Portal> getPortals(PagedRequest pagedRequest)
PagedResponse
of all of the portalspagedRequest
- the paging to be applied to the outputPagedResponse
for the portalsServiceDeskServiceException
- on errorPortal getPortalForProject(com.atlassian.jira.project.Project project)
Portal
associated with the given Project
.project
- the project to search by.Portal
associated with the given Project
ServiceDeskServiceException
- on errorNoSuchEntityException
- if portal is not foundPortal getPortalForId(int portalId)
Portal
associated with the given portal id.portalId
- the id of the portal.Portal
associated with the given portal idServiceDeskServiceException
- on errorNoSuchEntityException
- if portal is not foundPortal getPortalForServiceDesk(ServiceDesk serviceDesk)
Portal
associated with the given ServiceDesk
.serviceDesk
- the service project to search by.Portal
associated with the given ServiceDesk
ServiceDeskServiceException
- on errorNoSuchEntityException
- if portal is not foundCopyright © 2021 Atlassian. All rights reserved.