Package de.hybris.platform.b2b.services
Interface B2BReportingService
-
- All Known Implementing Classes:
DefaultB2BReportingService
public interface B2BReportingService
A service for b2b reporting.- Spring Bean ID:
- b2bReportingService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description B2BReportingSetModel
findReportingSetByCode(java.lang.String code)
Deprecated.Since 4.4.B2BReportingSetModel
findReportingSetForB2BUnit(B2BUnitModel unit)
Deprecated.Since 4.4.B2BReportingSetModel
getReportingSetForB2BUnit(B2BUnitModel unit)
Find reporting set for a b2b unit.B2BReportingSetModel
getReportingSetForCode(java.lang.String code)
Find reporting set by code.void
setReportingOrganizationForUnit(B2BUnitModel unit)
Sets the reporting organization on a B2BUnitB2BReportingSetModel
setReportSetForUnit(B2BUnitModel unit)
Create or Update Reporting Set for B2BUnit which is the Branch Units.void
updateReportingSetForUnitAndParents(B2BUnitModel unit)
Updates the reporting set for a b2b unit.
-
-
-
Method Detail
-
findReportingSetByCode
@Deprecated(since="4.4") B2BReportingSetModel findReportingSetByCode(java.lang.String code)
Deprecated.Since 4.4. UsegetReportingSetForCode(String)
insteadFind reporting set by code.- Parameters:
code
- the code- Returns:
- the b2 b reporting set model
-
getReportingSetForCode
B2BReportingSetModel getReportingSetForCode(java.lang.String code)
Find reporting set by code.- Parameters:
code
- the code- Returns:
- the b2 b reporting set model
-
findReportingSetForB2BUnit
@Deprecated(since="4.4") B2BReportingSetModel findReportingSetForB2BUnit(B2BUnitModel unit)
Deprecated.Since 4.4. UsegetReportingSetForB2BUnit(B2BUnitModel)
insteadFind 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
-
-