com.cinecolombia.interfases.programacion.web
Class ProgramacionTranslator

java.lang.Object
  |
  +--com.cinecolombia.interfases.programacion.web.ProgramacionTranslator
All Implemented Interfaces:
java.io.Serializable

public class ProgramacionTranslator
extends java.lang.Object
implements java.io.Serializable

programacion usecase: helper class for this usecase

Author:
CincoSOFT
See Also:
Serialized Form
Created:
Julio 2003

Field Summary
private  Debug debug
           
private  java.lang.String[] id
           
private  Model model
           
private  java.lang.String[] name
           
private  java.lang.String nomSala
           
private  java.util.List programacionList
          list of the usecase
private  java.lang.String todayString
          current date in String
private  java.util.List useCaseActions
          security actions of the usecase
 
Constructor Summary
ProgramacionTranslator()
          Constructor
 
Method Summary
 java.util.List getData()
           
 boolean getMarca(int i)
          marca para mostrar si al menos un día la película mostrada no esta programada
 java.lang.String getPeliculasList(int i)
          obtiene el texto de las opciones de la lista de peliculas
 java.lang.String getSalasList()
          obtiene el texto de las opciones de la lista de peliculas
 java.lang.String getTodayString()
           
 boolean isAllowed(java.lang.String action)
          determines if a action (HTLM element) is allowed for the user examining useCaseActions
 void setData(javax.servlet.http.HttpServletRequest request)
          gets data from request or session and creates input data for the jsp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useCaseActions

private java.util.List useCaseActions
security actions of the usecase


programacionList

private java.util.List programacionList
list of the usecase


id

private java.lang.String[] id

name

private java.lang.String[] name

nomSala

private java.lang.String nomSala

todayString

private java.lang.String todayString
current date in String


debug

private Debug debug

model

private Model model
Constructor Detail

ProgramacionTranslator

public ProgramacionTranslator()
Constructor

Method Detail

setData

public void setData(javax.servlet.http.HttpServletRequest request)
gets data from request or session and creates input data for the jsp

Parameters:
request - of MainServlet

isAllowed

public boolean isAllowed(java.lang.String action)
determines if a action (HTLM element) is allowed for the user examining useCaseActions

Parameters:
action - Description of the Parameter
Returns:
The allowed value

getTodayString

public java.lang.String getTodayString()

getSalasList

public java.lang.String getSalasList()
obtiene el texto de las opciones de la lista de peliculas

Returns:
texto HTML que llena las opciones de la lista

getMarca

public boolean getMarca(int i)
marca para mostrar si al menos un día la película mostrada no esta programada

Returns:
texto HTML que llena las opciones de la lista

getPeliculasList

public java.lang.String getPeliculasList(int i)
obtiene el texto de las opciones de la lista de peliculas

Returns:
texto HTML que llena las opciones de la lista

getData

public java.util.List getData()