public class DefaultSAPB2BUnitService extends DefaultB2BUnitService
| Constructor and Description |
|---|
DefaultSAPB2BUnitService() |
| Modifier and Type | Method and Description |
|---|---|
protected BaseStoreService |
getBaseStoreService() |
java.util.Set<B2BUnitModel> |
getBranch(B2BUnitModel unit)
Gets the branch of a unit.
|
protected java.lang.String |
getCommonDistributionChannel(java.lang.String salesOrganization,
java.lang.String distributionChannel)
Gets the common distribution channel
|
protected java.lang.String |
getCommonDivision(java.lang.String salesOrganization,
java.lang.String division)
Gets the common division
|
protected FlexibleSearchService |
getFlexibleSearchService() |
B2BUnitModel |
getParent(B2BCustomerModel b2bCustomer)
Gets the parent unit of a user.
|
protected java.lang.String |
getSalesAreaSuffix()
Gets the sales area suffix
|
protected boolean |
isSalesAreaDependentB2BUnit(B2BUnitModel unit)
Checks whether the current B2BUnit is a sales area dependent B2BUnit
|
void |
setBaseStoreService(BaseStoreService baseStoreService) |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
addMember, disableBranch, disableUnit, enableBranch, enableUnit, findAccountManagerForUnit, findApprovalProcessCodeForUnit, findUnitByUid, findUnitWithCreditLimit, getAccountManagerForUnit, getActiveCreditLimit, getAllApprovalProcesses, getAllParents, getAllProcessDefinitionsNames, getAllUnitsOfOrganization, getAllUnitsOfOrganization, getAllUserGroupMembersForType, getApprovalProcessCodeForUnit, getB2BCustomers, getB2bUnitDao, getB2BUnits, getBranch, getConfigurationService, getCustomers, getModelService, getParent, getPrincipalGroupMembersDao, getProcessDefinitionFactory, getRootUnit, getSearchRestrictionService, getSessionService, getTypeService, getUnitForUid, getUnitWithCreditLimit, getUserService, getUsersOfUserGroup, getUsersOfUserGroup, lookupPriceGroupFromClosestParent, setB2bUnitDao, setConfigurationService, setCurrentUnit, setModelService, setPrincipalGroupMembersDao, setProcessDefinitionFactory, setSearchRestrictionService, setSessionService, setTypeService, setUserService, toggleBranch, toggleUnit, updateBranchInSession, updateParentB2BUnitpublic java.util.Set<B2BUnitModel> getBranch(B2BUnitModel unit)
B2BUnitServicegetBranch in interface B2BUnitService<B2BUnitModel,B2BCustomerModel>getBranch in class DefaultB2BUnitServiceunit - the unitprotected boolean isSalesAreaDependentB2BUnit(B2BUnitModel unit)
unit - public B2BUnitModel getParent(B2BCustomerModel b2bCustomer)
B2BUnitServicegetParent in interface B2BUnitService<B2BUnitModel,B2BCustomerModel>getParent in class DefaultB2BUnitServiceb2bCustomer - the employeeprotected java.lang.String getSalesAreaSuffix()
protected java.lang.String getCommonDistributionChannel(java.lang.String salesOrganization,
java.lang.String distributionChannel)
salesOrganization - distributionChannel - protected java.lang.String getCommonDivision(java.lang.String salesOrganization,
java.lang.String division)
salesOrganization - division - protected BaseStoreService getBaseStoreService()
public void setBaseStoreService(BaseStoreService baseStoreService)
protected FlexibleSearchService getFlexibleSearchService()
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
Copyright © 2018 SAP SE. All Rights Reserved.