Class DMDataSlice

Object
DomainObject
DMDataSlice
All Implemented Interfaces:
DatamartContext.DataSlice

public class DMDataSlice extends DomainObject implements DatamartContext.DataSlice
  • Constructor Details

    • DMDataSlice

      public DMDataSlice()
    • DMDataSlice

      public DMDataSlice(Object... timePeriodsAndProductAndCustomerGroupsAndOtherFilters)
    • DMDataSlice

      public DMDataSlice(String dateFieldName, Object... timePeriodsAndProductAndCustomerGroupsAndOtherFilters)
  • Method Details

    • include

      public void include(CustomerGroup customerGroup)
      Specified by:
      include in interface DatamartContext.DataSlice
    • include

      public void include(ProductGroup productGroup)
      Specified by:
      include in interface DatamartContext.DataSlice
    • include

      public void include(SellerReference sellerReference)
    • exclude

      public void exclude(CustomerGroup customerGroup)
      Specified by:
      exclude in interface DatamartContext.DataSlice
    • exclude

      public void exclude(ProductGroup productGroup)
      Specified by:
      exclude in interface DatamartContext.DataSlice
    • exclude

      public void exclude(SellerReference sellerReference)
    • include

      public void include(CalendarUtil.TimePeriod timePeriod)
      Specified by:
      include in interface DatamartContext.DataSlice
    • exclude

      public void exclude(CalendarUtil.TimePeriod timePeriod)
      Specified by:
      exclude in interface DatamartContext.DataSlice
    • addFilter

      public void addFilter(Filter filter)
      Specified by:
      addFilter in interface DatamartContext.DataSlice
    • clear

      public void clear()
      Specified by:
      clear in interface DatamartContext.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)
    • toString

      public String toString()
      Overrides:
      toString in class Object