public class DefaultB2BUserFacade extends Object implements B2BUserFacade
B2BUserFacade| Constructor and Description |
|---|
DefaultB2BUserFacade() |
public SearchPageData<CustomerData> getPagedCustomers(PageableData pageableData)
B2BUserFacadegetPagedCustomers in interface B2BUserFacadepageableData - Pagination Datapublic B2BUnitData getParentUnitForCustomer(String customerUid)
B2BUserFacadeB2BUnitData for given customer uid.getParentUnitForCustomer in interface B2BUserFacadecustomerUid - the uid of the customerB2BUnitDatapublic void updateCustomer(CustomerData customerData)
B2BUserFacadeB2BCustomerModel.updateCustomer in interface B2BUserFacadecustomerData - The Customer Data CustomerDatapublic void resetCustomerPassword(String customerUid, String updatedPassword)
B2BUserFacaderesetCustomerPassword in interface B2BUserFacadecustomerUid - the uid of the customerpublic void disableCustomer(String customerUid)
B2BUserFacadedisableCustomer in interface B2BUserFacadecustomerUid - the uid of the customerpublic void enableCustomer(String customerUid)
B2BUserFacadeenableCustomer in interface B2BUserFacadecustomerUid - the uid of the customerpublic B2BSelectionData removeUserRole(String userUid, String roleUid)
B2BUserFacaderemoveUserRole in interface B2BUserFacadeuserUid - the uid of the userroleUid - the uid of the role to be removedB2BSelectionDatapublic B2BSelectionData addUserRole(String user, String role)
B2BUserFacadeaddUserRole in interface B2BUserFacadeuser - the uid of the userrole - the uid of the role to be removedB2BSelectionDatapublic SearchPageData<B2BUserGroupData> getPagedB2BUserGroupsForCustomer(PageableData pageableData, String customerUid)
B2BUserFacadegetPagedB2BUserGroupsForCustomer in interface B2BUserFacadepageableData - Pageable DatacustomerUid - the uid of the customerSearchPageDatapublic B2BSelectionData addB2BUserGroupToCustomer(String customerUid, String userGroupUid)
B2BUserFacadeaddB2BUserGroupToCustomer in interface B2BUserFacadecustomerUid - the uid of the customeruserGroupUid - the uid od the user groupB2BSelectionDatapublic void removeB2BUserGroupFromCustomerGroups(String customerUid, String userGroupUid)
B2BUserFacaderemoveB2BUserGroupFromCustomerGroups in interface B2BUserFacadecustomerUid - the uid of the customeruserGroupUid - the uid od the user grouppublic B2BSelectionData deselectB2BUserGroupFromCustomer(String customerUid, String userGroupUid)
B2BUserFacadedeselectB2BUserGroupFromCustomer in interface B2BUserFacadecustomerUid - the uid of the customeruserGroupUid - the uid od the user groupB2BSelectionDatapublic CustomerData getCustomerForUid(String customerUid)
B2BUserFacadegetCustomerForUid in interface B2BUserFacadecustomerUid - the uid of the customerprotected B2BCommerceUserService getB2BCommerceUserService()
public void setB2BCommerceUserService(B2BCommerceUserService b2BCommerceUserService)
protected B2BCommerceB2BUserGroupService getB2BCommerceB2BUserGroupService()
public void setB2BCommerceB2BUserGroupService(B2BCommerceB2BUserGroupService b2BCommerceB2BUserGroupService)
protected UserService getUserService()
public void setUserService(UserService userService)
protected Converter<B2BCustomerModel,CustomerData> getB2BCustomerConverter()
public void setB2BCustomerConverter(Converter<B2BCustomerModel,CustomerData> b2bCustomerConverter)
protected Converter<CustomerData,B2BCustomerModel> getB2BCustomerReverseConverter()
protected Converter<B2BUserGroupModel,B2BUserGroupData> getB2BUserGroupConverter()
public void setB2BUserGroupConverter(Converter<B2BUserGroupModel,B2BUserGroupData> b2BUserGroupConverter)
public void setB2BCustomerReverseConverter(Converter<CustomerData,B2BCustomerModel> b2BCustomerReverseConverter)
protected Converter<B2BUnitModel,B2BUnitData> getB2BUnitConverter()
public void setB2BUnitConverter(Converter<B2BUnitModel,B2BUnitData> b2BUnitConverter)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2017 SAP SE. All Rights Reserved.