Example usage for com.liferay.portal.kernel.backgroundtask BackgroundTaskConstants ISOLATION_LEVEL_GROUP

List of usage examples for com.liferay.portal.kernel.backgroundtask BackgroundTaskConstants ISOLATION_LEVEL_GROUP

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.backgroundtask BackgroundTaskConstants ISOLATION_LEVEL_GROUP.

Prototype

int ISOLATION_LEVEL_GROUP

To view the source code for com.liferay.portal.kernel.backgroundtask BackgroundTaskConstants ISOLATION_LEVEL_GROUP.

Click Source Link

Usage

From source file:com.liferay.exportimport.internal.background.task.BaseStagingBackgroundTaskExecutor.java

License:Open Source License

public BaseStagingBackgroundTaskExecutor() {
    setBackgroundTaskStatusMessageTranslator(new DefaultExportImportBackgroundTaskStatusMessageTranslator());

    // Isolation level guarantees this will be serial in a group

    setIsolationLevel(BackgroundTaskConstants.ISOLATION_LEVEL_GROUP);
}

From source file:com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.java

License:Open Source License

public LayoutImportBackgroundTaskExecutor() {
    setBackgroundTaskStatusMessageTranslator(new LayoutExportImportBackgroundTaskStatusMessageTranslator());

    // Isolation level guarantees this will be serial in a group

    setIsolationLevel(BackgroundTaskConstants.ISOLATION_LEVEL_GROUP);
}

From source file:com.liferay.exportimport.internal.background.task.PortletImportBackgroundTaskExecutor.java

License:Open Source License

public PortletImportBackgroundTaskExecutor() {
    setBackgroundTaskStatusMessageTranslator(new PortletExportImportBackgroundTaskStatusMessageTranslator());

    // Isolation level guarantees this will be serial in a group

    setIsolationLevel(BackgroundTaskConstants.ISOLATION_LEVEL_GROUP);
}