Type.registerNamespace('Nunusoft.Presentation.Services');
Nunusoft.Presentation.Services.WS_SoftwareComment=function() {
Nunusoft.Presentation.Services.WS_SoftwareComment.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Nunusoft.Presentation.Services.WS_SoftwareComment.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.get_path();},
GetListBySoftwareId:function(id,sortBy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetListBySoftwareId',false,{id:id,sortBy:sortBy},succeededCallback,failedCallback,userContext); },
AddComment:function(swId,commentContent,commentUserId,commentedBy,rate,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddComment',false,{swId:swId,commentContent:commentContent,commentUserId:commentUserId,commentedBy:commentedBy,rate:rate},succeededCallback,failedCallback,userContext); }}
Nunusoft.Presentation.Services.WS_SoftwareComment.registerClass('Nunusoft.Presentation.Services.WS_SoftwareComment',Sys.Net.WebServiceProxy);
Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance = new Nunusoft.Presentation.Services.WS_SoftwareComment();
Nunusoft.Presentation.Services.WS_SoftwareComment.set_path = function(value) { Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.set_path(value); }
Nunusoft.Presentation.Services.WS_SoftwareComment.get_path = function() { return Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.get_path(); }
Nunusoft.Presentation.Services.WS_SoftwareComment.set_timeout = function(value) { Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.set_timeout(value); }
Nunusoft.Presentation.Services.WS_SoftwareComment.get_timeout = function() { return Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.get_timeout(); }
Nunusoft.Presentation.Services.WS_SoftwareComment.set_defaultUserContext = function(value) { Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.set_defaultUserContext(value); }
Nunusoft.Presentation.Services.WS_SoftwareComment.get_defaultUserContext = function() { return Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.get_defaultUserContext(); }
Nunusoft.Presentation.Services.WS_SoftwareComment.set_defaultSucceededCallback = function(value) { Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.set_defaultSucceededCallback(value); }
Nunusoft.Presentation.Services.WS_SoftwareComment.get_defaultSucceededCallback = function() { return Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.get_defaultSucceededCallback(); }
Nunusoft.Presentation.Services.WS_SoftwareComment.set_defaultFailedCallback = function(value) { Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.set_defaultFailedCallback(value); }
Nunusoft.Presentation.Services.WS_SoftwareComment.get_defaultFailedCallback = function() { return Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.get_defaultFailedCallback(); }
Nunusoft.Presentation.Services.WS_SoftwareComment.set_path("/Downloads/WS/WS_SoftwareComment.asmx");
Nunusoft.Presentation.Services.WS_SoftwareComment.GetListBySoftwareId= function(id,sortBy,onSuccess,onFailed,userContext) {Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.GetListBySoftwareId(id,sortBy,onSuccess,onFailed,userContext); }
Nunusoft.Presentation.Services.WS_SoftwareComment.AddComment= function(swId,commentContent,commentUserId,commentedBy,rate,onSuccess,onFailed,userContext) {Nunusoft.Presentation.Services.WS_SoftwareComment._staticInstance.AddComment(swId,commentContent,commentUserId,commentedBy,rate,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Nunusoft.Presentation.ClientEntries');
if (typeof(Nunusoft.Presentation.ClientEntries.CComment) === 'undefined') {
Nunusoft.Presentation.ClientEntries.CComment=gtc("Nunusoft.Presentation.ClientEntries.CComment");
Nunusoft.Presentation.ClientEntries.CComment.registerClass('Nunusoft.Presentation.ClientEntries.CComment');
}
if (typeof(Nunusoft.Presentation.Services.WSResult) === 'undefined') {
Nunusoft.Presentation.Services.WSResult=gtc("Nunusoft.Presentation.Services.WSResult");
Nunusoft.Presentation.Services.WSResult.registerClass('Nunusoft.Presentation.Services.WSResult');
}
