ValidateAccountEvent.as 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package com.imt.intimamedia.events.user
  2. {
  3. import com.imt.flex.cairngormExtended.event.SuperEvent;
  4. import com.imt.intimamedia.control.ApplicationController;
  5. /**
  6. * Evénement de validation de compte
  7. */
  8. public class ValidateAccountEvent extends SuperEvent
  9. {
  10. private var _userId : String;
  11. private var _password : String;
  12. public function ValidateAccountEvent( userId : String, password : String, dispatcher : * = null )
  13. {
  14. super( ApplicationController.USER_VALIDATE_ACCOUNT );
  15. this.userId = userId;
  16. this.password = password;
  17. this.dispatcher = dispatcher;
  18. }
  19. /**
  20. *
  21. *
  22. * @default null
  23. */
  24. public function get userId () : String
  25. {
  26. return _userId;
  27. }
  28. /**
  29. * @private
  30. */
  31. public function set userId ( value : String ) : void
  32. {
  33. _userId = value;
  34. }
  35. /**
  36. *
  37. *
  38. * @default null
  39. */
  40. public function get password () : String
  41. {
  42. return _password;
  43. }
  44. /**
  45. * @private
  46. */
  47. public function set password ( value : String ) : void
  48. {
  49. _password = value;
  50. }
  51. }
  52. }