public abstract class BasePreviewBackgroundTaskExecutor
extends com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
Modifier and Type | Field and Description |
---|---|
protected com.liferay.document.library.configuration.DLFileEntryConfiguration |
dlFileEntryConfiguration |
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService |
dlFileEntryLocalService |
Constructor and Description |
---|
BasePreviewBackgroundTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(java.util.Map<java.lang.String,java.lang.Object> properties) |
com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor |
clone() |
com.liferay.portal.kernel.backgroundtask.BackgroundTaskResult |
execute(com.liferay.portal.kernel.backgroundtask.BackgroundTask backgroundTask) |
protected abstract void |
generatePreview(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
protected void |
generatePreviews(long companyId) |
com.liferay.portal.kernel.backgroundtask.display.BackgroundTaskDisplay |
getBackgroundTaskDisplay(com.liferay.portal.kernel.backgroundtask.BackgroundTask backgroundTask) |
protected abstract java.lang.String[] |
getMimeTypes() |
protected volatile com.liferay.document.library.configuration.DLFileEntryConfiguration dlFileEntryConfiguration
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService
public com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor clone()
clone
in interface com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor
clone
in class com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
public com.liferay.portal.kernel.backgroundtask.BackgroundTaskResult execute(com.liferay.portal.kernel.backgroundtask.BackgroundTask backgroundTask) throws java.lang.Exception
java.lang.Exception
public com.liferay.portal.kernel.backgroundtask.display.BackgroundTaskDisplay getBackgroundTaskDisplay(com.liferay.portal.kernel.backgroundtask.BackgroundTask backgroundTask)
protected void activate(java.util.Map<java.lang.String,java.lang.Object> properties)
protected abstract void generatePreview(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) throws java.lang.Exception
java.lang.Exception
protected void generatePreviews(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected abstract java.lang.String[] getMimeTypes()