Example usage for com.liferay.portal.kernel.search.background.task ReindexBackgroundTaskConstants COMPANY_ID

List of usage examples for com.liferay.portal.kernel.search.background.task ReindexBackgroundTaskConstants COMPANY_ID

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.search.background.task ReindexBackgroundTaskConstants COMPANY_ID.

Prototype

String COMPANY_ID

To view the source code for com.liferay.portal.kernel.search.background.task ReindexBackgroundTaskConstants COMPANY_ID.

Click Source Link

Usage

From source file:com.liferay.adaptive.media.web.internal.background.task.OptimizeImagesBackgroundTaskStatusMessageTranslator.java

License:Open Source License

protected void setPhaseAttributes(BackgroundTaskStatus backgroundTaskStatus, Message message) {

    backgroundTaskStatus.setAttribute(ReindexBackgroundTaskConstants.COMPANY_ID,
            message.getLong(ReindexBackgroundTaskConstants.COMPANY_ID));
    backgroundTaskStatus.setAttribute(ReindexBackgroundTaskConstants.PHASE,
            message.getString(ReindexBackgroundTaskConstants.PHASE));
}