Ignore:
Timestamp:
01/09/14 15:03:36 (10 years ago)
Author:
twagoo
Message:

Refactored adding theme as session page parameter
Merging with session parameters in FacetLinkPanel? and in ShowResultPage?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/to-wicket-1.6/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/VloSession.java

    r4232 r4234  
    1 
    21package eu.clarin.cmdi.vlo;
    32
     
    76
    87/**
    9  * A web session containing a VLO theme and parameters that are considered to
    10  * be persistent in a VLO session.
    11  * 
     8 * A web session containing a VLO theme and parameters that are considered to be
     9 * persistent in a VLO session.
     10 *
    1211 * Note that these parameters can include the specification of the theme.
    13  * 
     12 *
    1413 * @author keeloo
    1514 */
     
    1716
    1817    // remember the parameters that need to persist in URLs to VLO pages in this session
    19     public PageParameters vloSessionPageParameters = new PageParameters();
     18    private PageParameters vloSessionPageParameters = new PageParameters();
    2019
    2120    // remember this session's theme
     
    2423    /**
    2524     * Construct a session object with a request parameter
    26      * 
    27      * @param request 
     25     *
     26     * @param request
    2827     */
    2928    public VloSession(Request request) {
     
    3433    /**
    3534     * Get the session's theme
    36      * 
    37      * @return the session's theme 
     35     *
     36     * @return the session's theme
    3837     */
    3938    public Theme getCurrentTheme() {
     
    4342    /**
    4443     * Set the session's theme
    45      * 
     44     *
    4645     * @param theme the session's theme
    4746     */
     
    4948        this.currentTheme = theme;
    5049    }
    51    
     50
    5251    /**
    5352     * Return the session's persistent parameters
    54      * 
     53     *
    5554     * @return session parameters
    5655     */
     
    6160    /**
    6261     * Add parameters to the session's persistent parameters
    63      * 
     62     *
    6463     * @param parameters a page parameter map
    6564     *
    6665     */
    6766    public void addVloSessionPageParameters(PageParameters parameters) {
    68        
     67
    6968        vloSessionPageParameters.mergeWith(parameters);
    7069    }
Note: See TracChangeset for help on using the changeset viewer.