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 (DashboardInterface == null) var DashboardInterface = {}; DashboardInterface._path = '/dwr'; DashboardInterface.getFeed = function(p0, callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'getFeed', p0, callback); } DashboardInterface.getAllWidgets = function(callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'getAllWidgets', callback); } DashboardInterface.saveWidget = function(p0, callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'saveWidget', p0, callback); } DashboardInterface.deleteWidget = function(p0, callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'deleteWidget', p0, callback); } DashboardInterface.saveUserWidget = function(p0, callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'saveUserWidget', p0, callback); } DashboardInterface.deleteUserWidget = function(p0, callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'deleteUserWidget', p0, callback); } DashboardInterface.getUserWidgets = function(callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'getUserWidgets', callback); } DashboardInterface.getAvailableWidgets = function(callback) { dwr.engine._execute(DashboardInterface._path, 'DashboardInterface', 'getAvailableWidgets', callback); }