Package org.apache.velocity.tools.view
Class AbstractSearchTool.StoredResults
java.lang.Object
org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AbstractSearchTool
Simple utility class to hold a criterion and its result list.
This class is by default stored in a user's session, so it implements Serializable, but its members are transient. So functionally, it is not serialized and the last results/criteria will not be persisted if the session is serialized.
- See Also:
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserial version id- See Also:
-
crit
-
list
-
-
Constructor Details
-
StoredResults
Creates a new instance.- Parameters:
crit
- the criteria for these resultslist
- theList
of results to store
-
-
Method Details
-
getCriteria
- Returns:
- the stored criteria object
-
getList
- Returns:
- the stored
List
of results
-