Interface B2BCommerceUnitFacade
-
- All Superinterfaces:
B2BUnitFacade
- All Known Implementing Classes:
DefaultB2BCommerceUnitFacade
@Deprecated(since="6.0", forRemoval=true) public interface B2BCommerceUnitFacade extends B2BUnitFacadeDeprecated, for removal: This API element is subject to removal in a future version.Since 6.0. UseB2BUnitFacadeandB2BApproverFacadeinstead.A facade for unit management within b2b commerce
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description B2BSelectionDataaddApproverToUnit(java.lang.String unitUid, java.lang.String approverUid)Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0.SearchPageData<CustomerData>getPagedApproversForUnit(PageableData pageableData, java.lang.String unitUid)Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0.B2BSelectionDataremoveApproverFromUnit(java.lang.String unit, java.lang.String approver)Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0.-
Methods inherited from interface de.hybris.platform.b2bcommercefacades.company.B2BUnitFacade
addAddressToUnit, disableUnit, editAddressOfUnit, enableUnit, getAllActiveUnitsOfOrganization, getAllowedParentUnits, getBranchNodes, getPagedAdministratorsForUnit, getPagedCustomersForUnit, getPagedManagersForUnit, getPagedUserDataForUnit, getParentUnit, getParentUnitNode, getUnitForUid, removeAddressFromUnit, updateOrCreateBusinessUnit
-
-
-
-
Method Detail
-
getPagedApproversForUnit
@Deprecated(since="6.0", forRemoval=true) SearchPageData<CustomerData> getPagedApproversForUnit(PageableData pageableData, java.lang.String unitUid)Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0. UseB2BApproverFacade.getPagedApproversForUnit(PageableData, String)instead.Gets a paged list of approvers. Approvers already assigned to the business unit with unitUid are marked as selected.- Parameters:
pageableData- Pagination dataunitUid- A unit id of the business unit from which to check selected approvers.- Returns:
- A paged approver data.
-
addApproverToUnit
@Deprecated(since="6.0", forRemoval=true) B2BSelectionData addApproverToUnit(java.lang.String unitUid, java.lang.String approverUid)Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0. UseB2BApproverFacade.addApproverToUnit(String, String)instead.Adds an approver to a unit.- Parameters:
unitUid- A unit to add an approver toapproverUid- The approver to add to a unit's list of approvers- Returns:
- An approver if added successfully otherwise null.
-
removeApproverFromUnit
@Deprecated(since="6.0", forRemoval=true) B2BSelectionData removeApproverFromUnit(java.lang.String unit, java.lang.String approver)Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0. UseB2BApproverFacade.removeApproverFromUnit(String, String)instead.Removes an approver from a unit.- Parameters:
unit- A business unit idapprover- An approvers uid- Returns:
- An approver
-
-