Type.registerNamespace('LMOpac.Web.Services');
LMOpac.Web.Services.CommentService=function() {
LMOpac.Web.Services.CommentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LMOpac.Web.Services.CommentService.prototype={
SaveComment:function(acno,sno,content,mark,succeededCallback, failedCallback, userContext) {
return this._invoke(LMOpac.Web.Services.CommentService.get_path(), 'SaveComment',false,{acno:acno,sno:sno,content:content,mark:mark},succeededCallback,failedCallback,userContext); },
SaveEvaluated:function(sno,acno,seq,bySno,succeededCallback, failedCallback, userContext) {
return this._invoke(LMOpac.Web.Services.CommentService.get_path(), 'SaveEvaluated',false,{sno:sno,acno:acno,seq:seq,bySno:bySno},succeededCallback,failedCallback,userContext); },
Impeach:function(sno,acno,seq,bySno,succeededCallback, failedCallback, userContext) {
return this._invoke(LMOpac.Web.Services.CommentService.get_path(), 'Impeach',false,{sno:sno,acno:acno,seq:seq,bySno:bySno},succeededCallback,failedCallback,userContext); },
ImpeachReply:function(comId,bySno,succeededCallback, failedCallback, userContext) {
return this._invoke(LMOpac.Web.Services.CommentService.get_path(), 'ImpeachReply',false,{comId:comId,bySno:bySno},succeededCallback,failedCallback,userContext); },
Reply:function(sno,acno,seq,replyContent,bySno,succeededCallback, failedCallback, userContext) {
return this._invoke(LMOpac.Web.Services.CommentService.get_path(), 'Reply',false,{sno:sno,acno:acno,seq:seq,replyContent:replyContent,bySno:bySno},succeededCallback,failedCallback,userContext); }}
LMOpac.Web.Services.CommentService.registerClass('LMOpac.Web.Services.CommentService',Sys.Net.WebServiceProxy);
LMOpac.Web.Services.CommentService._staticInstance = new LMOpac.Web.Services.CommentService();
LMOpac.Web.Services.CommentService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; LMOpac.Web.Services.CommentService._staticInstance._path = value; }
LMOpac.Web.Services.CommentService.get_path = function() { return LMOpac.Web.Services.CommentService._staticInstance._path; }
LMOpac.Web.Services.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); }
LMOpac.Web.Services.CommentService._staticInstance._timeout = value; }
LMOpac.Web.Services.CommentService.get_timeout = function() { 
return LMOpac.Web.Services.CommentService._staticInstance._timeout; }
LMOpac.Web.Services.CommentService.set_defaultUserContext = function(value) { 
LMOpac.Web.Services.CommentService._staticInstance._userContext = value; }
LMOpac.Web.Services.CommentService.get_defaultUserContext = function() { 
return LMOpac.Web.Services.CommentService._staticInstance._userContext; }
LMOpac.Web.Services.CommentService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; LMOpac.Web.Services.CommentService._staticInstance._succeeded = value; }
LMOpac.Web.Services.CommentService.get_defaultSucceededCallback = function() { 
return LMOpac.Web.Services.CommentService._staticInstance._succeeded; }
LMOpac.Web.Services.CommentService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; LMOpac.Web.Services.CommentService._staticInstance._failed = value; }
LMOpac.Web.Services.CommentService.get_defaultFailedCallback = function() { 
return LMOpac.Web.Services.CommentService._staticInstance._failed; }
LMOpac.Web.Services.CommentService.set_path("/Services/CommentService.asmx");
LMOpac.Web.Services.CommentService.SaveComment= function(acno,sno,content,mark,onSuccess,onFailed,userContext) {LMOpac.Web.Services.CommentService._staticInstance.SaveComment(acno,sno,content,mark,onSuccess,onFailed,userContext); }
LMOpac.Web.Services.CommentService.SaveEvaluated= function(sno,acno,seq,bySno,onSuccess,onFailed,userContext) {LMOpac.Web.Services.CommentService._staticInstance.SaveEvaluated(sno,acno,seq,bySno,onSuccess,onFailed,userContext); }
LMOpac.Web.Services.CommentService.Impeach= function(sno,acno,seq,bySno,onSuccess,onFailed,userContext) {LMOpac.Web.Services.CommentService._staticInstance.Impeach(sno,acno,seq,bySno,onSuccess,onFailed,userContext); }
LMOpac.Web.Services.CommentService.ImpeachReply= function(comId,bySno,onSuccess,onFailed,userContext) {LMOpac.Web.Services.CommentService._staticInstance.ImpeachReply(comId,bySno,onSuccess,onFailed,userContext); }
LMOpac.Web.Services.CommentService.Reply= function(sno,acno,seq,replyContent,bySno,onSuccess,onFailed,userContext) {LMOpac.Web.Services.CommentService._staticInstance.Reply(sno,acno,seq,replyContent,bySno,onSuccess,onFailed,userContext); }

