|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cinecolombia.interfases.control.ejb.handlers.StateHandlerSupport | +--com.cinecolombia.interfases.control.ejb.handlers.IngresarDatosComplejoEjbHandler
ingresarDatosComplejo usecase: handler of user requests in the Services layer
Field Summary | |
private Debug |
debug
|
Fields inherited from class com.cinecolombia.interfases.control.ejb.handlers.StateHandlerSupport |
machine |
Constructor Summary | |
IngresarDatosComplejoEjbHandler()
|
Method Summary | |
private void |
cargarConceptos(Model model,
Interfases varInterfases)
Método auxiliar para cargar conceptos de confitería y varios en el Model. |
private void |
cargarMediosDePago(Model model,
Interfases varInterfases)
Carga dela BD los medios de pago y los clasifica en el model como las parejas para "efectivo" y "tarjetas". |
private void |
evalFechasConsignacion(Model model,
Interfases varInterfases)
Calcula las fechas de consignacion que les corresponderían a todos los medios de pago del complejo contenido en un model. |
private void |
exportarArchivos(Interfases varInterfases,
Complejo complejo,
java.util.Date fechaExport)
Método auxiliar que exporta archivos |
java.lang.Object |
perform(InterfasesEvent event)
principal method that process a user request invoking Model EJBs methods |
private java.util.List |
performLIST(IngresarDatosComplejoEvent ev)
Auxiliary method that processes an IngresarDatosComplejoEvent with LIST action. |
private java.util.List |
performTERMINAR(IngresarDatosComplejoEvent ev)
Auxiliary method that processes an IngresarDatosComplejoEvent with TERMINAR action. |
private java.lang.String |
processProblem(java.lang.Exception e,
java.lang.String messageEx)
Método auxiliar que procesa problemas |
private void |
testBatchConceptos(Value value)
Test para el servicio auxStoreConceptos. |
Methods inherited from class com.cinecolombia.interfases.control.ejb.handlers.StateHandlerSupport |
doEnd, doStart, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Debug debug
Constructor Detail |
public IngresarDatosComplejoEjbHandler()
Method Detail |
public java.lang.Object perform(InterfasesEvent event) throws InterfasesEventException
perform
in interface StateHandler
perform
in class StateHandlerSupport
event
- request data
InterfasesEventException
private java.util.List performLIST(IngresarDatosComplejoEvent ev) throws InterfasesEventException
ev
- event of ingresarDatosComplejo usecase
InterfasesEventException
private java.util.List performTERMINAR(IngresarDatosComplejoEvent ev) throws InterfasesEventException
ev
- event of ingresarDatosComplejo usecase
InterfasesEventException
private void exportarArchivos(Interfases varInterfases, Complejo complejo, java.util.Date fechaExport) throws java.lang.Exception
varInterfases
- El EJB que da los servicios.complejo
- Un complejo.fechaExport
- Fecha de exportación.
java.lang.Exception
private java.lang.String processProblem(java.lang.Exception e, java.lang.String messageEx)
e
- ExceptionmessageEx
- Mensaje de la aplicación asociado a e
stacktrace
private void cargarConceptos(Model model, Interfases varInterfases) throws DAOException, java.rmi.RemoteException
model
- El model.varInterfases
- El EJB que proporciona el servicio.
DAOException
java.rmi.RemoteException
private void cargarMediosDePago(Model model, Interfases varInterfases) throws DAOException, java.rmi.RemoteException
DAOException
java.rmi.RemoteException
private void evalFechasConsignacion(Model model, Interfases varInterfases) throws DAOException, java.rmi.RemoteException
model
- El model en cuestión.varInterfases
- El EJB que dael servicio.
DAOException
java.rmi.RemoteException
private void testBatchConceptos(Value value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |