com.cinecolombia.interfases.complejos.web
Class ComplejosTranslator

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

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

complejos usecase: helper class for this usecase

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

Field Summary
private  java.util.List complejosList
          list of the usecase
private  Debug debug
           
private  java.lang.String[] id
           
private  java.lang.String[] name
           
private  java.lang.String todayString
          current date in String
private  java.util.List useCaseActions
          security actions of the usecase
 
Constructor Summary
ComplejosTranslator()
          Constructor
 
Method Summary
 java.lang.String getComplejosList(javax.servlet.http.HttpServletRequest request)
          Adds the loadComplejosList() javaScript method filling array accordingly to input data of the jsp
 java.util.List getData()
           
 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


complejosList

private java.util.List complejosList
list of the usecase


id

private java.lang.String[] id

name

private java.lang.String[] name

todayString

private java.lang.String todayString
current date in String


debug

private Debug debug
Constructor Detail

ComplejosTranslator

public ComplejosTranslator()
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


getTodayString

public java.lang.String getTodayString()

getComplejosList

public java.lang.String getComplejosList(javax.servlet.http.HttpServletRequest request)
Adds the loadComplejosList() javaScript method filling array accordingly to input data of the jsp

Parameters:
request -
Returns:
String with the javaScript text of loadComplejosList()

getData

public java.util.List getData()