Decision Center API

ilog.rules.teamserver.model.reporting.impl
Class IlrDefaultReportFilter

java.lang.Object
  extended by ilog.rules.teamserver.model.reporting.impl.IlrDefaultReportFilter
All Implemented Interfaces:
IlrReportFilter

public class IlrDefaultReportFilter
extends Object
implements IlrReportFilter

An implementation of IlrReportFilter used by Decision Center.


Constructor Summary
IlrDefaultReportFilter()
           
 
Method Summary
 boolean accept(IlrReportContext reportContext, IlrElementDetails element)
          Indicates if an element must be filtered out in the report.
 boolean accept(IlrReportContext reportContext, IlrElementDetails element, Object property)
          Indicates if a property of an element must be filtered out in the report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrDefaultReportFilter

public IlrDefaultReportFilter()
Method Detail

accept

public boolean accept(IlrReportContext reportContext,
                      IlrElementDetails element)
Indicates if an element must be filtered out in the report.

The default implementation returns true.

Specified by:
accept in interface IlrReportFilter
Parameters:
reportContext - The context in which the report is executed.
element - The element to filter out.
Returns:
true if the element is part of the report, and false otherwise.

accept

public boolean accept(IlrReportContext reportContext,
                      IlrElementDetails element,
                      Object property)
Indicates if a property of an element must be filtered out in the report.

The default implementation filters out multivalued properties.

Specified by:
accept in interface IlrReportFilter
Parameters:
reportContext - The context in which the report is executed.
element - The element to filter out.
property - The property to filter out.
Returns:
true if the property is part of the report, and false otherwise.

Decision Center API

© Copyright IBM Corp. 1987, 2013