@PublicApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public interface PortalService
Portal objects.| Modifier and Type | Method and Description |
|---|---|
Portal |
getPortalForId(com.atlassian.jira.user.ApplicationUser user,
int portalId)
Returns the
Portal associated with the given portal id. |
Portal |
getPortalForProject(com.atlassian.jira.user.ApplicationUser user,
com.atlassian.jira.project.Project project)
Returns the
Portal associated with the given Project. |
Portal |
getPortalForServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Returns the
Portal associated with the given ServiceDesk. |
PagedResponse<Portal> |
getPortals(com.atlassian.jira.user.ApplicationUser user,
PagedRequest pagedRequest)
Return a
PagedResponse of all of the portals |
PagedResponse<Portal> getPortals(com.atlassian.jira.user.ApplicationUser user, PagedRequest pagedRequest)
PagedResponse of all of the portalsuser - the user requesting the portalspagedRequest - the paging to be applied to the outputPagedResponse for the portalsServiceDeskServiceException - on errorPortal getPortalForProject(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.project.Project project)
Portal associated with the given Project.user - the user requesting the portalproject - the project to search byPortal associated with the given ProjectServiceDeskServiceException - on errorNoSuchEntityException - if portal is not foundAuthorizationException - if user does not have permission to access portalPortal getPortalForId(com.atlassian.jira.user.ApplicationUser user, int portalId)
Portal associated with the given portal id.user - the user requesting the portalportalId - the id of the portalPortal associated with the given portal idServiceDeskServiceException - on errorNoSuchEntityException - if portal is not foundAuthorizationException - if user does not have permission to access portalPortal getPortalForServiceDesk(com.atlassian.jira.user.ApplicationUser user, ServiceDesk serviceDesk)
Portal associated with the given ServiceDesk.user - the user requesting the portalserviceDesk - the service project to search byPortal associated with the given ServiceDeskServiceDeskServiceException - on errorNoSuchEntityException - if portal is not foundAuthorizationException - if user does not have permission to access portalCopyright © 2025 Atlassian. All rights reserved.