public class DragAndDropServiceImpl extends Object implements DragAndDropService
Constructor and Description |
---|
DragAndDropServiceImpl(EditorFormatService editorFormatService,
com.atlassian.plugins.capabilities.api.CapabilityService capabilityService,
com.atlassian.plugin.PluginAccessor pluginAccessor) |
Modifier and Type | Method and Description |
---|---|
String |
getAttachmentEditorHtml(String filename,
ContentEntityObject container)
Get attachment editor html format
|
String |
getAttachmentEditorHtml(String filename,
ContentEntityObject container,
boolean viewFileMacroEnable,
String renderContentPlace)
Get attachment editor html format
|
@Autowired public DragAndDropServiceImpl(EditorFormatService editorFormatService, com.atlassian.plugins.capabilities.api.CapabilityService capabilityService, com.atlassian.plugin.PluginAccessor pluginAccessor)
public String getAttachmentEditorHtml(String filename, ContentEntityObject container) throws Exception
DragAndDropService
getAttachmentEditorHtml
in interface DragAndDropService
filename
- name of filecontainer
- container object of attachmentException
- throwing when generate editor html has any errorspublic String getAttachmentEditorHtml(String filename, ContentEntityObject container, boolean viewFileMacroEnable, String renderContentPlace) throws Exception
DragAndDropService
getAttachmentEditorHtml
in interface DragAndDropService
filename
- name of filecontainer
- container object of attachmentviewFileMacroEnable
- status of view file macrorenderContentPlace
- place will append editor html (page/comment)Exception
- throwing when generate editor html has any errorsCopyright © 2003–2020 Atlassian. All rights reserved.