var ProductCatalogueService=function() {
ProductCatalogueService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProductCatalogueService.prototype={
ProductDataGet:function(pageSize,pageNumber,categoryTier,categoryID,genderID,orderBy,brandID,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'ProductDataGet',false,{pageSize:pageSize,pageNumber:pageNumber,categoryTier:categoryTier,categoryID:categoryID,genderID:genderID,orderBy:orderBy,brandID:brandID},succeededCallback,failedCallback,userContext); },
ProductsGetRecordCount:function(categoryTier,categoryID,genderID,orderBy,brandID,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'ProductsGetRecordCount',false,{categoryTier:categoryTier,categoryID:categoryID,genderID:genderID,orderBy:orderBy,brandID:brandID},succeededCallback,failedCallback,userContext); },
ProductCategoriesGet:function(categoryTier,location,categoryID,genderID,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'ProductCategoriesGet',false,{categoryTier:categoryTier,location:location,categoryID:categoryID,genderID:genderID},succeededCallback,failedCallback,userContext); },
ComboDataGet:function(userID,pageSize,pageNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'ComboDataGet',false,{userID:userID,pageSize:pageSize,pageNumber:pageNumber},succeededCallback,failedCallback,userContext); },
ComboGetRecordCount:function(userID,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'ComboGetRecordCount',false,{userID:userID},succeededCallback,failedCallback,userContext); },
FashionPhotosDataGet:function(userID,pageSize,pageNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'FashionPhotosDataGet',false,{userID:userID,pageSize:pageSize,pageNumber:pageNumber},succeededCallback,failedCallback,userContext); },
FashionPhotosGetRecordCount:function(userID,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'FashionPhotosGetRecordCount',false,{userID:userID},succeededCallback,failedCallback,userContext); },
FavouritesDataGet:function(userID,pageSize,pageNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'FavouritesDataGet',false,{userID:userID,pageSize:pageSize,pageNumber:pageNumber},succeededCallback,failedCallback,userContext); },
FavouritesGetRecordCount:function(userID,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'FavouritesGetRecordCount',false,{userID:userID},succeededCallback,failedCallback,userContext); },
ForumComboDataGet:function(forumID,pageSize,pageNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'ForumComboDataGet',false,{forumID:forumID,pageSize:pageSize,pageNumber:pageNumber},succeededCallback,failedCallback,userContext); },
ForumComboGetRecordCount:function(forumID,succeededCallback, failedCallback, userContext) {
return this._invoke(ProductCatalogueService.get_path(), 'ForumComboGetRecordCount',false,{forumID:forumID},succeededCallback,failedCallback,userContext); }}
ProductCatalogueService.registerClass('ProductCatalogueService',Sys.Net.WebServiceProxy);
ProductCatalogueService._staticInstance = new ProductCatalogueService();
ProductCatalogueService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ProductCatalogueService._staticInstance._path = value; }
ProductCatalogueService.get_path = function() { return ProductCatalogueService._staticInstance._path; }
ProductCatalogueService.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); }
ProductCatalogueService._staticInstance._timeout = value; }
ProductCatalogueService.get_timeout = function() { 
return ProductCatalogueService._staticInstance._timeout; }
ProductCatalogueService.set_defaultUserContext = function(value) { 
ProductCatalogueService._staticInstance._userContext = value; }
ProductCatalogueService.get_defaultUserContext = function() { 
return ProductCatalogueService._staticInstance._userContext; }
ProductCatalogueService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ProductCatalogueService._staticInstance._succeeded = value; }
ProductCatalogueService.get_defaultSucceededCallback = function() { 
return ProductCatalogueService._staticInstance._succeeded; }
ProductCatalogueService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ProductCatalogueService._staticInstance._failed = value; }
ProductCatalogueService.get_defaultFailedCallback = function() { 
return ProductCatalogueService._staticInstance._failed; }
ProductCatalogueService.set_path("/WebServices/productCatalogueService.asmx");
ProductCatalogueService.ProductDataGet= function(pageSize,pageNumber,categoryTier,categoryID,genderID,orderBy,brandID,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.ProductDataGet(pageSize,pageNumber,categoryTier,categoryID,genderID,orderBy,brandID,onSuccess,onFailed,userContext); }
ProductCatalogueService.ProductsGetRecordCount= function(categoryTier,categoryID,genderID,orderBy,brandID,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.ProductsGetRecordCount(categoryTier,categoryID,genderID,orderBy,brandID,onSuccess,onFailed,userContext); }
ProductCatalogueService.ProductCategoriesGet= function(categoryTier,location,categoryID,genderID,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.ProductCategoriesGet(categoryTier,location,categoryID,genderID,onSuccess,onFailed,userContext); }
ProductCatalogueService.ComboDataGet= function(userID,pageSize,pageNumber,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.ComboDataGet(userID,pageSize,pageNumber,onSuccess,onFailed,userContext); }
ProductCatalogueService.ComboGetRecordCount= function(userID,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.ComboGetRecordCount(userID,onSuccess,onFailed,userContext); }
ProductCatalogueService.FashionPhotosDataGet= function(userID,pageSize,pageNumber,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.FashionPhotosDataGet(userID,pageSize,pageNumber,onSuccess,onFailed,userContext); }
ProductCatalogueService.FashionPhotosGetRecordCount= function(userID,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.FashionPhotosGetRecordCount(userID,onSuccess,onFailed,userContext); }
ProductCatalogueService.FavouritesDataGet= function(userID,pageSize,pageNumber,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.FavouritesDataGet(userID,pageSize,pageNumber,onSuccess,onFailed,userContext); }
ProductCatalogueService.FavouritesGetRecordCount= function(userID,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.FavouritesGetRecordCount(userID,onSuccess,onFailed,userContext); }
ProductCatalogueService.ForumComboDataGet= function(forumID,pageSize,pageNumber,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.ForumComboDataGet(forumID,pageSize,pageNumber,onSuccess,onFailed,userContext); }
ProductCatalogueService.ForumComboGetRecordCount= function(forumID,onSuccess,onFailed,userContext) {ProductCatalogueService._staticInstance.ForumComboGetRecordCount(forumID,onSuccess,onFailed,userContext); }
