SaveDataEvent.as 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.imt.intimamedia.events.report
  2. {
  3. import com.imt.flex.cairngormExtended.event.SuperEvent;
  4. import com.imt.intimamedia.control.ApplicationController;
  5. import com.imt.intimamedia.vo.ReportDataVo;
  6. /**
  7. * Evènement de sauvegarde des données pdf
  8. */
  9. public class SaveDataEvent extends SuperEvent
  10. {
  11. private var _reportDataVo : ReportDataVo;
  12. private var _appointment : int;
  13. public function SaveDataEvent( reportDataVo : ReportDataVo, appointment : int )
  14. {
  15. super( ApplicationController.SAVE_DATA );
  16. this.reportDataVo = reportDataVo;
  17. this.appointment = appointment;
  18. }
  19. public function get reportDataVo () : ReportDataVo
  20. {
  21. return _reportDataVo;
  22. }
  23. public function set reportDataVo ( value : ReportDataVo ) : void
  24. {
  25. _reportDataVo = value;
  26. }
  27. /**
  28. * ID du RDV en cours
  29. *
  30. * @default 0
  31. */
  32. public function get appointment () : int
  33. {
  34. return _appointment;
  35. }
  36. public function set appointment ( value : int ) : void
  37. {
  38. _appointment = value;
  39. }
  40. }
  41. }