Class B2BUnitServiceProxy

    • Constructor Summary

      Constructors 
      Constructor Description
      B2BUnitServiceProxy()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addMember​(B2BUnitModel group, PrincipalModel member)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Adds the member to a group.
      void disableBranch​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Disable branch.
      void disableUnit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Disables a b2b unit
      void enableBranch​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Enable branch.
      void enableUnit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Enables a b2b unit
      EmployeeModel findAccountManagerForUnit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get salesrep from unit, checking parent units up the organization tree up to the root unit if salesrep is not set in the unit
      java.lang.String findApprovalProcessCodeForUnit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get approval process code from unit, checking parent units up the organization tree up to the root unit if process is not set in the unit
      B2BUnitModel findUnitByUid​(java.lang.String uid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Find unit by uid.
      B2BUnitModel findUnitWithCreditLimit​(B2BUnitModel unit, CurrencyModel currency)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get unit with credit limit/credit check group value, checking parent units up the organization tree up to the root unit if credit limit / credit check group is not set in the unit
      EmployeeModel getAccountManagerForUnit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get salesrep from unit, checking parent units up the organization tree up to the root unit if salesrep is not set in the unit
      java.util.List<java.lang.String> getAllApprovalProcesses()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get All Approval Process codes defined in local.properties
      java.util.List<B2BUnitModel> getAllParents​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get all the parent units in the organization hierarchy all the way up to the root.
      java.util.Set<java.lang.String> getAllProcessDefinitionsNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets all process definition name registered with the ProcessDefinitionFactory
      java.util.Set<B2BUnitModel> getAllUnitsOfOrganization​(B2BCustomerModel customer)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves all units of an organization the customer belongs too.
      java.util.Set<B2BUnitModel> getAllUnitsOfOrganization​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves all units of an organization the unit belongs too.
      <M extends PrincipalModel>
      java.util.Set<M>
      getAllUserGroupMembersForType​(UserGroupModel userGroup, java.lang.Class<M> memberType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves all members of a User Group of the specified type
      java.lang.String getApprovalProcessCodeForUnit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get approval process code from unit, checking parent units up the organization tree up to the root unit if process is not set in the unit
      java.util.Set<B2BCustomerModel> getB2BCustomers​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the b2 b customers.
      java.util.Set<B2BUnitModel> getB2BUnits​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets units that are children of the current unit.
      java.util.Set<B2BUnitModel> getBranch​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the branch of a unit.
      java.util.Set<B2BCustomerModel> getCustomers​(java.util.Set<B2BUnitModel> branch)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the employees.
      protected B2BUnitService<B2BUnitModel,​B2BCustomerModel> getDefaultB2BUnitService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      B2BUnitModel getParent​(B2BCustomerModel employee)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the parent unit of a user.
      B2BUnitModel getParent​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the parent unit of a unit.
      B2BUnitModel getRootUnit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the root unit.
      B2BUnitModel getUnitForUid​(java.lang.String uid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Find unit by uid.
      B2BUnitModel getUnitWithCreditLimit​(B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get unit with credit limit/credit check group value, checking parent units up the organization tree up to the root unit if credit limit / credit check group is not set in the unit
      java.util.Collection<B2BCustomerModel> getUsersOfUserGroup​(B2BUnitModel unit, java.lang.String userGroupId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets all members from the unit who belong to specified User Group
      java.util.Collection<B2BCustomerModel> getUsersOfUserGroup​(B2BUnitModel unit, java.lang.String userGroupId, boolean recursive)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets all members from the unit who belong to specified User Group
      void setCurrentUnit​(B2BCustomerModel customer, B2BUnitModel unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Assigns a default unit for a customer who may be a member of multiple units.
      void setDefaultB2BUnitService​(B2BUnitService<B2BUnitModel,​B2BCustomerModel> defaultB2BUnitService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void updateBranchInSession​(Session session, UserModel currentUser)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the branch for the current use in the session.
      void updateParentB2BUnit​(B2BUnitModel parentB2BUnit, PrincipalModel member)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the parent unit of a given principal.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait