Package com.atlassian.confluence.api.nav
Interface Navigation.Builder
- All Known Subinterfaces:
 Navigation.ColorSchemeNav,Navigation.ContentNav,Navigation.ContentRestrictionByOperationNav,Navigation.ExperimentalContentNav,Navigation.ExperimentalContentTemplateNav,Navigation.ExperimentalNav,Navigation.ExperimentalSynchronyDataNav,Navigation.GroupNav,Navigation.LongTaskNav,Navigation.RelevantViewRestrictionsNav,Navigation.SpaceContentNav,Navigation.SpaceNav,Navigation.SpacePermissionNav,Navigation.UserNav,RestNavigation.RestBuilder
- All Known Implementing Classes:
 AbstractNav,BaseNav,RelevantViewRestrictionsNavImpl,SpacePermissionNavImpl
- Enclosing interface:
 - Navigation
 
public static interface Navigation.Builder
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Navigation.BuilderSome Model classes need to provide a builder, but don't need to provide any navigation. - 
Method Summary
Modifier and TypeMethodDescriptionbuild an absolute URL http://localhost:8080/confluence/rest/of/urlbuild an absolute URL substituting the confuence configured base url and context for the base url and context supplied by the url builderbuild a relative URL without webapp context, i.e.build a relative URL with webapp context, i.e.default PageRequestcreatePageRequest(int start, int limit) default PageRequestcreatePageRequest(Cursor cursor, int limit) default PageRequestcreatePageRequest(PageRequest original)  
- 
Field Details
- 
NONE
Some Model classes need to provide a builder, but don't need to provide any navigation. This no-op builder should be safe to use everywhere that a Navigation.Builder is expected. 
 - 
 - 
Method Details
- 
buildAbsolute
String buildAbsolute()build an absolute URL http://localhost:8080/confluence/rest/of/url - 
buildCanonicalAbsolute
String buildCanonicalAbsolute()build an absolute URL substituting the confuence configured base url and context for the base url and context supplied by the url builder- Returns:
 - a canonical url for this navigation path
 
 - 
buildRelative
String buildRelative()build a relative URL without webapp context, i.e. /rest/of/url - 
buildRelativeWithContext
String buildRelativeWithContext()build a relative URL with webapp context, i.e. /confluence/rest/of/url - 
createPageRequest
- Since:
 - 9.3
 
 - 
createPageRequest
- Since:
 - 9.4
 
 - 
createPageRequest
- Since:
 - 9.4
 
 
 -