Package net.pricefx.formulaengine
Interface DatamartContext.DataSlice
-
- Enclosing interface:
- DatamartContext
public static interface DatamartContext.DataSlice
A DataSlice defines a set of filters to be applied to a PA DataSet (Datamart, DataSource...). A typical case is set of FC dimension (field,value) pairs. In RebateManager a combination of a TimePeriod, CustomerGroup and ProductGroup is quite common. Complete genericFilter
s can be uses as well. Inclusions and exclusions are all OR-ed together. They are then combined as (inclusions AND NOT exclusions).When a TimePeriod is used, the slice also needs to know the name of the date dimension field to match to. This field is set in the constructor, and is common to all TimePeriod used.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFilter(Filter filter)
void
clear()
void
exclude(CalendarUtil.TimePeriod timePeriod)
void
exclude(CustomerGroup customerGroup)
void
exclude(ProductGroup productGroup)
void
include(CalendarUtil.TimePeriod timePeriod)
void
include(CustomerGroup customerGroup)
void
include(ProductGroup productGroup)
-
-
-
Method Detail
-
include
void include(CustomerGroup customerGroup)
-
include
void include(ProductGroup productGroup)
-
exclude
void exclude(CustomerGroup customerGroup)
-
exclude
void exclude(ProductGroup productGroup)
-
include
void include(CalendarUtil.TimePeriod timePeriod)
-
exclude
void exclude(CalendarUtil.TimePeriod timePeriod)
-
addFilter
void addFilter(Filter filter)
-
clear
void clear()
-
-