com.atlassian.confluence.api.impl.service.nav
Class ContentNavImpl

java.lang.Object
  extended by com.atlassian.confluence.api.impl.service.nav.AbstractNav
      extended by com.atlassian.confluence.api.impl.service.nav.DelegatingPathBuilder
          extended by com.atlassian.confluence.api.impl.service.nav.ContentNavImpl
All Implemented Interfaces:
Navigation.Builder, Navigation.ContentNav, Navigation.ExperimentalContentNav, RestNavigation.RestBuilder

public class ContentNavImpl
extends DelegatingPathBuilder
implements Navigation.ContentNav, Navigation.ExperimentalContentNav


Field Summary
static String CONTENT_CHILDREN_SUBPATH
           
static String CONTENT_DESCENDANTS_SUBPATH
           
static String CONTENT_HISTORY_SUBPATH
           
static String CONTENT_LABEL_SUBPATH
           
static String CONTENT_PATH
           
static String CONTENT_PROPERTY_SUBPATH
           
 
Fields inherited from class com.atlassian.confluence.api.impl.service.nav.AbstractNav
baseUrl, contextPath
 
Fields inherited from interface com.atlassian.confluence.api.nav.Navigation.Builder
NONE
 
Constructor Summary
protected ContentNavImpl(Content content, AbstractNav baseBuilder)
           
  ContentNavImpl(ContentId contentId, AbstractNav baseBuilder)
           
 
Method Summary
static Navigation.ContentNav build(Content content, AbstractNav builder)
           
 Navigation.Builder children(ContentType type, Depth depth)
           
 AbstractNav children(Depth depth)
           
 Navigation.Builder history()
           
 Navigation.Builder label()
           
 Navigation.Builder property(JsonContentProperty property)
           
 Navigation.ContentRestrictionByOperationNav restrictionByOperation()
          Create a nav builder to reference a set of restrictions, by operation.
 
Methods inherited from class com.atlassian.confluence.api.impl.service.nav.DelegatingPathBuilder
buildPath
 
Methods inherited from class com.atlassian.confluence.api.impl.service.nav.AbstractNav
addParam, buildAbsolute, buildRelative, buildRelativeWithContext, setAnchor, toAbsoluteUriBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.api.nav.Navigation.Builder
buildAbsolute, buildRelative, buildRelativeWithContext
 

Field Detail

CONTENT_PATH

public static final String CONTENT_PATH
See Also:
Constant Field Values

CONTENT_HISTORY_SUBPATH

public static final String CONTENT_HISTORY_SUBPATH
See Also:
Constant Field Values

CONTENT_LABEL_SUBPATH

public static final String CONTENT_LABEL_SUBPATH
See Also:
Constant Field Values

CONTENT_CHILDREN_SUBPATH

public static final String CONTENT_CHILDREN_SUBPATH
See Also:
Constant Field Values

CONTENT_DESCENDANTS_SUBPATH

public static final String CONTENT_DESCENDANTS_SUBPATH
See Also:
Constant Field Values

CONTENT_PROPERTY_SUBPATH

public static final String CONTENT_PROPERTY_SUBPATH
See Also:
Constant Field Values
Constructor Detail

ContentNavImpl

protected ContentNavImpl(Content content,
                         AbstractNav baseBuilder)

ContentNavImpl

public ContentNavImpl(ContentId contentId,
                      AbstractNav baseBuilder)
Method Detail

build

public static Navigation.ContentNav build(Content content,
                                          AbstractNav builder)

history

public Navigation.Builder history()
Specified by:
history in interface Navigation.ContentNav

label

public Navigation.Builder label()
Specified by:
label in interface Navigation.ContentNav

children

public AbstractNav children(Depth depth)
Specified by:
children in interface Navigation.ContentNav

children

public Navigation.Builder children(ContentType type,
                                   Depth depth)
Specified by:
children in interface Navigation.ContentNav

property

public Navigation.Builder property(JsonContentProperty property)
Specified by:
property in interface Navigation.ContentNav

restrictionByOperation

public Navigation.ContentRestrictionByOperationNav restrictionByOperation()
Description copied from interface: Navigation.ContentNav
Create a nav builder to reference a set of restrictions, by operation.

Specified by:
restrictionByOperation in interface Navigation.ContentNav


Copyright © 2003–2015 Atlassian. All rights reserved.