/**
 * @fileoverview
 * This file contains the Pluck report manager class.
 */

/**
 * Pluck manager for reporting.
 * @constructor
 * @author Matt York
 * @version 1.0
 */
com.rogers.socialmedia.core.pluck.manager.PluckReportManager = function(config){
    this.inheritsFrom = com.rogers.socialmedia.core.pluck.manager.PluckBaseManager;
    this.inheritsFrom(config);
    
    this.reportCommentAbuse = function(key, reason, description){
		//alert("contentId: " + contentId + " , reason: " +  reason + " , description: " + description)
        var requestBatch = new RequestBatch();  
		var commentKey = new CommentKey(key);  
		var abuseReport = new ReportAbuseAction(commentKey, reason, description);  
		requestBatch.AddToRequest(abuseReport);   
		requestBatch.BeginRequest(this.getDirectProxyURL()); 
    }
};