Type.registerNamespace('Nygard.com');
Nygard.com.CatalogWebService=function() {
Nygard.com.CatalogWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Nygard.com.CatalogWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Nygard.com.CatalogWebService._staticInstance.get_path();},
ListCatalogNames:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListCatalogNames',false,{},succeededCallback,failedCallback,userContext); },
GetCatalogProps:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCatalogProps',false,{},succeededCallback,failedCallback,userContext); },
ListRootCategories:function(catalog,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListRootCategories',false,{catalog:catalog},succeededCallback,failedCallback,userContext); },
GetPreviousProduct:function(catalog,parentCategoryName,styleNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPreviousProduct',false,{catalog:catalog,parentCategoryName:parentCategoryName,styleNumber:styleNumber},succeededCallback,failedCallback,userContext); },
GetProduct:function(catalog,parentCategoryName,styleNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProduct',false,{catalog:catalog,parentCategoryName:parentCategoryName,styleNumber:styleNumber},succeededCallback,failedCallback,userContext); },
GetNextProduct:function(catalog,parentCategoryName,styleNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNextProduct',false,{catalog:catalog,parentCategoryName:parentCategoryName,styleNumber:styleNumber},succeededCallback,failedCallback,userContext); },
CategoryTree:function(catalog,parentCategoryName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CategoryTree',false,{catalog:catalog,parentCategoryName:parentCategoryName},succeededCallback,failedCallback,userContext); },
ListCategories:function(catalog,parent,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListCategories',false,{catalog:catalog,parent:parent},succeededCallback,failedCallback,userContext); },
oldListCategories:function(catalog,parent,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'oldListCategories',false,{catalog:catalog,parent:parent},succeededCallback,failedCallback,userContext); },
ListProducts:function(catalog,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListProducts',false,{catalog:catalog,category:category},succeededCallback,failedCallback,userContext); },
GetCategoryProperties:function(catalog,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategoryProperties',false,{catalog:catalog,category:category},succeededCallback,failedCallback,userContext); },
GetProductDetails:function(catalog,productid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductDetails',false,{catalog:catalog,productid:productid},succeededCallback,failedCallback,userContext); },
GetProductSwatchesToJSON:function(catalog,productid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductSwatchesToJSON',true,{catalog:catalog,productid:productid},succeededCallback,failedCallback,userContext); },
GetProductSwatches:function(catalog,productid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductSwatches',true,{catalog:catalog,productid:productid},succeededCallback,failedCallback,userContext); },
GetProductsInCollection:function(PGName,Division,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductsInCollection',false,{PGName:PGName,Division:Division},succeededCallback,failedCallback,userContext); },
GetProductsInCollectionToJSON:function(PGName,Division,StyleNumberToExclude,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductsInCollectionToJSON',true,{PGName:PGName,Division:Division,StyleNumberToExclude:StyleNumberToExclude},succeededCallback,failedCallback,userContext); },
GetProductVariants:function(catalog,productid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductVariants',true,{catalog:catalog,productid:productid},succeededCallback,failedCallback,userContext); }}
Nygard.com.CatalogWebService.registerClass('Nygard.com.CatalogWebService',Sys.Net.WebServiceProxy);
Nygard.com.CatalogWebService._staticInstance = new Nygard.com.CatalogWebService();
Nygard.com.CatalogWebService.set_path = function(value) { Nygard.com.CatalogWebService._staticInstance.set_path(value); }
Nygard.com.CatalogWebService.get_path = function() { return Nygard.com.CatalogWebService._staticInstance.get_path(); }
Nygard.com.CatalogWebService.set_timeout = function(value) { Nygard.com.CatalogWebService._staticInstance.set_timeout(value); }
Nygard.com.CatalogWebService.get_timeout = function() { return Nygard.com.CatalogWebService._staticInstance.get_timeout(); }
Nygard.com.CatalogWebService.set_defaultUserContext = function(value) { Nygard.com.CatalogWebService._staticInstance.set_defaultUserContext(value); }
Nygard.com.CatalogWebService.get_defaultUserContext = function() { return Nygard.com.CatalogWebService._staticInstance.get_defaultUserContext(); }
Nygard.com.CatalogWebService.set_defaultSucceededCallback = function(value) { Nygard.com.CatalogWebService._staticInstance.set_defaultSucceededCallback(value); }
Nygard.com.CatalogWebService.get_defaultSucceededCallback = function() { return Nygard.com.CatalogWebService._staticInstance.get_defaultSucceededCallback(); }
Nygard.com.CatalogWebService.set_defaultFailedCallback = function(value) { Nygard.com.CatalogWebService._staticInstance.set_defaultFailedCallback(value); }
Nygard.com.CatalogWebService.get_defaultFailedCallback = function() { return Nygard.com.CatalogWebService._staticInstance.get_defaultFailedCallback(); }
Nygard.com.CatalogWebService.set_path("/onlinestore/CatalogWebService.asmx");
Nygard.com.CatalogWebService.ListCatalogNames= function(onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.ListCatalogNames(onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetCatalogProps= function(onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetCatalogProps(onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.ListRootCategories= function(catalog,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.ListRootCategories(catalog,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetPreviousProduct= function(catalog,parentCategoryName,styleNumber,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetPreviousProduct(catalog,parentCategoryName,styleNumber,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetProduct= function(catalog,parentCategoryName,styleNumber,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetProduct(catalog,parentCategoryName,styleNumber,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetNextProduct= function(catalog,parentCategoryName,styleNumber,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetNextProduct(catalog,parentCategoryName,styleNumber,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.CategoryTree= function(catalog,parentCategoryName,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.CategoryTree(catalog,parentCategoryName,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.ListCategories= function(catalog,parent,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.ListCategories(catalog,parent,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.oldListCategories= function(catalog,parent,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.oldListCategories(catalog,parent,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.ListProducts= function(catalog,category,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.ListProducts(catalog,category,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetCategoryProperties= function(catalog,category,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetCategoryProperties(catalog,category,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetProductDetails= function(catalog,productid,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetProductDetails(catalog,productid,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetProductSwatchesToJSON= function(catalog,productid,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetProductSwatchesToJSON(catalog,productid,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetProductSwatches= function(catalog,productid,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetProductSwatches(catalog,productid,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetProductsInCollection= function(PGName,Division,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetProductsInCollection(PGName,Division,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetProductsInCollectionToJSON= function(PGName,Division,StyleNumberToExclude,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetProductsInCollectionToJSON(PGName,Division,StyleNumberToExclude,onSuccess,onFailed,userContext); }
Nygard.com.CatalogWebService.GetProductVariants= function(catalog,productid,onSuccess,onFailed,userContext) {Nygard.com.CatalogWebService._staticInstance.GetProductVariants(catalog,productid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataSet) === 'undefined') {
System.Data.DataSet=gtc("System.Data.DataSet");
System.Data.DataSet.registerClass('System.Data.DataSet');
}
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
if (typeof(Nygard.com.NygardStyle) === 'undefined') {
Nygard.com.NygardStyle=gtc("Nygard.com.NygardStyle");
Nygard.com.NygardStyle.registerClass('Nygard.com.NygardStyle');
}
