
com.adobe.cq.screens.device.DeviceActivationStatus Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2018 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
************************************************************************/
package com.adobe.cq.screens.device;
public interface DeviceActivationStatus {
/**
* Returns whether the device is activated.
* A device is considered to be activated if the last replication action for the device user path and for the device config path, if exists, is ACTIVATE.
*/
boolean isActivated();
/**
* Returns time when the device was last replicated
*/
long getLastActivated();
/**
* Returns whether the device needs to be reactivated
* A device needs to be reactivate if:
*
* - the device user/profile/preferences nodes were modified after the device user node was replicated or
* - the device config node was modified after the device config node was replicated
*
*/
boolean isReactivationNeeded();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy