if (typeof HyperlocalUgcFloodException != "function") { function HyperlocalUgcFloodException() { this.message = null; this.cause = null; this.javaClassName = null; this.stackTrace = []; } } // 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 (AjaxUserHelper == null) var AjaxUserHelper = {}; AjaxUserHelper._path = '/dwr'; AjaxUserHelper.getMessageCount = function(callback) { dwr.engine._execute(AjaxUserHelper._path, 'AjaxUserHelper', 'getMessageCount', callback); } AjaxUserHelper.getUserProfileAndGroups = function(callback) { dwr.engine._execute(AjaxUserHelper._path, 'AjaxUserHelper', 'getUserProfileAndGroups', callback); } AjaxUserHelper.getUsersGroups = function(callback) { dwr.engine._execute(AjaxUserHelper._path, 'AjaxUserHelper', 'getUsersGroups', callback); } AjaxUserHelper.getMyGroupRecentArticles = function(callback) { dwr.engine._execute(AjaxUserHelper._path, 'AjaxUserHelper', 'getMyGroupRecentArticles', callback); }