Package org.nuxeo.connect.client.ui
Class SharedPackageListingsSettings
- java.lang.Object
-
- org.nuxeo.connect.client.ui.SharedPackageListingsSettings
-
- All Implemented Interfaces:
Serializable
public class SharedPackageListingsSettings extends Object implements Serializable
Provide contextual access to theListingFilterSetting
for each listing. Use HttpSession to store a map ofListingFilterSetting
This class is used to share state between the WebEngine and the JSF parts- Author:
- Tiry ([email protected])
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SharedPackageListingsSettings.RequestResolver
-
Field Summary
Fields Modifier and Type Field Description static String
SESSION_KEY
protected Map<String,ListingFilterSetting>
settings
-
Constructor Summary
Constructors Constructor Description SharedPackageListingsSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
settings
protected Map<String,ListingFilterSetting> settings
-
SESSION_KEY
public static final String SESSION_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
addRequestResolver
public static void addRequestResolver(SharedPackageListingsSettings.RequestResolver resolver)
-
removeRequestResolver
public static void removeRequestResolver(String id)
-
get
public ListingFilterSetting get(String listName)
-
instance
public static SharedPackageListingsSettings instance()
-
instance
public static SharedPackageListingsSettings instance(javax.servlet.http.HttpServletRequest request)
-
instance
public static SharedPackageListingsSettings instance(javax.servlet.http.HttpSession session)
-
-