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 (ModuleInterface == null) var ModuleInterface = {}; ModuleInterface._path = '/dwr'; ModuleInterface.get = function(p0, callback) { dwr.engine._execute(ModuleInterface._path, 'ModuleInterface', 'get', p0, callback); } ModuleInterface.save = function(p0, callback) { dwr.engine._execute(ModuleInterface._path, 'ModuleInterface', 'save', p0, callback); } ModuleInterface.getAll = function(callback) { dwr.engine._execute(ModuleInterface._path, 'ModuleInterface', 'getAll', callback); } ModuleInterface.deleteModule = function(p0, callback) { dwr.engine._execute(ModuleInterface._path, 'ModuleInterface', 'deleteModule', p0, callback); }