All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.cq.social.tally.RatingComponent Maven / Gradle / Ivy

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2012 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.social.tally;

import com.adobe.cq.social.tally.client.api.Rating;
import com.adobe.cq.social.tally.client.api.RatingSocialComponent;
import com.adobe.cq.social.tally.client.endpoints.TallyOperationsService;

/**
 * A tally that keep track of Ratings.
 * @deprecated @since AEM 6.0. Use {@link TallyOperationsService} and {@link RatingSocialComponent} instead.
 */
@Deprecated
public interface RatingComponent extends Tally {
    /**
     * @return The maximum allowed value that ratings can have
     */
    public Float getMaximumRatingValue();

    /**
     * @return The average user rating for this component
     */
    public Float getAverageRating();

    /**
     * @return the formatted average rating in String
     */
    String getFormattedAverageRating();

    /**
     * @return The URL to post the user responses to
     */
    public String getRateURL();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy