// 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 (LocationBean == null) var LocationBean = {}; LocationBean._path = '/virgin-portlets/dwr'; LocationBean.setLocations = function(p0, callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'setLocations', p0, callback); } LocationBean.getContexts = function(callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'getContexts', callback); } LocationBean.setContexts = function(p0, callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'setContexts', p0, callback); } LocationBean.getLocations = function(callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'getLocations', callback); } LocationBean.getDepartures = function(callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'getDepartures', callback); } LocationBean.setDepartures = function(p0, callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'setDepartures', p0, callback); }