Package net.pricefx.domain
Class DMDataSlice
- Object
-
- DomainObject
-
- DMDataSlice
-
- All Implemented Interfaces:
DatamartContext.DataSlice
public class DMDataSlice extends DomainObject implements DatamartContext.DataSlice
-
-
Constructor Summary
Constructors Constructor Description DMDataSlice()
DMDataSlice(Object... timePeriodsAndProductAndCustomerGroupsAndOtherFilters)
DMDataSlice(String dateFieldName, Object... timePeriodsAndProductAndCustomerGroupsAndOtherFilters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilter(Filter filter)
Filter
asFilter(String dateDimFieldName, PersistedObjectService objService)
static Filter
asFilter(CustomerGroup customerGroup, PersistedObjectService objService)
static Filter
asFilter(ProductGroup productGroup, PersistedObjectService objService)
static Filter
asFilter(SellerReference sellerReference, PersistedObjectService objService)
Filter
asFilter(PersistedObjectService objService)
void
clear()
void
exclude(CalendarUtil.TimePeriod timePeriod)
void
exclude(CustomerGroup customerGroup)
void
exclude(ProductGroup productGroup)
void
exclude(SellerReference sellerReference)
String
getDateFieldName()
void
include(CalendarUtil.TimePeriod timePeriod)
void
include(CustomerGroup customerGroup)
void
include(ProductGroup productGroup)
void
include(SellerReference sellerReference)
void
setDateFieldName(String dateDimFieldName)
String
toString()
-
Methods inherited from class DomainObject
deepCopy, deepCopyUsingJavaSerialization, getNewMidnightDate, getNewMidnightDateTime, isMidnight, isMidnight, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerializedSizeOK, jsonSerializeToBytes, jsonSerializeToBytes, setToDayEnd, setToDayEnd, setToMidnight, setToMidnight, setToMidnightAsLocalDateTime, toPropertyMap
-
-
-
-
Method Detail
-
include
public void include(CustomerGroup customerGroup)
- Specified by:
include
in interfaceDatamartContext.DataSlice
-
include
public void include(ProductGroup productGroup)
- Specified by:
include
in interfaceDatamartContext.DataSlice
-
include
public void include(SellerReference sellerReference)
-
exclude
public void exclude(CustomerGroup customerGroup)
- Specified by:
exclude
in interfaceDatamartContext.DataSlice
-
exclude
public void exclude(ProductGroup productGroup)
- Specified by:
exclude
in interfaceDatamartContext.DataSlice
-
exclude
public void exclude(SellerReference sellerReference)
-
include
public void include(CalendarUtil.TimePeriod timePeriod)
- Specified by:
include
in interfaceDatamartContext.DataSlice
-
exclude
public void exclude(CalendarUtil.TimePeriod timePeriod)
- Specified by:
exclude
in interfaceDatamartContext.DataSlice
-
addFilter
public void addFilter(Filter filter)
- Specified by:
addFilter
in interfaceDatamartContext.DataSlice
-
clear
public void clear()
- Specified by:
clear
in interfaceDatamartContext.DataSlice
-
getDateFieldName
public String getDateFieldName()
-
setDateFieldName
public void setDateFieldName(String dateDimFieldName)
-
asFilter
public Filter asFilter(PersistedObjectService objService) throws DMFieldNotFoundException, DMFieldCollectionNotFoundException
- Throws:
DMFieldNotFoundException
DMFieldCollectionNotFoundException
-
asFilter
public Filter asFilter(String dateDimFieldName, PersistedObjectService objService) throws DMFieldNotFoundException, DMFieldCollectionNotFoundException
- Throws:
DMFieldNotFoundException
DMFieldCollectionNotFoundException
-
asFilter
public static Filter asFilter(CustomerGroup customerGroup, PersistedObjectService objService) throws DMFieldNotFoundException, DMFieldCollectionNotFoundException
- Throws:
DMFieldNotFoundException
DMFieldCollectionNotFoundException
-
asFilter
public static Filter asFilter(ProductGroup productGroup, PersistedObjectService objService) throws DMFieldNotFoundException, DMFieldCollectionNotFoundException
- Throws:
DMFieldNotFoundException
DMFieldCollectionNotFoundException
-
asFilter
public static Filter asFilter(SellerReference sellerReference, PersistedObjectService objService)
-
-