Skip to content

Instantly share code, notes, and snippets.

@nsdevaraj
Created May 12, 2010 12:14
Show Gist options
  • Save nsdevaraj/398505 to your computer and use it in GitHub Desktop.
Save nsdevaraj/398505 to your computer and use it in GitHub Desktop.
public class AbstractDAO extends CRUDObject{
[Inject]
public var messenger:NativeMessenger;
public function AbstractDAO(destn:String,process:IVOProcessor =null)
{
destination = destn;
processor = process;
}
[MediateSignal(type="AbstractSignal")]
public function invokeAction(obj:SignalVO):void {
if(obj.destination == this.destination){
switch(obj.action){
case Action.CREATE:
create(obj.valueObject);
break;
.
.
.
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment