Type.registerNamespace('SbrClientService');
SbrClientService.SbrHelper=function() {
SbrClientService.SbrHelper.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SbrClientService.SbrHelper.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SbrClientService.SbrHelper._staticInstance.get_path();},
CheckboxSelectionNotify:function(param,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckboxSelectionNotify',false,{param:param},succeededCallback,failedCallback,userContext); },
RemoveCheckboxArr:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveCheckboxArr',false,{},succeededCallback,failedCallback,userContext); },
SetOfficeRating:function(comarchId,pin,officeId,rating,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetOfficeRating',false,{comarchId:comarchId,pin:pin,officeId:officeId,rating:rating},succeededCallback,failedCallback,userContext); },
GetRating:function(officeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRating',false,{officeId:officeId},succeededCallback,failedCallback,userContext); },
AddComment:function(c,authInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddComment',false,{c:c,authInfo:authInfo},succeededCallback,failedCallback,userContext); },
GetComments:function(rootId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetComments',false,{rootId:rootId},succeededCallback,failedCallback,userContext); },
SetAdvancedSearchParams:function(asp,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetAdvancedSearchParams',false,{asp:asp},succeededCallback,failedCallback,userContext); },
SetMemberLocation:function(ml,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetMemberLocation',false,{ml:ml},succeededCallback,failedCallback,userContext); }}
SbrClientService.SbrHelper.registerClass('SbrClientService.SbrHelper',Sys.Net.WebServiceProxy);
SbrClientService.SbrHelper._staticInstance = new SbrClientService.SbrHelper();
SbrClientService.SbrHelper.set_path = function(value) { SbrClientService.SbrHelper._staticInstance.set_path(value); }
SbrClientService.SbrHelper.get_path = function() { return SbrClientService.SbrHelper._staticInstance.get_path(); }
SbrClientService.SbrHelper.set_timeout = function(value) { SbrClientService.SbrHelper._staticInstance.set_timeout(value); }
SbrClientService.SbrHelper.get_timeout = function() { return SbrClientService.SbrHelper._staticInstance.get_timeout(); }
SbrClientService.SbrHelper.set_defaultUserContext = function(value) { SbrClientService.SbrHelper._staticInstance.set_defaultUserContext(value); }
SbrClientService.SbrHelper.get_defaultUserContext = function() { return SbrClientService.SbrHelper._staticInstance.get_defaultUserContext(); }
SbrClientService.SbrHelper.set_defaultSucceededCallback = function(value) { SbrClientService.SbrHelper._staticInstance.set_defaultSucceededCallback(value); }
SbrClientService.SbrHelper.get_defaultSucceededCallback = function() { return SbrClientService.SbrHelper._staticInstance.get_defaultSucceededCallback(); }
SbrClientService.SbrHelper.set_defaultFailedCallback = function(value) { SbrClientService.SbrHelper._staticInstance.set_defaultFailedCallback(value); }
SbrClientService.SbrHelper.get_defaultFailedCallback = function() { return SbrClientService.SbrHelper._staticInstance.get_defaultFailedCallback(); }
SbrClientService.SbrHelper.set_path("/SbrHelper.asmx");
SbrClientService.SbrHelper.CheckboxSelectionNotify= function(param,onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.CheckboxSelectionNotify(param,onSuccess,onFailed,userContext); }
SbrClientService.SbrHelper.RemoveCheckboxArr= function(onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.RemoveCheckboxArr(onSuccess,onFailed,userContext); }
SbrClientService.SbrHelper.SetOfficeRating= function(comarchId,pin,officeId,rating,onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.SetOfficeRating(comarchId,pin,officeId,rating,onSuccess,onFailed,userContext); }
SbrClientService.SbrHelper.GetRating= function(officeId,onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.GetRating(officeId,onSuccess,onFailed,userContext); }
SbrClientService.SbrHelper.AddComment= function(c,authInfo,onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.AddComment(c,authInfo,onSuccess,onFailed,userContext); }
SbrClientService.SbrHelper.GetComments= function(rootId,onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.GetComments(rootId,onSuccess,onFailed,userContext); }
SbrClientService.SbrHelper.SetAdvancedSearchParams= function(asp,onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.SetAdvancedSearchParams(asp,onSuccess,onFailed,userContext); }
SbrClientService.SbrHelper.SetMemberLocation= function(ml,onSuccess,onFailed,userContext) {SbrClientService.SbrHelper._staticInstance.SetMemberLocation(ml,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Comarch.MSP.DAW.SBR.Json');
if (typeof(Comarch.MSP.DAW.SBR.Json.JSonStringResponse) === 'undefined') {
Comarch.MSP.DAW.SBR.Json.JSonStringResponse=gtc("Comarch.MSP.DAW.SBR.Json.JSonStringResponse");
Comarch.MSP.DAW.SBR.Json.JSonStringResponse.registerClass('Comarch.MSP.DAW.SBR.Json.JSonStringResponse');
}
if (typeof(Comarch.MSP.DAW.SBR.Json.GetRatingResp) === 'undefined') {
Comarch.MSP.DAW.SBR.Json.GetRatingResp=gtc("Comarch.MSP.DAW.SBR.Json.GetRatingResp");
Comarch.MSP.DAW.SBR.Json.GetRatingResp.registerClass('Comarch.MSP.DAW.SBR.Json.GetRatingResp');
}
if (typeof(Comarch.MSP.DAW.SBR.Json.Comment) === 'undefined') {
Comarch.MSP.DAW.SBR.Json.Comment=gtc("Comarch.MSP.DAW.SBR.Json.Comment");
Comarch.MSP.DAW.SBR.Json.Comment.registerClass('Comarch.MSP.DAW.SBR.Json.Comment');
}
if (typeof(Comarch.MSP.DAW.SBR.Json.AuthInfo) === 'undefined') {
Comarch.MSP.DAW.SBR.Json.AuthInfo=gtc("Comarch.MSP.DAW.SBR.Json.AuthInfo");
Comarch.MSP.DAW.SBR.Json.AuthInfo.registerClass('Comarch.MSP.DAW.SBR.Json.AuthInfo');
}
if (typeof(Comarch.MSP.DAW.SBR.Json.AdvancedSearchParams) === 'undefined') {
Comarch.MSP.DAW.SBR.Json.AdvancedSearchParams=gtc("Comarch.MSP.DAW.SBR.Json.AdvancedSearchParams");
Comarch.MSP.DAW.SBR.Json.AdvancedSearchParams.registerClass('Comarch.MSP.DAW.SBR.Json.AdvancedSearchParams');
}
if (typeof(Comarch.MSP.DAW.SBR.Json.MemberLocation) === 'undefined') {
Comarch.MSP.DAW.SBR.Json.MemberLocation=gtc("Comarch.MSP.DAW.SBR.Json.MemberLocation");
Comarch.MSP.DAW.SBR.Json.MemberLocation.registerClass('Comarch.MSP.DAW.SBR.Json.MemberLocation');
}
