com.atlassian.confluence.plugins.restapi.enrich
Class AbstractLinkEnricher

java.lang.Object
  extended by com.atlassian.confluence.plugins.restapi.enrich.AbstractLinkEnricher
Direct Known Subclasses:
BaseLinkEnricher, ContentEnricher, EntityCollectionLinkEnricher, ExpandableEntityEnricher, NavigationCollectionEnricher, SelfLinkCollectionEnricher, SelfLinkEntityEnricher

public class AbstractLinkEnricher
extends Object


Field Summary
protected  RestNavigationService navigationService
           
protected static String SELF_LINK
           
 
Constructor Summary
protected AbstractLinkEnricher(RestNavigationService navigationService)
           
 
Method Summary
protected  void enrichWithLink(RestObject restObject, String linkKey, String linkUrl)
          adds a link to an immutable _links map, creating the map if it doesn't already exist.
 RestNavigation navigation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SELF_LINK

protected static String SELF_LINK

navigationService

protected final RestNavigationService navigationService
Constructor Detail

AbstractLinkEnricher

protected AbstractLinkEnricher(RestNavigationService navigationService)
Method Detail

navigation

public RestNavigation navigation()

enrichWithLink

protected void enrichWithLink(RestObject restObject,
                              String linkKey,
                              String linkUrl)
adds a link to an immutable _links map, creating the map if it doesn't already exist.



Copyright © 2003–2015 Atlassian. All rights reserved.