gov.noaa.pmel.tmap
Class SessionTemplateContext

java.lang.Object
  |
  +--VelocityContext
        |
        +--gov.noaa.pmel.tmap.TemplateContext
              |
              +--gov.noaa.pmel.tmap.SessionTemplateContext

public class SessionTemplateContext
extends TemplateContext

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.noaa.pmel.tmap.TemplateContext
mCompareMap, mLayoutMap
 
Constructor Summary
SessionTemplateContext()
           
 
Method Summary
 java.util.Vector getCategories()
          Gets the value of categories
 Category getCategory()
          Gets the value of category
 java.util.ArrayList getCompareCategory()
          Gets the value of compare category
 java.util.ArrayList getCompareDatasets()
          Gets the value of compare datasets
 RegionConstraint getCompareRegion(int index)
          Gets the value of compare region
 java.util.Vector getConfigs()
           
 java.util.Vector getDatasets()
          Gets the value of datasets
 java.util.TreeSet getHistoryList()
          Gets the value of historyList
 RegionConstraint getRegion()
          Gets the value of region
 java.lang.Boolean getUseJava()
          Gets the value of use_java
 XmlRequester getXml()
          Gets the value of xml
 java.lang.Object put(java.lang.String key, java.lang.Object value)
           
 void removeCompareDatasets()
           
 void setBrowser(Browser browser)
           
 void setCategories(Category[] cats)
          Sets the value of categories
 void setCategory(Category argCategory)
          Sets the value of category
 void setCompareCategory(Category[] argCategory)
          Sets the value of compare category
 void setCompareDatasets(int index, java.util.Vector argDatasets)
           
 void setCompareDatasets(java.util.Vector[] argDatasets)
          Sets the value of compare datasets
 void setCompareRegion(java.util.ArrayList alist)
           
 void setCompareRegion(int index, RegionConstraint rc)
           
 void setCompareRegion(RegionConstraint[] argRegion)
          Sets the value of compare region
 void setConfigs(java.util.Vector argConfigs)
           
 void setDatasets(java.util.Vector argDatasets)
          Sets the value of datasets
 void setHistoryList(java.util.TreeSet argHistoryList)
          Sets the value of historyList
 void setRegion(RegionConstraint argRegion)
          Sets the value of region
 void setUseJava(java.lang.Boolean argUseJava)
          Sets the value of use_java
 void setXml(XmlRequester argXml)
          Sets the value of xml
 
Methods inherited from class gov.noaa.pmel.tmap.TemplateContext
getCompareState, getInstance, getLayoutManager, getServletRequest, getServletResponse, mergeContext, setCompareState, setLayoutManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionTemplateContext

public SessionTemplateContext()
                       throws ServletException,
                              java.sql.SQLException
Method Detail

put

public java.lang.Object put(java.lang.String key,
                            java.lang.Object value)

getRegion

public RegionConstraint getRegion()
Gets the value of region

Returns:
the value of region

setRegion

public void setRegion(RegionConstraint argRegion)
Sets the value of region

Parameters:
argRegion -

getCompareRegion

public RegionConstraint getCompareRegion(int index)
Gets the value of compare region

Returns:
the value of compare region

setCompareRegion

public void setCompareRegion(RegionConstraint[] argRegion)
Sets the value of compare region

Parameters:
argRegion -

setCompareRegion

public void setCompareRegion(java.util.ArrayList alist)

setCompareRegion

public void setCompareRegion(int index,
                             RegionConstraint rc)

getCategory

public Category getCategory()
Gets the value of category

Returns:
the value of category

setCategory

public void setCategory(Category argCategory)
Sets the value of category

Parameters:
argCategory -

getCompareCategory

public java.util.ArrayList getCompareCategory()
Gets the value of compare category

Returns:
the value of category

setCompareCategory

public void setCompareCategory(Category[] argCategory)
Sets the value of compare category

Parameters:
argCategory -

setCategories

public void setCategories(Category[] cats)
Sets the value of categories


getCategories

public java.util.Vector getCategories()
Gets the value of categories


getConfigs

public java.util.Vector getConfigs()

setConfigs

public void setConfigs(java.util.Vector argConfigs)

getDatasets

public java.util.Vector getDatasets()
Gets the value of datasets

Returns:
the value of datasets

setDatasets

public void setDatasets(java.util.Vector argDatasets)
Sets the value of datasets

Parameters:
argDatasets - Value to assign to this.datasets

getCompareDatasets

public java.util.ArrayList getCompareDatasets()
Gets the value of compare datasets

Returns:
the value of compare datasets

setCompareDatasets

public void setCompareDatasets(java.util.Vector[] argDatasets)
Sets the value of compare datasets

Parameters:
argDatasets -

removeCompareDatasets

public void removeCompareDatasets()

setCompareDatasets

public void setCompareDatasets(int index,
                               java.util.Vector argDatasets)

getXml

public XmlRequester getXml()
Gets the value of xml

Returns:
the value of xml

setXml

public void setXml(XmlRequester argXml)
Sets the value of xml

Parameters:
argXml - Value to assign to this.xml

getHistoryList

public java.util.TreeSet getHistoryList()
Gets the value of historyList

Returns:
the value of historyList

setHistoryList

public void setHistoryList(java.util.TreeSet argHistoryList)
Sets the value of historyList

Parameters:
argHistoryList - Value to assign to this.historyList

getUseJava

public java.lang.Boolean getUseJava()
Gets the value of use_java

Returns:
the value of use_java

setUseJava

public void setUseJava(java.lang.Boolean argUseJava)
Sets the value of use_java

Parameters:
argUseJava -

setBrowser

public void setBrowser(Browser browser)