if (typeof Product != "function") { function Product() { this.proID = null; this.weight = null; this.measure = null; this.viewItem = null; this.proIDNew = null; this.pressedFlag = null; this.featuredFlag = null; this.proName = null; this.stock = 0; this.inPrice = null; this.hardness = null; this.multFlag = null; this.proTypeCount = 0; this.imgDesc = null; this.fileList = null; this.proType = null; this.orderSEQ = null; this.origin = null; this.imgWidth = 0; this.updateDate = null; this.material = null; this.imgName = null; this.outPrice = null; this.subType = null; this.imgSrc = null; this.imgPrint = null; this.natural = null; this.prodesc = null; this.imgHeight = 0; } } // Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (productService == null) var productService = {}; productService._path = '/dwr'; productService.getProductListBySearchCount = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductListBySearchCount', p0, callback); } productService.getProductListBySearch = function(p0, p1, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductListBySearch', p0, p1, callback); } productService.getFeaturedProdcutListBySearch = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getFeaturedProdcutListBySearch', p0, callback); } productService.getProductListByTypeCount = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductListByTypeCount', p0, callback); } productService.getProductListByType = function(p0, p1, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductListByType', p0, p1, callback); } productService.getFeaturedProdcutList = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getFeaturedProdcutList', p0, callback); } productService.getProductInfoByID = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductInfoByID', p0, callback); } productService.deleteByID = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'deleteByID', p0, callback); } productService.getProductAllCountAdmin = function(callback) { dwr.engine._execute(productService._path, 'productService', 'getProductAllCountAdmin', callback); } productService.getProductAll = function(p0, p1, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductAll', p0, p1, callback); } productService.getProductListByTypeAdmin = function(p0, p1, p2, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductListByTypeAdmin', p0, p1, p2, callback); } productService.updateProductByIDAdmin = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'updateProductByIDAdmin', p0, callback); } productService.saveProductAdmin = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'saveProductAdmin', p0, callback); } productService.getProductNoPrice = function(p0, p1, p2, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductNoPrice', p0, p1, p2, callback); } productService.getFeaturedHomePageAll = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getFeaturedHomePageAll', p0, callback); } productService.getProductStockByID = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductStockByID', p0, callback); } productService.updateProductStockByID = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'updateProductStockByID', p0, callback); } productService.setDao = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'setDao', p0, callback); } productService.getProductTypeCount = function(callback) { dwr.engine._execute(productService._path, 'productService', 'getProductTypeCount', callback); } productService.getFeaturedProdcutListHomePage = function(callback) { dwr.engine._execute(productService._path, 'productService', 'getFeaturedProdcutListHomePage', callback); } productService.getTotalCountByType = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getTotalCountByType', p0, callback); } productService.getProductListBySearchAjax = function(p0, callback) { dwr.engine._execute(productService._path, 'productService', 'getProductListBySearchAjax', p0, callback); }