com.uoc.tfc.UI.struts.action.common
Class Accio

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.uoc.tfc.UI.struts.action.common.Accio
All Implemented Interfaces:
IAccio
Direct Known Subclasses:
AccioCreaJasperPrintExpedient, AccioImprimirExpedient

public abstract class Accio
extends org.apache.struts.action.Action
implements IAccio

Al fer una crida a Accio afegim un contexte que permitirà passar-li la informacio entre diferents classes.

Author:
ojaen

Constructor Summary
Accio()
           
 
Method Summary
abstract  void execute()
          Fer la crida d'una accio
 Context getContext()
          Getter Context
 void setContext(Context context)
          Setter context.
 
Methods inherited from class org.apache.struts.action.Action
execute, execute, getServlet, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Accio

public Accio()
Method Detail

execute

public abstract void execute()
Description copied from interface: IAccio
Fer la crida d'una accio

Specified by:
execute in interface IAccio

getContext

public Context getContext()
Getter Context

Returns:
Retorna context.

setContext

public void setContext(Context context)
Setter context.

Parameters:
context -