com.cinecolombia.cinecolombia.manejoPerfiles.web
Class ManejoPerfilesTranslator

java.lang.Object
  |
  +--com.cinecolombia.cinecolombia.manejoPerfiles.web.ManejoPerfilesTranslator
All Implemented Interfaces:
java.io.Serializable

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

manejoPerfiles usecase: helper class for this usecase

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

Field Summary
private  java.lang.String[] actionCode
           
private  java.util.ArrayList booleanValues
           
private  java.util.ArrayList codUseCaseAction
           
private  Debug debug
           
private  java.util.ArrayList enterValues
           
private  java.lang.String[] id
           
private  java.util.ArrayList manejoPerfilesList
           
private  java.lang.String[] name
           
private  java.lang.String todayString
           
(package private)  java.util.ArrayList useCaseActions
           
private  java.lang.String[] useCaseCode
           
 
Constructor Summary
ManejoPerfilesTranslator()
          Constructor
 
Method Summary
 java.util.ArrayList getBooleanValues()
          get method for booleanValues
 java.util.ArrayList getData()
          get method for manejoPerfilesList
 java.util.ArrayList getEnterValues()
          get method for enterValues
 java.lang.String getManejoPerfilesList(javax.servlet.http.HttpServletRequest request)
          Adds the loadManejoPerfilesList() javaScript method filling array accordingly to input data of the jsp
 java.lang.String getManejoUseCasesActionsList(javax.servlet.http.HttpServletRequest request)
          Adds the loadManejoPerfilesList() javaScript method filling array accordingly to input data of the jsp
 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

java.util.ArrayList useCaseActions

manejoPerfilesList

private java.util.ArrayList manejoPerfilesList

id

private java.lang.String[] id

name

private java.lang.String[] name

useCaseCode

private java.lang.String[] useCaseCode

actionCode

private java.lang.String[] actionCode

codUseCaseAction

private java.util.ArrayList codUseCaseAction

booleanValues

private java.util.ArrayList booleanValues

enterValues

private java.util.ArrayList enterValues

todayString

private java.lang.String todayString

debug

private Debug debug
Constructor Detail

ManejoPerfilesTranslator

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

getManejoPerfilesList

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

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

getManejoUseCasesActionsList

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

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

getData

public java.util.ArrayList getData()
get method for manejoPerfilesList

Returns:
The manejoPerfilesList value

getBooleanValues

public java.util.ArrayList getBooleanValues()
get method for booleanValues

Returns:
The booleanValues value

getEnterValues

public java.util.ArrayList getEnterValues()
get method for enterValues

Returns:
The enterValues value