Class DragAndDropServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.plugins.dragdrop.service.DragAndDropServiceImpl
-
- All Implemented Interfaces:
DragAndDropService
@Component public class DragAndDropServiceImpl extends Object implements DragAndDropService
-
-
Constructor Summary
Constructors Constructor Description DragAndDropServiceImpl(EditorFormatService editorFormatService, com.atlassian.plugins.capabilities.api.CapabilityService capabilityService, com.atlassian.plugin.PluginAccessor pluginAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAttachmentEditorHtml(String filename, ContentEntityObject container)
Get attachment editor html formatString
getAttachmentEditorHtml(String filename, ContentEntityObject container, boolean viewFileMacroEnable, String renderContentPlace)
Get attachment editor html format
-
-
-
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) throws Exception
Description copied from interface:DragAndDropService
Get attachment editor html format- Specified by:
getAttachmentEditorHtml
in interfaceDragAndDropService
- Parameters:
filename
- name of filecontainer
- container object of attachment- Returns:
- editor html of attachment
- Throws:
Exception
- throwing when generate editor html has any errors
-
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 interfaceDragAndDropService
- Parameters:
filename
- name of filecontainer
- container object of attachmentviewFileMacroEnable
- status of view file macrorenderContentPlace
- place will append editor html (page/comment)- Returns:
- editor html of attachment
- Throws:
Exception
- throwing when generate editor html has any errors
-
-