Interface B2BReportingService

All Known Implementing Classes:
DefaultB2BReportingService

public interface B2BReportingService
A service for b2b reporting.
Spring Bean ID:
b2bReportingService
  • Method Details

    • findReportingSetByCode

      @Deprecated(since="4.4", forRemoval=true) B2BReportingSetModel findReportingSetByCode(String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 4.4. Use getReportingSetForCode(String) instead
      Find reporting set by code.
      Parameters:
      code - the code
      Returns:
      the b2 b reporting set model
    • getReportingSetForCode

      B2BReportingSetModel getReportingSetForCode(String code)
      Find reporting set by code.
      Parameters:
      code - the code
      Returns:
      the b2 b reporting set model
    • findReportingSetForB2BUnit

      @Deprecated(since="4.4", forRemoval=true) B2BReportingSetModel findReportingSetForB2BUnit(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Find reporting set for b2 b unit.
      Parameters:
      unit - the unit
      Returns:
      the b2 b reporting set model
    • getReportingSetForB2BUnit

      B2BReportingSetModel getReportingSetForB2BUnit(B2BUnitModel unit)
      Find reporting set for a b2b unit.
      Parameters:
      unit - the unit
      Returns:
      the b2 b reporting set model
    • setReportSetForUnit

      B2BReportingSetModel setReportSetForUnit(B2BUnitModel unit)
      Create or Update Reporting Set for B2BUnit which is the Branch Units.
      Parameters:
      unit - the unit
      Returns:
      B2BReportingSetModel the new reporting organization for unit
    • updateReportingSetForUnitAndParents

      void updateReportingSetForUnitAndParents(B2BUnitModel unit)
      Updates the reporting set for a b2b unit.
      Parameters:
      unit - the unit that has been updated
    • setReportingOrganizationForUnit

      void setReportingOrganizationForUnit(B2BUnitModel unit)
      Sets the reporting organization on a B2BUnit
      Parameters:
      unit - the unit to have the reporting organization set on