Package net.pricefx.domain
Class DMDataSlice
Object
DomainObject
DMDataSlice
- All Implemented Interfaces:
DatamartContext.DataSlice
-
Field Summary
Fields inherited from class DomainObject
DEFAULT_MAX_PACKET_SIZE
-
Constructor Summary
ConstructorDescriptionDMDataSlice
(Object... timePeriodsAndProductAndCustomerGroupsAndOtherFilters) DMDataSlice
(String dateFieldName, Object... timePeriodsAndProductAndCustomerGroupsAndOtherFilters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static Filter
asFilter
(CustomerGroup customerGroup, PersistedObjectService objService) static Filter
asFilter
(ProductGroup productGroup, PersistedObjectService objService) static Filter
asFilter
(SellerReference sellerReference) asFilter
(PersistedObjectService objService) void
clear()
void
exclude
(CalendarUtil.TimePeriod timePeriod) void
exclude
(CustomerGroup customerGroup) void
exclude
(ProductGroup productGroup) void
exclude
(SellerReference sellerReference) void
include
(CalendarUtil.TimePeriod timePeriod) void
include
(CustomerGroup customerGroup) void
include
(ProductGroup productGroup) void
include
(SellerReference sellerReference) void
setDateFieldName
(String dateDimFieldName) toString()
Methods inherited from class DomainObject
deepCopy, 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
-
Constructor Details
-
DMDataSlice
public DMDataSlice() -
DMDataSlice
-
DMDataSlice
-
-
Method Details
-
include
- Specified by:
include
in interfaceDatamartContext.DataSlice
-
include
- Specified by:
include
in interfaceDatamartContext.DataSlice
-
include
public void include(SellerReference sellerReference) -
exclude
- Specified by:
exclude
in interfaceDatamartContext.DataSlice
-
exclude
- Specified by:
exclude
in interfaceDatamartContext.DataSlice
-
exclude
public void exclude(SellerReference sellerReference) -
include
- Specified by:
include
in interfaceDatamartContext.DataSlice
-
exclude
- Specified by:
exclude
in interfaceDatamartContext.DataSlice
-
addFilter
- Specified by:
addFilter
in interfaceDatamartContext.DataSlice
-
clear
public void clear()- Specified by:
clear
in interfaceDatamartContext.DataSlice
-
getDateFieldName
-
setDateFieldName
-
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
-
toString
-