TermsAgreedEvent.as 863 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.imt.intimamedia.events.user
  2. {
  3. import com.imt.flex.cairngormExtended.event.SuperEvent;
  4. import com.imt.intimamedia.control.ApplicationController;
  5. import com.imt.intimamedia.vo.UserVo;
  6. /**
  7. * Evénement de récupération des cgv acceptées pour un utilisateur
  8. */
  9. public class TermsAgreedEvent extends SuperEvent
  10. {
  11. private var _user : UserVo;
  12. public function TermsAgreedEvent( user : UserVo, dispatcher : * = null )
  13. {
  14. super( ApplicationController.USER_TERMS_AGREED );
  15. this.user = user;
  16. this.dispatcher = dispatcher;
  17. }
  18. /**
  19. * Utilisateur transporté par l'événement
  20. *
  21. * @default null
  22. */
  23. public function get user () : UserVo
  24. {
  25. return _user;
  26. }
  27. /**
  28. * @private
  29. */
  30. public function set user ( value : UserVo ) : void
  31. {
  32. _user = value;
  33. }
  34. }
  35. }