// 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 (ProductsSession == null) var ProductsSession = {};
ProductsSession._path = '/dwr';
ProductsSession.getNumberModel = function(callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getNumberModel', callback);
}
ProductsSession.setNumberModel = function(p0, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'setNumberModel', p0, callback);
}
ProductsSession.getProductsByKind = function(p0, p1, p2, p3, p4, p5, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getProductsByKind', p0, p1, p2, p3, p4, p5, callback);
}
ProductsSession.getProductsCountByKind = function(p0, p1, p2, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getProductsCountByKind', p0, p1, p2, false, callback);
}
ProductsSession.getProductsByCatalog = function(p0, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getProductsByCatalog', p0, callback);
}
ProductsSession.getMdba = function(callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getMdba', callback);
}
ProductsSession.setMdba = function(p0, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'setMdba', p0, callback);
}
ProductsSession.getPagesCountByCategory = function(p0, p1, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getPagesCountByCategory', p0, p1, callback);
}
ProductsSession.getProductsByCategory = function(p0, p1, p2, p3, p4, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getProductsByCategory', p0, p1, p2, p3, p4, callback);
}
ProductsSession.getProductsByName = function(p0, p1, p2, p3, p4, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getProductsByName', p0, p1, p2, p3, p4, callback);
}
ProductsSession.getProductsById = function(p0, callback) {
  dwr.engine._execute(ProductsSession._path, 'ProductsSession', 'getProductsById', p0, callback);
}