org.springframework.webflow.samples.booking
Class SearchCriteria

java.lang.Object
  extended by org.springframework.webflow.samples.booking.SearchCriteria
All Implemented Interfaces:
Serializable

public class SearchCriteria
extends Object
implements Serializable

A backing bean for the main hotel search form. Encapsulates the criteria needed to perform a hotel search. It is expected a future milestone of Spring Web Flow 2.0 will allow flow-scoped beans like this one to hold references to transient services that are restored automatically when the flow is resumed on subsequent requests. This would allow this SearchCriteria object to delegate to the TravelService directly, for example, eliminating the need for the actions in MainActions.

See Also:
Serialized Form

Constructor Summary
SearchCriteria()
           
 
Method Summary
 int getPage()
           
 int getPageSize()
           
 String getSearchString()
           
 void setPage(int page)
           
 void setPageSize(int pageSize)
           
 void setSearchString(String searchString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchCriteria

public SearchCriteria()
Method Detail

getSearchString

public String getSearchString()

setSearchString

public void setSearchString(String searchString)

getPageSize

public int getPageSize()

setPageSize

public void setPageSize(int pageSize)

getPage

public int getPage()

setPage

public void setPage(int page)


Copyright © 2009 SpringSource, Inc. All Rights Reserved.