Type.registerNamespace('Poynting.App_Services');
Poynting.App_Services.ProductService=function() {
Poynting.App_Services.ProductService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Poynting.App_Services.ProductService.prototype={
FetchAll_OnDisplay:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Poynting.App_Services.ProductService.get_path(), 'FetchAll_OnDisplay',false,{},succeededCallback,failedCallback,userContext); }}
Poynting.App_Services.ProductService.registerClass('Poynting.App_Services.ProductService',Sys.Net.WebServiceProxy);
Poynting.App_Services.ProductService._staticInstance = new Poynting.App_Services.ProductService();
Poynting.App_Services.ProductService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Poynting.App_Services.ProductService._staticInstance._path = value; }
Poynting.App_Services.ProductService.get_path = function() { return Poynting.App_Services.ProductService._staticInstance._path; }
Poynting.App_Services.ProductService.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); }
Poynting.App_Services.ProductService._staticInstance._timeout = value; }
Poynting.App_Services.ProductService.get_timeout = function() { 
return Poynting.App_Services.ProductService._staticInstance._timeout; }
Poynting.App_Services.ProductService.set_defaultUserContext = function(value) { 
Poynting.App_Services.ProductService._staticInstance._userContext = value; }
Poynting.App_Services.ProductService.get_defaultUserContext = function() { 
return Poynting.App_Services.ProductService._staticInstance._userContext; }
Poynting.App_Services.ProductService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Poynting.App_Services.ProductService._staticInstance._succeeded = value; }
Poynting.App_Services.ProductService.get_defaultSucceededCallback = function() { 
return Poynting.App_Services.ProductService._staticInstance._succeeded; }
Poynting.App_Services.ProductService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Poynting.App_Services.ProductService._staticInstance._failed = value; }
Poynting.App_Services.ProductService.get_defaultFailedCallback = function() { 
return Poynting.App_Services.ProductService._staticInstance._failed; }
Poynting.App_Services.ProductService.set_path("/App_Services/ProductService.asmx");
Poynting.App_Services.ProductService.FetchAll_OnDisplay= function(onSuccess,onFailed,userContext) {Poynting.App_Services.ProductService._staticInstance.FetchAll_OnDisplay(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Poynting.BO.Bussiness');
if (typeof(Poynting.BO.Bussiness.Product) === 'undefined') {
Poynting.BO.Bussiness.Product=gtc("Poynting.BO.Bussiness.Product");
Poynting.BO.Bussiness.Product.registerClass('Poynting.BO.Bussiness.Product');
}
