Interface DragAndDropService

    • Method Detail

      • getAttachmentEditorHtml

        String getAttachmentEditorHtml​(String filename,
                                       ContentEntityObject container,
                                       boolean viewFileMacroEnable,
                                       String renderContentPlace)
                                throws Exception
        Get attachment editor html format
        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
      • getAttachmentEditorHtml

        String getAttachmentEditorHtml​(String filename,
                                       ContentEntityObject container)
                                throws Exception
        Get attachment editor html format
        Parameters:
        filename - name of file
        container - container object of attachment
        Returns:
        editor html of attachment
        Throws:
        Exception - throwing when generate editor html has any errors