BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.databinding.jsp
Class FilterWindowService

java.lang.Object
  extended by com.bea.wlw.netui.databinding.jsp.FilterWindowService

Deprecated.

public final class FilterWindowService
extends Object

The FilterWindowService is used to create a #FilterWindowData object that contains state information that is used to render a filter window. The filter window is used to add parameters to a URL which, when submitted to the server, changes a query for data on the server. The filter window displays a type specific user interface depending on the type of the data being filtered. The isStringType(int), isDateType(int), isBooleanType(int) methods are used to determine the type of UI that will be rendered. The options available for filtering a specific column will also change depending on the column type.


Nested Class Summary
static class FilterWindowService.Filter
          Deprecated.  The Filter class contains information about filters that are applied to a grid/column pair for which the filter window is being rendered.
static class FilterWindowService.FilterWindowData
          Deprecated.  The FilterWindowData class contains information extracted from the current request and response which is used when rendering a filter window.
 
Constructor Summary
FilterWindowService()
          Deprecated.  
 
Method Summary
static FilterWindowService.FilterWindowData getFilterWindowData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated.  Factory method to create an instance of a #FilterWindowData object that contains state from the request which is used when rendering a filter window.
static String[][] getOptions()
          Deprecated. Get a list of options that are available for display in the filter drop downs of the filter window.
static String[][] getOptions(Locale locale)
          Deprecated. Get a list of options that are available for display in the filter drop downs of the filter window.
static boolean isBooleanType(int columnType)
          Deprecated. Check a given column type to see if it is a boolean column type.
static boolean isDateType(int columnType)
          Deprecated. Check a given column type to see if it is a date column type.
static boolean isStringType(int columnType)
          Deprecated. Check a given column type to see if it is a string column type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterWindowService

public FilterWindowService()
Deprecated. 
Method Detail

getFilterWindowData

public static FilterWindowService.FilterWindowData getFilterWindowData(javax.servlet.http.HttpServletRequest request,
                                                                       javax.servlet.http.HttpServletResponse response)
Deprecated. 

Factory method to create an instance of a #FilterWindowData object that contains state from the request which is used when rendering a filter window.

Parameters:
request - the current request
response - the current response
Returns:
a FilterWindowData object that represents necessary information that is parsed out of the URL for the filter window.
Throws:
IllegalStateException - if the request / response are null.

getOptions

public static String[][] getOptions()
Deprecated. 
Get a list of options that are available for display in the filter drop downs of the filter window. Not all operations are available for all column types. The return value is a two dimensional array of Strings as:
   (readable name of an operation, URL key of an operation)
 
Using the default Locale for the JVM.

Returns:
the list of filter opations.

getOptions

public static String[][] getOptions(Locale locale)
Deprecated. 
Get a list of options that are available for display in the filter drop downs of the filter window. Not all operations are available for all column types. The return value is a two dimensional array of Strings as:
   (readable name of an operation, URL key of an operation)
 

Returns:
the list of filter opations.

isBooleanType

public static boolean isBooleanType(int columnType)
Deprecated. 
Check a given column type to see if it is a boolean column type. Boolean types include:

Parameters:
columnType - the int representation of a column type
Returns:
true if the column is a boolean type; false otherwise

isDateType

public static boolean isDateType(int columnType)
Deprecated. 
Check a given column type to see if it is a date column type. Date types include:

Parameters:
columnType - the int representation of a column type
Returns:
true if the column is a date type; false otherwise

isStringType

public static boolean isStringType(int columnType)
Deprecated. 
Check a given column type to see if it is a string column type. String types include:

Parameters:
columnType - the int representation of a column type
Returns:
true if the column is a string type; false otherwise

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.