public abstract class BasePreviewBackgroundTaskExecutor
extends com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
Modifier and Type | Field and Description |
---|---|
protected com.liferay.document.library.configuration.DLFileEntryConfigurationProvider |
dlFileEntryConfigurationProvider |
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService |
dlFileEntryLocalService |
Constructor and Description |
---|
BasePreviewBackgroundTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
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 com.liferay.document.library.configuration.DLFileEntryConfigurationProvider dlFileEntryConfigurationProvider
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 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()