To define filter sets, you require the necessary filter instances and
you also specify the type of filter set. The standard implementations for
filter sets provide for both logical relationships OR and AND, which affect two
or even several contained filters.
You create new filter set instances with the help of the Filter Factory.
Also, instances can be created for both standard filters and, in addition,
inverse filters can be created for all filters.

Package com.tssap.selena.model.extension.filter
FilterFactory
|
|
|
|
This factory class provides a set of methods
for creating standard filters and standard filter sets. In addition, you can
create the inverse filter for any filter using the method createInvertingFilter(). Methoden: |
|
IFilter createDefaultYesManFilter() Creates an
instance for the standard filter that allows the entire content to pass
through without restriction. |
|
|
IFilter createDefaultNoManFilter() Creates an
instance for the standard filter that allows nothing to pass through. |
|
|
IFilter
createInvertingFilter(IFilter filterToInvert) Creates the respective inverse filter for a filterToInvert filter. |
|
|
IMutableFilterSet createAndFilterSet() Creates an
instance for a standard filter set where the filter relationships are defined
by the logical AND. The new instance, however, does not yet contain any
filter. To add filter instances to this filter set, use the method IMutableFilterSet.addFilter() or IMutableFilterSet.addFilters(). |
|
|
IMutableFilterSet createAndFilterSet(IFilter[]
filters) Creates an
instance for a standard filter set and adds all filters
to the filter set. The filter relationship is defined by the logical AND. |
|
|
IMutableFilterSet createOrFilterSet() Creates an
instance for a standard filter set where the filter relationship is defined
by the logical OR. The new instance, however, does not yet contain any
filter. To add filter instances to this filter set, use the method IMutableFilterSet.addFilter() or IMutableFilterSet.addFilters(). |
|
|
IMutableFilterSet createOrFilterSet(IFilter[]
filters) Creates an
instance for a standard filter set and adds all filters
to the filter set. The filter relationship is defined by the logical OR. |
|