com.adobe.cq.xf.ui.ExperienceFragmentStats Maven / Gradle / Ivy
/*******************************************************************************
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2016 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.xf.ui;
import aQute.bnd.annotation.ProviderType;
/**
* Sling Model for the Experience Fragmnts stats component, that is displayed in the experience fragment root page properties.
*/
@ProviderType
public interface ExperienceFragmentStats {
/**
* Retrieves the number of variations of this experience fragments. Essentially, this means the number of child pages.
*
* @return the total number of variations
*/
int getNumberOfVariants();
/**
* Retrieves the number of variations of this experience fragment that can be used in websites (web variations)
* @return the number of web variations of this experience fragment
*/
int getNumberOfWebVariants();
/**
* Retrieves the number of non-web variations
* @return the number of non-web variations of this experience fragment
*/
int getNumberOfNonWebVariants();
/**
* Retrieves the number of pages that use any web variations of this experience fragment
* @return the number of pages that embed variations of this experience fragment
*/
int getUsageCount();
}