Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.util
Class DLProcessorRegistryUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.util.DLProcessorRegistryUtil

public class DLProcessorRegistryUtil
extends Object


Constructor Summary
DLProcessorRegistryUtil()
           
 
Method Summary
static void cleanUp(FileEntry fileEntry)
           
static void cleanUp(FileVersion fileVersion)
           
static void exportGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, Element fileEntryElement)
           
static DLProcessor getDLProcessor(String dlProcessorType)
           
static DLProcessorRegistry getDLProcessorRegistry()
           
static void importGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, FileEntry importedFileEntry, Element fileEntryElement)
           
static boolean isPreviewableSize(FileVersion fileVersion)
           
static void register(DLProcessor dlProcessor)
           
 void setDLProcessorRegistry(DLProcessorRegistry dlProcessorRegistry)
           
static void trigger(FileEntry fileEntry, FileVersion fileVersion)
           
static void trigger(FileEntry fileEntry, FileVersion fileVersion, boolean trusted)
           
static void unregister(DLProcessor dlProcessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLProcessorRegistryUtil

public DLProcessorRegistryUtil()
Method Detail

cleanUp

public static void cleanUp(FileEntry fileEntry)

cleanUp

public static void cleanUp(FileVersion fileVersion)

exportGeneratedFiles

public static void exportGeneratedFiles(PortletDataContext portletDataContext,
                                        FileEntry fileEntry,
                                        Element fileEntryElement)
                                 throws Exception
Throws:
Exception

getDLProcessor

public static DLProcessor getDLProcessor(String dlProcessorType)

getDLProcessorRegistry

public static DLProcessorRegistry getDLProcessorRegistry()

importGeneratedFiles

public static void importGeneratedFiles(PortletDataContext portletDataContext,
                                        FileEntry fileEntry,
                                        FileEntry importedFileEntry,
                                        Element fileEntryElement)
                                 throws Exception
Throws:
Exception

isPreviewableSize

public static boolean isPreviewableSize(FileVersion fileVersion)

register

public static void register(DLProcessor dlProcessor)

trigger

public static void trigger(FileEntry fileEntry,
                           FileVersion fileVersion)

trigger

public static void trigger(FileEntry fileEntry,
                           FileVersion fileVersion,
                           boolean trusted)

unregister

public static void unregister(DLProcessor dlProcessor)

setDLProcessorRegistry

public void setDLProcessorRegistry(DLProcessorRegistry dlProcessorRegistry)

Liferay 6.2-ce-ga5