public interface DLProcessor
AudioProcessor,
DLPreviewableProcessor,
ImageProcessor,
PDFProcessor,
RawMetadataProcessor,
VideoProcessor| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
cleanUp(FileEntry fileEntry) |
void |
cleanUp(FileVersion fileVersion) |
void |
copy(FileVersion sourceFileVersion,
FileVersion destinationFileVersion) |
void |
exportGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
Element fileEntryElement) |
void |
importGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
FileEntry importedFileEntry,
Element fileEntryElement) |
boolean |
isSupported(FileVersion fileVersion) |
boolean |
isSupported(java.lang.String mimeType) |
void |
trigger(FileVersion sourceFileVersion,
FileVersion destinationFileVersion)
Launches the processor's work with respect to the given file version.
|
void afterPropertiesSet()
throws java.lang.Exception
java.lang.Exceptionvoid cleanUp(FileEntry fileEntry)
void cleanUp(FileVersion fileVersion)
void copy(FileVersion sourceFileVersion, FileVersion destinationFileVersion)
void exportGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, Element fileEntryElement) throws java.lang.Exception
java.lang.Exceptionvoid importGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, FileEntry importedFileEntry, Element fileEntryElement) throws java.lang.Exception
java.lang.Exceptionboolean isSupported(FileVersion fileVersion)
boolean isSupported(java.lang.String mimeType)
void trigger(FileVersion sourceFileVersion, FileVersion destinationFileVersion)
sourceFileVersion - the file version to copy previews and thumbnails
from (optionally null)destinationFileVersion - the latest file version to process