Type.registerNamespace('GSI.CRM.Comments');
GSI.CRM.Comments.CommentServices=function() {
GSI.CRM.Comments.CommentServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GSI.CRM.Comments.CommentServices.prototype={
InsertComment:function(IDContent,CommentText,Subject,TypeEntity,UserName,Estate,Email,CommentContentUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(GSI.CRM.Comments.CommentServices.get_path(), 'InsertComment',false,{IDContent:IDContent,CommentText:CommentText,Subject:Subject,TypeEntity:TypeEntity,UserName:UserName,Estate:Estate,Email:Email,CommentContentUrl:CommentContentUrl},succeededCallback,failedCallback,userContext); }}
GSI.CRM.Comments.CommentServices.registerClass('GSI.CRM.Comments.CommentServices',Sys.Net.WebServiceProxy);
GSI.CRM.Comments.CommentServices._staticInstance = new GSI.CRM.Comments.CommentServices();
GSI.CRM.Comments.CommentServices.set_path = function(value) { GSI.CRM.Comments.CommentServices._staticInstance._path = value; }
GSI.CRM.Comments.CommentServices.get_path = function() { return GSI.CRM.Comments.CommentServices._staticInstance._path; }
GSI.CRM.Comments.CommentServices.set_timeout = function(value) { GSI.CRM.Comments.CommentServices._staticInstance._timeout = value; }
GSI.CRM.Comments.CommentServices.get_timeout = function() { return GSI.CRM.Comments.CommentServices._staticInstance._timeout; }
GSI.CRM.Comments.CommentServices.set_defaultUserContext = function(value) { GSI.CRM.Comments.CommentServices._staticInstance._userContext = value; }
GSI.CRM.Comments.CommentServices.get_defaultUserContext = function() { return GSI.CRM.Comments.CommentServices._staticInstance._userContext; }
GSI.CRM.Comments.CommentServices.set_defaultSucceededCallback = function(value) { GSI.CRM.Comments.CommentServices._staticInstance._succeeded = value; }
GSI.CRM.Comments.CommentServices.get_defaultSucceededCallback = function() { return GSI.CRM.Comments.CommentServices._staticInstance._succeeded; }
GSI.CRM.Comments.CommentServices.set_defaultFailedCallback = function(value) { GSI.CRM.Comments.CommentServices._staticInstance._failed = value; }
GSI.CRM.Comments.CommentServices.get_defaultFailedCallback = function() { return GSI.CRM.Comments.CommentServices._staticInstance._failed; }
GSI.CRM.Comments.CommentServices.set_path("/WebServices/CommentServices.asmx");
GSI.CRM.Comments.CommentServices.InsertComment= function(IDContent,CommentText,Subject,TypeEntity,UserName,Estate,Email,CommentContentUrl,onSuccess,onFailed,userContext) {GSI.CRM.Comments.CommentServices._staticInstance.InsertComment(IDContent,CommentText,Subject,TypeEntity,UserName,Estate,Email,CommentContentUrl,onSuccess,onFailed,userContext); }
