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 (GroupInterface == null) var GroupInterface = {}; GroupInterface._path = '/dwr'; GroupInterface.save = function(p0, callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'save', p0, callback); } GroupInterface.getAvailable = function(p0, callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'getAvailable', p0, callback); } GroupInterface.getAll = function(callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'getAll', callback); } GroupInterface.removeUser = function(p0, p1, callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'removeUser', p0, p1, callback); } GroupInterface.getByUser = function(p0, callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'getByUser', p0, callback); } GroupInterface.deleteGroup = function(p0, callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'deleteGroup', p0, callback); } GroupInterface.groupExists = function(p0, p1, callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'groupExists', p0, p1, callback); } GroupInterface.addUser = function(p0, p1, callback) { dwr.engine._execute(GroupInterface._path, 'GroupInterface', 'addUser', p0, p1, callback); }