| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- package com.imt.intimamedia.events.user
- {
- import com.imt.flex.cairngormExtended.event.SuperEvent;
- import com.imt.intimamedia.control.ApplicationController;
- import com.imt.intimamedia.vo.UserVo;
-
- /**
- * Evénement de création d'un utilisateur
- */
- public class UpdateUserEvent extends SuperEvent
- {
- private var _user : UserVo;
- private var _profil : String;
-
- public function UpdateUserEvent( user : UserVo, profil : String, dispatcher : * = null )
- {
- super( ApplicationController.USER_UPDATE );
-
- this.user = user;
- this.profil = profil;
- this.dispatcher = dispatcher;
- }
-
- /**
- * Utilisateur transporté par l'événement
- *
- * @default null
- */
- public function get user () : UserVo
- {
- return _user;
- }
-
- /**
- * @private
- */
- public function set user ( value : UserVo ) : void
- {
- _user = value;
- }
-
- /**
- * Profil de l'utilisateur
- *
- * @default null
- */
- public function get profil () : String
- {
- return _profil;
- }
-
- /**
- * @private
- */
- public function set profil ( value : String ) : void
- {
- _profil = value;
- }
- }
- }
|