com.atlassian.confluence.content.service
Interface RenderingService

All Known Implementing Classes:
DefaultRenderingService

public interface RenderingService


Method Summary
 IdContentLocator getContentLocator(long contentId)
          Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.
 RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, java.lang.String contentType, java.lang.String content)
          Creates and returns a RenderContentCommand that will render given wiki markup content in the context of the entity and space provided by the locators.
 RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, java.lang.String contentType, java.lang.String content)
          Creates and returns a RenderContentCommand that will render given xhtml content in the context of the entity and space provided by the locators.
 

Method Detail

newRenderXHtmlContentCommand

RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator,
                                                  SpaceLocator spaceLocator,
                                                  java.lang.String contentType,
                                                  java.lang.String content)
Creates and returns a RenderContentCommand that will render given xhtml content in the context of the entity and space provided by the locators. This is particularly useful when rendering the wysiwyg editor's content for preview mode.


newRenderWikiMarkupContentCommand

RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator,
                                                       SpaceLocator spaceLocator,
                                                       java.lang.String contentType,
                                                       java.lang.String content)
Creates and returns a RenderContentCommand that will render given wiki markup content in the context of the entity and space provided by the locators. This is particularly useful when rendering the markup editor's content for preview mode.


getContentLocator

IdContentLocator getContentLocator(long contentId)
Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.



Copyright © 2003-2014 Atlassian. All Rights Reserved.