if (typeof UserGroup != "function") { function UserGroup() { this.id = 0; this.group = null; this.user = null; } } if (typeof User != "function") { function User() { this.primaryOffice = null; this.id = 0; this.lastName = null; this.birthday = null; this.userGroups = null; this.phoneNumber = null; this.email = null; this.login = null; this.firstName = null; this.agent = null; } } // 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 (MenuInterface == null) var MenuInterface = {}; MenuInterface._path = '/dwr'; MenuInterface.get = function(p0, callback) { dwr.engine._execute(MenuInterface._path, 'MenuInterface', 'get', p0, callback); } MenuInterface.save = function(p0, callback) { dwr.engine._execute(MenuInterface._path, 'MenuInterface', 'save', p0, callback); } MenuInterface.deleteMenu = function(p0, callback) { dwr.engine._execute(MenuInterface._path, 'MenuInterface', 'deleteMenu', p0, callback); } MenuInterface.getUserMenu = function(callback) { dwr.engine._execute(MenuInterface._path, 'MenuInterface', 'getUserMenu', callback); } MenuInterface.getRootMenus = function(callback) { dwr.engine._execute(MenuInterface._path, 'MenuInterface', 'getRootMenus', callback); } MenuInterface.getSubMenus = function(p0, callback) { dwr.engine._execute(MenuInterface._path, 'MenuInterface', 'getSubMenus', p0, callback); }