// 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; dwr.engine._defaultPath = '/dwr'; if (profileService == null) var profileService = {}; profileService._path = '/dwr'; profileService.getFriends = function(p0, callback) { dwr.engine._execute(profileService._path, 'profileService', 'getFriends', p0, callback); } profileService.answerQuestion = function(p0, p1, p2, callback) { dwr.engine._execute(profileService._path, 'profileService', 'answerQuestion', p0, p1, p2, callback); } profileService.makeFriend = function(p0, callback) { dwr.engine._execute(profileService._path, 'profileService', 'makeFriend', p0, callback); } profileService.endFriendship = function(p0, callback) { dwr.engine._execute(profileService._path, 'profileService', 'endFriendship', p0, callback); } profileService.calculateAndCacheAllNeighboursFromAllProfiles = function(callback) { dwr.engine._execute(profileService._path, 'profileService', 'calculateAndCacheAllNeighboursFromAllProfiles', callback); } profileService.calculateAndCacheAllFriendsFromAllProfiles = function(callback) { dwr.engine._execute(profileService._path, 'profileService', 'calculateAndCacheAllFriendsFromAllProfiles', callback); } profileService.calculateAndCacheAllFriendsAndNeighboursFromAllProfiles = function(callback) { dwr.engine._execute(profileService._path, 'profileService', 'calculateAndCacheAllFriendsAndNeighboursFromAllProfiles', callback); } profileService.getFollowing = function(p0, callback) { dwr.engine._execute(profileService._path, 'profileService', 'getFollowing', p0, callback); } profileService.getFollowers = function(p0, callback) { dwr.engine._execute(profileService._path, 'profileService', 'getFollowers', p0, callback); } profileService.updateProfileText = function(p0, callback) { dwr.engine._execute(profileService._path, 'profileService', 'updateProfileText', p0, callback); } profileService.updateProfileRemote = function(p0, callback) { dwr.engine._execute(profileService._path, 'profileService', 'updateProfileRemote', p0, callback); }