com.liferay.portal.editor.fckeditor.receiver.impl
Class BaseFileEntryCommandReceiver
java.lang.Object
com.liferay.portal.editor.fckeditor.receiver.impl.BaseCommandReceiver
com.liferay.portal.editor.fckeditor.receiver.impl.DocumentCommandReceiver
com.liferay.portal.editor.fckeditor.receiver.impl.BaseFileEntryCommandReceiver
- All Implemented Interfaces:
- CommandReceiver
- Direct Known Subclasses:
- AudioCommandReceiver, VideoCommandReceiver
public abstract class BaseFileEntryCommandReceiver
- extends DocumentCommandReceiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseFileEntryCommandReceiver
public BaseFileEntryCommandReceiver()
fileUpload
protected String fileUpload(CommandArgument commandArgument,
String fileName,
InputStream inputStream,
String contentType,
long size)
- Overrides:
fileUpload
in class DocumentCommandReceiver
getFileElement
protected Element getFileElement(CommandArgument commandArgument,
Element fileElement,
FileEntry fileEntry)
throws Exception
- Overrides:
getFileElement
in class DocumentCommandReceiver
- Throws:
Exception
getFileElements
protected List<Element> getFileElements(CommandArgument commandArgument,
Document document,
Folder folder)
throws Exception
- Overrides:
getFileElements
in class DocumentCommandReceiver
- Throws:
Exception
getFileEntryMimeTypes
protected abstract String[] getFileEntryMimeTypes()
getUnavaiablePreviewErrorMessage
protected abstract String getUnavaiablePreviewErrorMessage()
getXugglerDisabledFileUploadReturnValue
protected abstract int getXugglerDisabledFileUploadReturnValue()
hasFileEntryPreview
protected abstract boolean hasFileEntryPreview(FileVersion fileVersion)