Liferay 6.1.0-ce-rc1

com.liferay.portlet.documentlibrary.util
Interface DLProcessor

All Known Implementing Classes:
AudioProcessor, DefaultPreviewableProcessor, DLPreviewableProcessor, ImageProcessor, PDFProcessor, RawMetadataProcessor, VideoProcessor

public interface DLProcessor

Common interface for all the processors of the document library. All document library processors must implement this interface.

See Also:
AudioProcessor, DLPreviewableProcessor, ImageProcessor, PDFProcessor, RawMetadataProcessor, VideoProcessor

Method Summary
 void cleanUp(FileEntry fileEntry)
           
 void cleanUp(FileVersion fileVersion)
           
 boolean isSupported(FileVersion fileVersion)
           
 boolean isSupported(String mimeType)
           
 void trigger(FileVersion fileVersion)
          Launches the processor's work with respect to the given file version.
 

Method Detail

cleanUp

void cleanUp(FileEntry fileEntry)

cleanUp

void cleanUp(FileVersion fileVersion)

isSupported

boolean isSupported(FileVersion fileVersion)

isSupported

boolean isSupported(String mimeType)

trigger

void trigger(FileVersion fileVersion)
Launches the processor's work with respect to the given file version.

Parameters:
fileVersion - the latest file version to process

Liferay 6.1.0-ce-rc1