Interface B2BCommerceUnitFacade
- All Superinterfaces:
B2BUnitFacade
- All Known Implementing Classes:
DefaultB2BCommerceUnitFacade
@Deprecated(since="6.0",
forRemoval=true)
public interface B2BCommerceUnitFacade
extends B2BUnitFacade
Deprecated, for removal: This API element is subject to removal in a future version.
A facade for unit management within b2b commerce
-
Method Summary
Modifier and TypeMethodDescriptionaddApproverToUnit(String unitUid, String approverUid) Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0.getPagedApproversForUnit(PageableData pageableData, String unitUid) Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0.removeApproverFromUnit(String unit, 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 Details
-
getPagedApproversForUnit
@Deprecated(since="6.0", forRemoval=true) SearchPageData<CustomerData> getPagedApproversForUnit(PageableData pageableData, 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(String unitUid, 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(String unit, 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
-
B2BUnitFacadeandB2BApproverFacadeinstead.