GetDataEvent.as 772 B

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