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 (LockBoxInterface == null) var LockBoxInterface = {}; LockBoxInterface._path = '/dwr'; LockBoxInterface.get = function(p0, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'get', p0, callback); } LockBoxInterface.save = function(p0, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'save', p0, callback); } LockBoxInterface.search = function(p0, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'search', p0, callback); } LockBoxInterface.getAll = function(callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'getAll', callback); } LockBoxInterface.assign = function(p0, p1, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'assign', p0, p1, callback); } LockBoxInterface.getByOffice = function(p0, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'getByOffice', p0, callback); } LockBoxInterface.returnBox = function(p0, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'returnBox', p0, callback); } LockBoxInterface.getByProperty = function(p0, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'getByProperty', p0, callback); } LockBoxInterface.deleteBox = function(p0, callback) { dwr.engine._execute(LockBoxInterface._path, 'LockBoxInterface', 'deleteBox', p0, callback); }