public class MacroResource extends Object
Constructor and 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,
MacroParameterTypeParser macroParameterTypeParser,
XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformer defaultFragmentTransformer,
StorageMacroBodyParser storageMacroBodyParser,
MacroMetadataManager macroMetadataManager) |
Modifier and Type | Method and 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) |
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, XmlEventReaderFactory xmlEventReaderFactory, FragmentTransformer defaultFragmentTransformer, StorageMacroBodyParser storageMacroBodyParser, MacroMetadataManager macroMetadataManager)
public javax.ws.rs.core.Response generatePlaceHolder(MacroRenderRequest renderRequest)
public javax.ws.rs.core.Response generateDefinition(UnmarshalMacroRequest unmarshalMacroRequest)
public javax.ws.rs.core.Response generatePreview(PreviewMacroRequest previewMacroRequest)
Copyright © 2003–2018 Atlassian. All rights reserved.