Interface CompanyB2BCommerceFacade
-
- All Known Implementing Classes:
DefaultB2BCommerceB2BUserGroupFacade,DefaultB2BCommerceBudgetFacade,DefaultB2BCommerceCostCenterFacade,DefaultB2BCommercePermissionFacade,DefaultB2BCommerceUnitFacade,DefaultB2BCommerceUserFacade,DefaultCompanyB2BCommerceFacade
@Deprecated(since="6.0") public interface CompanyB2BCommerceFacadeDeprecated.Since 6.0. UseB2BCostCenterFacade,B2BUserGroupFacade,B2BUnitFacade,B2BBudgetFacade,B2BUserFacade,B2BApprovalProcessFacade,B2BApproverFacadeandB2BPermissionFacadeinstead.Facade which services organization management.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<java.lang.String>getAllCurrencies()Deprecated.Get all currenciesjava.util.List<B2BUnitNodeData>getBranchNodes()Deprecated.Gets a list ofB2BUnitNodeDatarepresenting each unit in the branch based on the session customerB2BBudgetDatagetBudgetDataForCode(java.lang.String budgetCode)Deprecated.Get B2BBudgetData for a given budget codejava.util.Map<java.lang.String,java.lang.String>getBusinessProcesses()Deprecated.Get a collection of available business processes for OrderApprovaljava.lang.StringgetCurrentStore()Deprecated.Get the name of the current B2BStore to which the user is logged inCustomerDatagetCustomerForUid(java.lang.String uid)Deprecated.Find a B2BCustomer based on a uidSearchPageData<B2BBudgetData>getPagedBudgets(PageableData pageableData)Deprecated.Get paged B2Budgets for both Manage budgets and Select Budgets for CostCentersB2BUnitDatagetParentUnit()Deprecated.Gets a business unit assigned to the current session user with all the siblings retrieved viaB2BUnitNodeData.getChildren()B2BUnitDatagetUnitForUid(java.lang.String uid)Deprecated.Gets a business unit based on unique identifierjava.util.List<java.lang.String>getUserGroups()Deprecated.A list of usergroup codes a b2b customer can be assigned to
-
-
-
Method Detail
-
getUnitForUid
B2BUnitData getUnitForUid(java.lang.String uid)
Deprecated.Gets a business unit based on unique identifier- Parameters:
uid- A unique id of a business unit.- Returns:
- A business unit or null if not found.
-
getBranchNodes
java.util.List<B2BUnitNodeData> getBranchNodes()
Deprecated.Gets a list ofB2BUnitNodeDatarepresenting each unit in the branch based on the session customer- Returns:
- A list of units in the branch.
-
getParentUnit
B2BUnitData getParentUnit()
Deprecated.Gets a business unit assigned to the current session user with all the siblings retrieved viaB2BUnitNodeData.getChildren()- Returns:
- A business unit assigned to the session customer
-
getCustomerForUid
CustomerData getCustomerForUid(java.lang.String uid)
Deprecated.Find a B2BCustomer based on a uid- Parameters:
uid- A uid of aB2BCustomerModel- Returns:
- A customer data object or null if a customer with uid does not exist
-
getAllCurrencies
java.util.List<java.lang.String> getAllCurrencies()
Deprecated.Get all currencies- Returns:
- CurrencyData
-
getBusinessProcesses
java.util.Map<java.lang.String,java.lang.String> getBusinessProcesses()
Deprecated.Get a collection of available business processes for OrderApproval- Returns:
- A map where the key is process code and value is process name based on the current session locale
-
getPagedBudgets
SearchPageData<B2BBudgetData> getPagedBudgets(PageableData pageableData)
Deprecated.Get paged B2Budgets for both Manage budgets and Select Budgets for CostCenters- Parameters:
pageableData-- Returns:
SearchPageDataof found budgets (could be empty)
-
getBudgetDataForCode
B2BBudgetData getBudgetDataForCode(java.lang.String budgetCode)
Deprecated.Get B2BBudgetData for a given budget code- Parameters:
budgetCode-- Returns:
B2BBudgetDataif found or null otherwise
-
getUserGroups
java.util.List<java.lang.String> getUserGroups()
Deprecated.A list of usergroup codes a b2b customer can be assigned to- Returns:
- A list of
PrincipalModel.UIDa b2b customer can be assigned to
-
getCurrentStore
java.lang.String getCurrentStore()
Deprecated.Get the name of the current B2BStore to which the user is logged in- Returns:
- Name of the current B2BStore
-
-