Type.registerNamespace('Gyproc.WebServices.Products');
Gyproc.WebServices.Products.ProductsSearch=function() {
Gyproc.WebServices.Products.ProductsSearch.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Gyproc.WebServices.Products.ProductsSearch.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Gyproc.WebServices.Products.ProductsSearch._staticInstance.get_path();},
getproducttypes:function(productGroupId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getproducttypes',false,{productGroupId:productGroupId},succeededCallback,failedCallback,userContext); },
getsearchresults:function(queryString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getsearchresults',false,{queryString:queryString},succeededCallback,failedCallback,userContext); },
gethomesearchresults:function(soundIsolationId,fireResistance,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'gethomesearchresults',false,{soundIsolationId:soundIsolationId,fireResistance:fireResistance},succeededCallback,failedCallback,userContext); }}
Gyproc.WebServices.Products.ProductsSearch.registerClass('Gyproc.WebServices.Products.ProductsSearch',Sys.Net.WebServiceProxy);
Gyproc.WebServices.Products.ProductsSearch._staticInstance = new Gyproc.WebServices.Products.ProductsSearch();
Gyproc.WebServices.Products.ProductsSearch.set_path = function(value) { Gyproc.WebServices.Products.ProductsSearch._staticInstance.set_path(value); }
Gyproc.WebServices.Products.ProductsSearch.get_path = function() { return Gyproc.WebServices.Products.ProductsSearch._staticInstance.get_path(); }
Gyproc.WebServices.Products.ProductsSearch.set_timeout = function(value) { Gyproc.WebServices.Products.ProductsSearch._staticInstance.set_timeout(value); }
Gyproc.WebServices.Products.ProductsSearch.get_timeout = function() { return Gyproc.WebServices.Products.ProductsSearch._staticInstance.get_timeout(); }
Gyproc.WebServices.Products.ProductsSearch.set_defaultUserContext = function(value) { Gyproc.WebServices.Products.ProductsSearch._staticInstance.set_defaultUserContext(value); }
Gyproc.WebServices.Products.ProductsSearch.get_defaultUserContext = function() { return Gyproc.WebServices.Products.ProductsSearch._staticInstance.get_defaultUserContext(); }
Gyproc.WebServices.Products.ProductsSearch.set_defaultSucceededCallback = function(value) { Gyproc.WebServices.Products.ProductsSearch._staticInstance.set_defaultSucceededCallback(value); }
Gyproc.WebServices.Products.ProductsSearch.get_defaultSucceededCallback = function() { return Gyproc.WebServices.Products.ProductsSearch._staticInstance.get_defaultSucceededCallback(); }
Gyproc.WebServices.Products.ProductsSearch.set_defaultFailedCallback = function(value) { Gyproc.WebServices.Products.ProductsSearch._staticInstance.set_defaultFailedCallback(value); }
Gyproc.WebServices.Products.ProductsSearch.get_defaultFailedCallback = function() { return Gyproc.WebServices.Products.ProductsSearch._staticInstance.get_defaultFailedCallback(); }
Gyproc.WebServices.Products.ProductsSearch.set_path("/webservices/products/productssearch.asmx");
Gyproc.WebServices.Products.ProductsSearch.getproducttypes= function(productGroupId,onSuccess,onFailed,userContext) {Gyproc.WebServices.Products.ProductsSearch._staticInstance.getproducttypes(productGroupId,onSuccess,onFailed,userContext); }
Gyproc.WebServices.Products.ProductsSearch.getsearchresults= function(queryString,onSuccess,onFailed,userContext) {Gyproc.WebServices.Products.ProductsSearch._staticInstance.getsearchresults(queryString,onSuccess,onFailed,userContext); }
Gyproc.WebServices.Products.ProductsSearch.gethomesearchresults= function(soundIsolationId,fireResistance,onSuccess,onFailed,userContext) {Gyproc.WebServices.Products.ProductsSearch._staticInstance.gethomesearchresults(soundIsolationId,fireResistance,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Gyproc.Classes.Gyproc.Products');
if (typeof(Gyproc.Classes.Gyproc.Products.ProductAttribute) === 'undefined') {
Gyproc.Classes.Gyproc.Products.ProductAttribute=gtc("Gyproc.Classes.Gyproc.Products.ProductAttribute");
Gyproc.Classes.Gyproc.Products.ProductAttribute.registerClass('Gyproc.Classes.Gyproc.Products.ProductAttribute');
}
if (typeof(Gyproc.Classes.Gyproc.Products.ProductSearchResults) === 'undefined') {
Gyproc.Classes.Gyproc.Products.ProductSearchResults=gtc("Gyproc.Classes.Gyproc.Products.ProductSearchResults");
Gyproc.Classes.Gyproc.Products.ProductSearchResults.registerClass('Gyproc.Classes.Gyproc.Products.ProductSearchResults');
}
if (typeof(Gyproc.Classes.Gyproc.Products.HomeSearchResults) === 'undefined') {
Gyproc.Classes.Gyproc.Products.HomeSearchResults=gtc("Gyproc.Classes.Gyproc.Products.HomeSearchResults");
Gyproc.Classes.Gyproc.Products.HomeSearchResults.registerClass('Gyproc.Classes.Gyproc.Products.HomeSearchResults');
}

