com.webmethods.caf.faces.data
Class CollectionUtils.RowValueBindingFilterableValueDecorator

java.lang.Object
  extended by com.webmethods.caf.faces.data.CollectionUtils.RowValueBindingFilterableValueDecorator
All Implemented Interfaces:
CollectionUtils.IFilterableValueDecorator
Direct Known Subclasses:
FilterableSelectableListTableContentProvider.RowFilterableValueDecorator, LazyNodeTreeContentProvider.NodeFilterableValueDecorator
Enclosing class:
CollectionUtils

public static class CollectionUtils.RowValueBindingFilterableValueDecorator
extends Object
implements CollectionUtils.IFilterableValueDecorator

Filter value decorator for table rows, using a binding expression to calculate the value.


Field Summary
protected  String m_rowVariable
          The row variable
protected  ValueBinding m_valueBinding
          The ValueBinding
 
Constructor Summary
CollectionUtils.RowValueBindingFilterableValueDecorator(ValueBinding valueBinding, String rowVariable)
          Creates a new filterable decorator for value binding and row variable.
 
Method Summary
 String calculateValue(Object o)
          Calculates the content to filter for the specified object (for example, a table row).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_valueBinding

protected ValueBinding m_valueBinding
The ValueBinding


m_rowVariable

protected String m_rowVariable
The row variable

Constructor Detail

CollectionUtils.RowValueBindingFilterableValueDecorator

public CollectionUtils.RowValueBindingFilterableValueDecorator(ValueBinding valueBinding,
                                                               String rowVariable)
Creates a new filterable decorator for value binding and row variable.

Parameters:
valueBinding - the ValueBinding
rowVariable - the row variable
Method Detail

calculateValue

public String calculateValue(Object o)
Description copied from interface: CollectionUtils.IFilterableValueDecorator
Calculates the content to filter for the specified object (for example, a table row).

Specified by:
calculateValue in interface CollectionUtils.IFilterableValueDecorator