Example usage for com.liferay.portal.kernel.settings ArchivedSettings getModifiedDate

List of usage examples for com.liferay.portal.kernel.settings ArchivedSettings getModifiedDate

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.settings ArchivedSettings getModifiedDate.

Prototype

public Date getModifiedDate();

Source Link

Usage

From source file:com.liferay.portlet.configuration.web.internal.util.comparator.ArchivedSettingsModifiedDateComparator.java

License:Open Source License

@Override
public int compare(ArchivedSettings archivedSettings1, ArchivedSettings archivedSettings2) {

    int value = DateUtil.compareTo(archivedSettings1.getModifiedDate(), archivedSettings2.getModifiedDate());

    if (_ascending) {
        return value;
    } else {//from  www.j  ava2s  . c  o  m
        return -value;
    }
}