if (typeof Car != "function") { function Car() { this.carType = null; this.carClass = null; } } if (typeof Location != "function") { function Location() { this.id = null; this.name = null; } } if (typeof Flight != "function") { function Flight() { this.legs = null; } } if (typeof Transfer != "function") { function Transfer() { this.insurance = null; this.holiday = null; this.returnTransfer = null; this.dateRange = null; this.price = null; this.forcedAttribute = null; this.name = null; this.pickupPoint = null; this.errata = null; this.visibilityAttribute = null; this.supplier = null; this.dropOffPoint = null; } } if (typeof Location != "function") { function Location() { this.id = null; this.name = null; } } if (typeof Hotel != "function") { function Hotel() { this.roomGroup = null; this.name = null; } } if (typeof SearchResults != "function") { function SearchResults() { this.totalResults = null; this.page = null; this.holidays = null; } } if (typeof Holiday != "function") { function Holiday() { this.yb = null; this.cf = 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 (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.setDepartures = function(p0, callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'setDepartures', p0, callback); } LocationBean.getDepartures = function(callback) { dwr.engine._execute(LocationBean._path, 'LocationBean', 'getDepartures', callback); }