Class MacroResource
- java.lang.Object
-
- com.atlassian.confluence.tinymceplugin.rest.MacroResource
-
public class MacroResource extends Object
-
-
Constructor Summary
Constructors Constructor Description 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, SpacePermissionManager spacePermissionManager, MacroParameterTypeParser macroParameterTypeParser, XmlEventReaderFactory xmlEventReaderFactory, FragmentTransformer defaultFragmentTransformer, StorageMacroBodyParser storageMacroBodyParser, MacroMetadataManager macroMetadataManager, StorageFormatCleaner storageFormatCleaner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
generateDefinition(UnmarshalMacroRequest unmarshalMacroRequest)
javax.ws.rs.core.Response
generatePlaceHolder(MacroRenderRequest renderRequest)
javax.ws.rs.core.Response
generatePreview(PreviewMacroRequest previewMacroRequest)
-
-
-
Constructor Detail
-
MacroResource
public MacroResource(XhtmlContent xhtmlContent, EditorFormatService editorFormatService, @Qualifier("contentEntityManager") ContentEntityManager contentEntityManager, @Qualifier("htmlToXmlConverter") HtmlToXmlConverter htmlToXmlConverter, @Qualifier("httpContext") HttpContext httpContext, @Qualifier("xhtmlMacroManager") MacroManager macroManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PermissionManager permissionManager, @Qualifier("spacePermissionManager") SpacePermissionManager spacePermissionManager, MacroParameterTypeParser macroParameterTypeParser, XmlEventReaderFactory xmlEventReaderFactory, FragmentTransformer defaultFragmentTransformer, StorageMacroBodyParser storageMacroBodyParser, MacroMetadataManager macroMetadataManager, StorageFormatCleaner storageFormatCleaner)
-
-
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)
-
-