/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); Booking recBooking = (Booking)this.getRecord(Booking.BOOKING_FILE); Profile recProfile = (Profile)this.getRecord(Profile.PROFILE_FILE); recBooking.addSecondProfile(recProfile); // Agency Secondary logic recProfile.setOpenMode(DBConstants.OPEN_REFRESH_AND_LOCK_ON_CHANGE_STRATEGY); recProfile.addListener(new UpdateOnCloseHandler(null)); // Make sure profile information is updated } /**
recBooking.addSecondProfile(recProfile); // Agency Secondary logic recProfile.setHandle(bookmarkMain, DBConstants.BOOKMARK_HANDLE); } catch (DBException ex) {