Type.registerNamespace('ICParkWeb');
ICParkWeb.CustomerService=function() {
ICParkWeb.CustomerService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ICParkWeb.CustomerService.prototype={
SavePersonalSign:function(customerId,signText,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'SavePersonalSign',false,{customerId:customerId,signText:signText},succeededCallback,failedCallback,userContext); },
SaveStockCategoryName:function(customerId,categoryId,categoryName,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'SaveStockCategoryName',false,{customerId:customerId,categoryId:categoryId,categoryName:categoryName},succeededCallback,failedCallback,userContext); },
FetchBaseInfoForManage:function(customerId,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'FetchBaseInfoForManage',false,{customerId:customerId},succeededCallback,failedCallback,userContext); },
SendFriendApply:function(fid,content,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'SendFriendApply',false,{fid:fid,content:content},succeededCallback,failedCallback,userContext); },
SetFriendLimit:function(cb1,cb2,cb3,cb4,cb5,cb6,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'SetFriendLimit',false,{cb1:cb1,cb2:cb2,cb3:cb3,cb4:cb4,cb5:cb5,cb6:cb6},succeededCallback,failedCallback,userContext); },
SendMsg:function(toCustId,content,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'SendMsg',false,{toCustId:toCustId,content:content},succeededCallback,failedCallback,userContext); },
GetBusinessContactTip:function(contactId,num,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'GetBusinessContactTip',false,{contactId:contactId,num:num},succeededCallback,failedCallback,userContext); },
GetCustomerTypeTip:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'GetCustomerTypeTip',false,{},succeededCallback,failedCallback,userContext); },
RecommendProductGroup:function(groupId,groupName,content,email,name,url,succeededCallback, failedCallback, userContext) {
return this._invoke(ICParkWeb.CustomerService.get_path(), 'RecommendProductGroup',false,{groupId:groupId,groupName:groupName,content:content,email:email,name:name,url:url},succeededCallback,failedCallback,userContext); }}
ICParkWeb.CustomerService.registerClass('ICParkWeb.CustomerService',Sys.Net.WebServiceProxy);
ICParkWeb.CustomerService._staticInstance = new ICParkWeb.CustomerService();
ICParkWeb.CustomerService.set_path = function(value) { ICParkWeb.CustomerService._staticInstance._path = value; }
ICParkWeb.CustomerService.get_path = function() { return ICParkWeb.CustomerService._staticInstance._path; }
ICParkWeb.CustomerService.set_timeout = function(value) { ICParkWeb.CustomerService._staticInstance._timeout = value; }
ICParkWeb.CustomerService.get_timeout = function() { return ICParkWeb.CustomerService._staticInstance._timeout; }
ICParkWeb.CustomerService.set_defaultUserContext = function(value) { ICParkWeb.CustomerService._staticInstance._userContext = value; }
ICParkWeb.CustomerService.get_defaultUserContext = function() { return ICParkWeb.CustomerService._staticInstance._userContext; }
ICParkWeb.CustomerService.set_defaultSucceededCallback = function(value) { ICParkWeb.CustomerService._staticInstance._succeeded = value; }
ICParkWeb.CustomerService.get_defaultSucceededCallback = function() { return ICParkWeb.CustomerService._staticInstance._succeeded; }
ICParkWeb.CustomerService.set_defaultFailedCallback = function(value) { ICParkWeb.CustomerService._staticInstance._failed = value; }
ICParkWeb.CustomerService.get_defaultFailedCallback = function() { return ICParkWeb.CustomerService._staticInstance._failed; }
ICParkWeb.CustomerService.set_path("/CustomerService.asmx");
ICParkWeb.CustomerService.SavePersonalSign= function(customerId,signText,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.SavePersonalSign(customerId,signText,onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.SaveStockCategoryName= function(customerId,categoryId,categoryName,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.SaveStockCategoryName(customerId,categoryId,categoryName,onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.FetchBaseInfoForManage= function(customerId,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.FetchBaseInfoForManage(customerId,onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.SendFriendApply= function(fid,content,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.SendFriendApply(fid,content,onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.SetFriendLimit= function(cb1,cb2,cb3,cb4,cb5,cb6,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.SetFriendLimit(cb1,cb2,cb3,cb4,cb5,cb6,onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.SendMsg= function(toCustId,content,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.SendMsg(toCustId,content,onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.GetBusinessContactTip= function(contactId,num,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.GetBusinessContactTip(contactId,num,onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.GetCustomerTypeTip= function(onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.GetCustomerTypeTip(onSuccess,onFailed,userContext); }
ICParkWeb.CustomerService.RecommendProductGroup= function(groupId,groupName,content,email,name,url,onSuccess,onFailed,userContext) {ICParkWeb.CustomerService._staticInstance.RecommendProductGroup(groupId,groupName,content,email,name,url,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('ICPark.DTO.Customer');
if (typeof(ICPark.DTO.Customer.CustomerCompanyBaseInfo) === 'undefined') {
ICPark.DTO.Customer.CustomerCompanyBaseInfo=gtc("ICPark.DTO.Customer.CustomerCompanyBaseInfo");
ICPark.DTO.Customer.CustomerCompanyBaseInfo.registerClass('ICPark.DTO.Customer.CustomerCompanyBaseInfo');
}
