com.atlassian.confluence.tinymceplugin.rest
Class MacroResource

java.lang.Object
  extended by com.atlassian.confluence.tinymceplugin.rest.MacroResource

public class MacroResource
extends java.lang.Object


Constructor Summary
MacroResource(XhtmlContent xhtmlContent, EditorFormatService editorFormatService, ContentEntityManager contentEntityManager, HtmlToXmlConverter htmlToXmlConverter, HttpContext httpContext, MacroManager macroManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PermissionManager permissionManager, MacroParameterTypeParser macroParameterTypeParser, MacroBodyTransformationCondition macroBodyTransformationCondition, XmlEventReaderFactory xmlEventReaderFactory, XmlOutputFactory xmlOutputFactory, FragmentTransformer defaultFragmentTransformer)
           
 
Method Summary
 javax.ws.rs.core.Response generateDefinition(UnmarshalMacroRequest unmarshalMacroRequest)
           
 javax.ws.rs.core.Response generatePlaceHolder(MacroRenderRequest renderRequest)
           
 javax.ws.rs.core.Response generatePreview(PreviewMacroRequest previewMacroRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroResource

public MacroResource(XhtmlContent xhtmlContent,
                     EditorFormatService editorFormatService,
                     @Qualifier(value="contentEntityManager")
                     ContentEntityManager contentEntityManager,
                     @Qualifier(value="htmlToXmlConverter")
                     HtmlToXmlConverter htmlToXmlConverter,
                     @Qualifier(value="httpContext")
                     HttpContext httpContext,
                     @Qualifier(value="xhtmlMacroManager")
                     MacroManager macroManager,
                     com.atlassian.sal.api.message.I18nResolver i18nResolver,
                     com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
                     PermissionManager permissionManager,
                     MacroParameterTypeParser macroParameterTypeParser,
                     MacroBodyTransformationCondition macroBodyTransformationCondition,
                     XmlEventReaderFactory xmlEventReaderFactory,
                     XmlOutputFactory xmlOutputFactory,
                     FragmentTransformer defaultFragmentTransformer)
Method Detail

generatePlaceHolder

public javax.ws.rs.core.Response generatePlaceHolder(MacroRenderRequest renderRequest)

generateDefinition

public javax.ws.rs.core.Response generateDefinition(UnmarshalMacroRequest unmarshalMacroRequest)

generatePreview

public javax.ws.rs.core.Response generatePreview(PreviewMacroRequest previewMacroRequest)


Copyright © 2003-2014 Atlassian. All Rights Reserved.