Type.registerNamespace('Avenue7_Presentation');
Avenue7_Presentation.CommentService=function() {
Avenue7_Presentation.CommentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Avenue7_Presentation.CommentService.prototype={
CommentAddComment:function(MessageBody,comboGuid,succeededCallback, failedCallback, userContext) {
return this._invoke(Avenue7_Presentation.CommentService.get_path(), 'CommentAddComment',false,{MessageBody:MessageBody,comboGuid:comboGuid},succeededCallback,failedCallback,userContext); },
OutfitCommentDelete:function(messageID,succeededCallback, failedCallback, userContext) {
return this._invoke(Avenue7_Presentation.CommentService.get_path(), 'OutfitCommentDelete',false,{messageID:messageID},succeededCallback,failedCallback,userContext); },
ReportComment:function(commentID,succeededCallback, failedCallback, userContext) {
return this._invoke(Avenue7_Presentation.CommentService.get_path(), 'ReportComment',false,{commentID:commentID},succeededCallback,failedCallback,userContext); }}
Avenue7_Presentation.CommentService.registerClass('Avenue7_Presentation.CommentService',Sys.Net.WebServiceProxy);
Avenue7_Presentation.CommentService._staticInstance = new Avenue7_Presentation.CommentService();
Avenue7_Presentation.CommentService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Avenue7_Presentation.CommentService._staticInstance._path = value; }
Avenue7_Presentation.CommentService.get_path = function() { return Avenue7_Presentation.CommentService._staticInstance._path; }
Avenue7_Presentation.CommentService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Avenue7_Presentation.CommentService._staticInstance._timeout = value; }
Avenue7_Presentation.CommentService.get_timeout = function() { 
return Avenue7_Presentation.CommentService._staticInstance._timeout; }
Avenue7_Presentation.CommentService.set_defaultUserContext = function(value) { 
Avenue7_Presentation.CommentService._staticInstance._userContext = value; }
Avenue7_Presentation.CommentService.get_defaultUserContext = function() { 
return Avenue7_Presentation.CommentService._staticInstance._userContext; }
Avenue7_Presentation.CommentService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Avenue7_Presentation.CommentService._staticInstance._succeeded = value; }
Avenue7_Presentation.CommentService.get_defaultSucceededCallback = function() { 
return Avenue7_Presentation.CommentService._staticInstance._succeeded; }
Avenue7_Presentation.CommentService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Avenue7_Presentation.CommentService._staticInstance._failed = value; }
Avenue7_Presentation.CommentService.get_defaultFailedCallback = function() { 
return Avenue7_Presentation.CommentService._staticInstance._failed; }
Avenue7_Presentation.CommentService.set_path("/webServices/CommentService.asmx");
Avenue7_Presentation.CommentService.CommentAddComment= function(MessageBody,comboGuid,onSuccess,onFailed,userContext) {Avenue7_Presentation.CommentService._staticInstance.CommentAddComment(MessageBody,comboGuid,onSuccess,onFailed,userContext); }
Avenue7_Presentation.CommentService.OutfitCommentDelete= function(messageID,onSuccess,onFailed,userContext) {Avenue7_Presentation.CommentService._staticInstance.OutfitCommentDelete(messageID,onSuccess,onFailed,userContext); }
Avenue7_Presentation.CommentService.ReportComment= function(commentID,onSuccess,onFailed,userContext) {Avenue7_Presentation.CommentService._staticInstance.ReportComment(commentID,onSuccess,onFailed,userContext); }
