Class BasePreviewBackgroundTaskExecutor
java.lang.Object
com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
com.liferay.document.library.preview.background.task.BasePreviewBackgroundTaskExecutor
- All Implemented Interfaces:
com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor
public abstract class BasePreviewBackgroundTaskExecutor
extends com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.document.library.configuration.DLFileEntryConfigurationProvider
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.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 String[]
Methods inherited from class com.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
generateLockKey, getBackgroundTaskStatusMessageTranslator, getIsolationLevel, getLocale, handleException, isSerial, setBackgroundTaskStatusMessageTranslator, setIsolationLevel
-
Field Details
-
dlFileEntryConfigurationProvider
protected com.liferay.document.library.configuration.DLFileEntryConfigurationProvider dlFileEntryConfigurationProvider -
dlFileEntryLocalService
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService
-
-
Constructor Details
-
BasePreviewBackgroundTaskExecutor
public BasePreviewBackgroundTaskExecutor()
-
-
Method Details
-
clone
public com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor clone()- Specified by:
clone
in interfacecom.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor
- Specified by:
clone
in classcom.liferay.portal.kernel.backgroundtask.BaseBackgroundTaskExecutor
-
execute
public com.liferay.portal.kernel.backgroundtask.BackgroundTaskResult execute(com.liferay.portal.kernel.backgroundtask.BackgroundTask backgroundTask) throws Exception - Throws:
Exception
-
getBackgroundTaskDisplay
public com.liferay.portal.kernel.backgroundtask.display.BackgroundTaskDisplay getBackgroundTaskDisplay(com.liferay.portal.kernel.backgroundtask.BackgroundTask backgroundTask) -
generatePreview
protected abstract void generatePreview(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) throws Exception - Throws:
Exception
-
generatePreviews
protected void generatePreviews(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMimeTypes
-