home *** CD-ROM | disk | FTP | other *** search
- package com.althea.client.shufflr.controller
- {
- import com.althea.client.shufflr.ApplicationFacade;
- import com.althea.client.shufflr.model.SourceSiteProxy;
- import org.puremvc.as3.multicore.interfaces.ICommand;
- import org.puremvc.as3.multicore.interfaces.INotification;
- import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
-
- public class SourceSiteCommand extends SimpleCommand implements ICommand
- {
- public function SourceSiteCommand()
- {
- super();
- }
-
- override public function execute(param1:INotification) : void
- {
- var _loc2_:String = param1.getName();
- switch(_loc2_)
- {
- case ApplicationFacade.READ_SOURCE_SITE:
- this.proxy.getSourceSiteTitle();
- }
- }
-
- private function get proxy() : SourceSiteProxy
- {
- return this.facade.retrieveProxy(SourceSiteProxy.NAME) as SourceSiteProxy;
- }
- }
- }
-
-