Class DragAndDropServiceImpl

    • Constructor Detail

      • DragAndDropServiceImpl

        @Autowired
        public DragAndDropServiceImpl​(EditorFormatService editorFormatService,
                                      com.atlassian.plugins.capabilities.api.CapabilityService capabilityService,
                                      com.atlassian.plugin.PluginAccessor pluginAccessor)
    • Method Detail

      • getAttachmentEditorHtml

        public String getAttachmentEditorHtml​(String filename,
                                              ContentEntityObject container,
                                              boolean viewFileMacroEnable,
                                              String renderContentPlace)
                                       throws Exception
        Description copied from interface: DragAndDropService
        Get attachment editor html format
        Specified by:
        getAttachmentEditorHtml in interface DragAndDropService
        Parameters:
        filename - name of file
        container - container object of attachment
        viewFileMacroEnable - status of view file macro
        renderContentPlace - place will append editor html (page/comment)
        Returns:
        editor html of attachment
        Throws:
        Exception - throwing when generate editor html has any errors