package org.kuorum.service.helper.stats;

import org.kuorum.provider.mongo.model.kuorumUser.KuorumUser;
import org.kuorum.provider.mysql.model.user.CrmUser;

/**
 * This interface helps for calculate stats using a mixed data [newsletter, post, comments... ]
 */
public interface UserStatsDesnormalizer {
    /**
     * Recalculates de relevance of the user depending on num of debates/post and activity
     * @param user
     */
    void updateKuorumUserRelevance(KuorumUser user);

    /**
     * Recalculates de relevance of the user depending on num of debates/post and activity
     * @param user
     */
    void updateKuorumUserRelevance(CrmUser user);
}
