public class SharedPackageListingsSettings extends Object implements Serializable
ListingFilterSetting
for each listing. Use HttpSession to store a map of
ListingFilterSetting
This class is used to share state between the WebEngine and the JSF partsModifier and Type | Field and Description |
---|---|
static String |
SESSION_KEY |
protected Map<String,ListingFilterSetting> |
settings |
Constructor and Description |
---|
SharedPackageListingsSettings() |
Modifier and Type | Method and Description |
---|---|
ListingFilterSetting |
get(String listName) |
static SharedPackageListingsSettings |
instance() |
static SharedPackageListingsSettings |
instance(javax.servlet.http.HttpServletRequest request) |
static SharedPackageListingsSettings |
instance(javax.servlet.http.HttpSession session) |
protected Map<String,ListingFilterSetting> settings
public static final String SESSION_KEY
public SharedPackageListingsSettings()
public ListingFilterSetting get(String listName)
public static SharedPackageListingsSettings instance()
public static SharedPackageListingsSettings instance(javax.servlet.http.HttpServletRequest request)
public static SharedPackageListingsSettings instance(javax.servlet.http.HttpSession session)
Copyright © 2015 Nuxeo SA. All rights reserved.