Liferay 6.2-ce-ga5

com.liferay.portal.editor.fckeditor.receiver.impl
Class DocumentCommandReceiver

java.lang.Object
  extended by com.liferay.portal.editor.fckeditor.receiver.impl.BaseCommandReceiver
      extended by com.liferay.portal.editor.fckeditor.receiver.impl.DocumentCommandReceiver
All Implemented Interfaces:
CommandReceiver
Direct Known Subclasses:
BaseFileEntryCommandReceiver

public class DocumentCommandReceiver
extends BaseCommandReceiver


Constructor Summary
DocumentCommandReceiver()
           
 
Method Summary
protected  String createFolder(CommandArgument commandArgument)
           
protected  String fileUpload(CommandArgument commandArgument, String fileName, InputStream inputStream, String contentType, long size)
           
protected  Element getFileElement(CommandArgument commandArgument, Element fileElement, FileEntry fileEntry)
           
protected  List<Element> getFileElements(CommandArgument commandArgument, Document document, Folder folder)
           
protected  void getFolders(CommandArgument commandArgument, Document document, Node rootNode)
           
protected  void getFoldersAndFiles(CommandArgument commandArgument, Document document, Node rootNode)
           
protected  boolean isStagedData(Group group)
           
 
Methods inherited from class com.liferay.portal.editor.fckeditor.receiver.impl.BaseCommandReceiver
createFolder, fileUpload, getFolders, getFoldersAndFiles, getPath, getRootFolders, getSize, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentCommandReceiver

public DocumentCommandReceiver()
Method Detail

createFolder

protected String createFolder(CommandArgument commandArgument)
Specified by:
createFolder in class BaseCommandReceiver

fileUpload

protected String fileUpload(CommandArgument commandArgument,
                            String fileName,
                            InputStream inputStream,
                            String contentType,
                            long size)
Specified by:
fileUpload in class BaseCommandReceiver

getFileElement

protected Element getFileElement(CommandArgument commandArgument,
                                 Element fileElement,
                                 FileEntry fileEntry)
                          throws Exception
Throws:
Exception

getFileElements

protected List<Element> getFileElements(CommandArgument commandArgument,
                                        Document document,
                                        Folder folder)
                                 throws Exception
Throws:
Exception

getFolders

protected void getFolders(CommandArgument commandArgument,
                          Document document,
                          Node rootNode)
Specified by:
getFolders in class BaseCommandReceiver

getFoldersAndFiles

protected void getFoldersAndFiles(CommandArgument commandArgument,
                                  Document document,
                                  Node rootNode)
Specified by:
getFoldersAndFiles in class BaseCommandReceiver

isStagedData

protected boolean isStagedData(Group group)
Overrides:
isStagedData in class BaseCommandReceiver

Liferay 6.2-ce-ga5