atg.repository.search.indexing.filter
Class ConcatFilter

java.lang.Object
  extended by atg.repository.search.indexing.filter.ConcatFilter
All Implemented Interfaces:
PropertyValuesFilter

public class ConcatFilter
extends java.lang.Object
implements PropertyValuesFilter

Implement a filter that concatonates the values into a single value.

Created: April 28 2005


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ConcatFilter()
           
 
Method Summary
 boolean applyAfterFormatting()
          Apply this filter after formatting.
 atg.repository.search.indexing.ValueAndSecurity[] filter(java.lang.String pPropertyName, atg.repository.search.indexing.ValueAndSecurity[] pValues)
          Filter the specified values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

ConcatFilter

public ConcatFilter()
Method Detail

applyAfterFormatting

public boolean applyAfterFormatting()
Apply this filter after formatting.

Specified by:
applyAfterFormatting in interface PropertyValuesFilter
Returns:
true if values should have been formatted/stringified before the filter is invoked, false either formatted or unformatted is okay.

filter

public atg.repository.search.indexing.ValueAndSecurity[] filter(java.lang.String pPropertyName,
                                                                atg.repository.search.indexing.ValueAndSecurity[] pValues)
Filter the specified values. Return the filtered list of values. Some filters ("add" or "concat") might return an array with a single value. Others ("unique") might return multiple values.

Specified by:
filter in interface PropertyValuesFilter
Parameters:
pPropertyName - the name of the property
pValues - and array of values with their corresponding security elements.