Class DefaultRenderingService
java.lang.Object
com.atlassian.confluence.content.service.DefaultRenderingService
- All Implemented Interfaces:
RenderingService
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContentLocator(long contentId) Creates and returns aIdContentLocatorthat can locate aConfluenceEntityObjectby an id.newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType) Creates and returns aRenderContentCommandthat will render given wiki markup content in the context of the entity and space provided by the locators.newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType) Creates and returns aRenderContentCommandthat will render given xhtml content in the context of the entity and space provided by the locators.voidsetContentEntityManager(ContentEntityManager contentEntityManager) voidsetFormatConverter(FormatConverter formatConverter) voidsetI18NBeanFactory(I18NBeanFactory i18nBeanFactory) voidsetLocaleManager(LocaleManager localeManager) voidsetPageTemplateManager(PageTemplateManager pageTemplateManager) voidsetPermissionManager(PermissionManager permissionManager)
-
Constructor Details
-
DefaultRenderingService
public DefaultRenderingService()
-
-
Method Details
-
newRenderXHtmlContentCommand
public RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType) Description copied from interface:RenderingServiceCreates and returns aRenderContentCommandthat 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.- Specified by:
newRenderXHtmlContentCommandin interfaceRenderingService
-
newRenderWikiMarkupContentCommand
public RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType) Description copied from interface:RenderingServiceCreates and returns aRenderContentCommandthat 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.- Specified by:
newRenderWikiMarkupContentCommandin interfaceRenderingService
-
getContentLocator
Description copied from interface:RenderingServiceCreates and returns aIdContentLocatorthat can locate aConfluenceEntityObjectby an id.- Specified by:
getContentLocatorin interfaceRenderingService
-
setPermissionManager
-
setContentEntityManager
-
getI18NBeanFactory
-
setI18NBeanFactory
-
getLocaleManager
-
setLocaleManager
-
setFormatConverter
-
setPageTemplateManager
-