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 (ListingInterface == null) var ListingInterface = {}; ListingInterface._path = '/dwr'; ListingInterface.save = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'save', p0, callback); } ListingInterface.search = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'search', p0, callback); } ListingInterface.getOpenHouses = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getOpenHouses', p0, callback); } ListingInterface.getPhotos = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getPhotos', p0, callback); } ListingInterface.getByOffice = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getByOffice', p0, callback); } ListingInterface.getByAgent = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getByAgent', p0, callback); } ListingInterface.getCountByAgent = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getCountByAgent', p0, callback); } ListingInterface.getManagedListings = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getManagedListings', p0, callback); } ListingInterface.geocode = function(p0, p1, p2, p3, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'geocode', p0, p1, p2, p3, callback); } ListingInterface.getByMls = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getByMls', p0, callback); } ListingInterface.saveOpenHouse = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'saveOpenHouse', p0, p1, callback); } ListingInterface.deleteOpenHouse = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'deleteOpenHouse', p0, p1, callback); } ListingInterface.savePhotos = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'savePhotos', p0, p1, callback); } ListingInterface.canUserModify = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'canUserModify', p0, callback); } ListingInterface.getFeatureNames = function(callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getFeatureNames', callback); } ListingInterface.getFeatureValues = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getFeatureValues', p0, callback); } ListingInterface.updateCaption = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'updateCaption', p0, p1, callback); } ListingInterface.deletePhoto = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'deletePhoto', p0, callback); } ListingInterface.getRDCInfo = function(p0, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'getRDCInfo', p0, callback); } ListingInterface.saveRDCInfo = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'saveRDCInfo', p0, p1, callback); } ListingInterface.saveDescription = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'saveDescription', p0, p1, callback); } ListingInterface.saveFeatured = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'saveFeatured', p0, p1, callback); } ListingInterface.saveOtherInfo = function(p0, p1, callback) { dwr.engine._execute(ListingInterface._path, 'ListingInterface', 'saveOtherInfo', p0, p1, callback); }