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 | Class and Description |
---|---|
static interface |
SharedPackageListingsSettings.RequestResolver |
Modifier and Type | Field and Description |
---|---|
static String |
SESSION_KEY |
protected Map<String,ListingFilterSetting> |
settings |
Constructor and Description |
---|
SharedPackageListingsSettings() |
Modifier and Type | Method and Description |
---|---|
static void |
addRequestResolver(SharedPackageListingsSettings.RequestResolver resolver) |
ListingFilterSetting |
get(String listName) |
static SharedPackageListingsSettings |
instance() |
static SharedPackageListingsSettings |
instance(javax.servlet.http.HttpServletRequest request) |
static SharedPackageListingsSettings |
instance(javax.servlet.http.HttpSession session) |
static void |
removeRequestResolver(String id) |
protected Map<String,ListingFilterSetting> settings
public static final String SESSION_KEY
public SharedPackageListingsSettings()
public static void addRequestResolver(SharedPackageListingsSettings.RequestResolver resolver)
public static void removeRequestResolver(String id)
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 © 2017 Nuxeo. All rights reserved.