@ExperimentalApi
public interface Navigation
Inject NavBuilderService into your component and use that to create instances of a NavBuilder
Modifier and Type | Interface and Description |
---|---|
static interface |
Navigation.Builder |
static interface |
Navigation.ContentNav |
static interface |
Navigation.ContentRestrictionByOperationNav |
static interface |
Navigation.ExperimentalContentNav
ExperimentalContentNav will change as new resources are added and promoted to production.
|
static interface |
Navigation.ExperimentalNav
ExperimentalNav will change as new resources are added and promoted to production.
|
static interface |
Navigation.LongTaskNav |
static interface |
Navigation.SpaceContentNav |
static interface |
Navigation.SpaceNav |
Modifier and Type | Method and Description |
---|---|
Navigation.Builder |
baseApiPath() |
String |
baseUrl() |
Navigation.Builder |
collection(Content content)
a builder to produce a URL to the collection that the content belongs to.
|
Navigation.Builder |
collection(Space space)
a builder to produce a URL to the collection that the space belongs to.
|
Navigation.ContentNav |
content(Content content)
create a content nav builder to reference a piece of content
|
Navigation.ContentNav |
content(ContentId contentId)
create a content nav builder to reference a piece of content
|
Navigation.ContentNav |
content(Reference<Content> contentReference)
create a content nav builder to reference a piece of content
|
String |
contextPath() |
Navigation.ExperimentalNav |
experimental() |
Navigation.Builder |
fromReference(Reference<?> reference) |
Navigation.LongTaskNav |
longTask(LongTaskId id) |
Navigation.SpaceNav |
space(Reference<Space> spaceReference)
create a space nav builder to reference the given space
|
Navigation.SpaceNav |
space(Space space)
create a space nav builder to reference the given space
|
Navigation.ExperimentalNav experimental()
Navigation.ContentNav content(Content content)
content
- Navigation.ContentNav content(Reference<Content> contentReference)
contentReference
- Navigation.ContentNav content(ContentId contentId)
contentId
- Navigation.SpaceNav space(Reference<Space> spaceReference)
spaceReference
- Navigation.Builder collection(Content content)
content
- Navigation.Builder collection(Space space)
space
- Navigation.SpaceNav space(Space space)
space
- Navigation.LongTaskNav longTask(LongTaskId id)
String contextPath()
String baseUrl()
Navigation.Builder baseApiPath()
Navigation.Builder fromReference(Reference<?> reference)
Copyright © 2003–2016 Atlassian. All rights reserved.