类 AbstractSearchTool.StoredResults

java.lang.Object
org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
所有已实现的接口:
Serializable
封闭类:
AbstractSearchTool

public static class AbstractSearchTool.StoredResults extends Object implements Serializable
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.

另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      serial version id
      另请参阅:
    • crit

      private final transient Object crit
    • list

      private final transient List list
  • 构造器详细资料

    • StoredResults

      public StoredResults(Object crit, List list)
      Creates a new instance.
      参数:
      crit - the criteria for these results
      list - the List of results to store
  • 方法详细资料

    • getCriteria

      public Object getCriteria()
      返回:
      the stored criteria object
    • getList

      public List getList()
      返回:
      the stored List of results