com.businessobjects.rebean.wi
Interface FilterContainer

All Superinterfaces:
FilterConditionContainer, FilterConditionNode, TreeNode

public interface FilterContainer
extends FilterConditionContainer

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

A FilterContainer interface defines filters. If a FilterContainer has a parent (TreeNode), then that parent is guaranteed to be another FilterContainer. The root FilterContainer can only be attached to a report element.

See Also:
ReportElement

Method Summary
 FilterContainer copyFilterContainer(FilterContainer cont)
          Makes a copy of cont and makes that a child of this filter container.
 FilterObject copyFilterObject(FilterObject obj)
          Makes a copy of obj and makes that a child of this filter container.
 FilterObject createFilterObject(ReportExpression expr)
          Creates and adds a new filter object to this container.
 
Methods inherited from interface com.businessobjects.rebean.wi.FilterConditionContainer
checkValid, createFilterConditionContainer, getOperator, setOperator
 
Methods inherited from interface com.businessobjects.rebean.wi.FilterConditionNode
getFilterConditionNode, getID, getName, remove, removeAllChildren
 
Methods inherited from interface com.businessobjects.rebean.wi.TreeNode
getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

createFilterObject

FilterObject createFilterObject(ReportExpression expr)
Creates and adds a new filter object to this container. It is not possible to create a filter on a formula.

Parameters:
expr - the ReportExpression to base the new filter object on
Returns:
the new filter object
Throws:
java.lang.NullPointerException - when expr is null
FilterConditionException - Thrown when expr is a FormulaExpression, as it is not possible to create a report filter on a formula.

copyFilterObject

FilterObject copyFilterObject(FilterObject obj)
Makes a copy of obj and makes that a child of this filter container. If obj already is a child of this container, the copy will still be added.

Parameters:
obj - the object to use for this container
Returns:
the new filter container (the copy of obj)

copyFilterContainer

FilterContainer copyFilterContainer(FilterContainer cont)
Makes a copy of cont and makes that a child of this filter container. If cont already is a child of this container, the copy will still be added.

Parameters:
cont - the container to use for this container
Returns:
the new filter container (the copy of cont)