Interface B2BItemService

  • All Known Implementing Classes:
    DefaultB2BItemService

    public interface B2BItemService
    A service around B2B models
    • Method Detail

      • findB2BBudgetByCode

        @Deprecated(since="4.4",
                    forRemoval=true)
        B2BBudgetModel findB2BBudgetByCode​(java.lang.String code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Since 4.4. Use B2BCostCenterService.getB2BBudgetForCode(String) Find b2 b budget by code.
        Parameters:
        code - the code
        Returns:
        the b2 b budget model
      • findB2BCustomerByCode

        @Deprecated(since="4.4",
                    forRemoval=true)
        B2BCustomerModel findB2BCustomerByCode​(java.lang.String code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        code - the code
        Returns:
        the b2b customer model
      • findB2BCostCenterByCode

        @Deprecated(since="4.4",
                    forRemoval=true)
        B2BCostCenterModel findB2BCostCenterByCode​(java.lang.String code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        code - the code
        Returns:
        the b2b cost center model
      • findAllRoleGroups

        @Deprecated(since="4.4",
                    forRemoval=true)
        java.util.List<PrincipalGroupModel> findAllRoleGroups()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Since 4.4.
        Returns:
        list of Groups which grant rights to members.
      • findAllItems

        @Deprecated(since="4.4",
                    forRemoval=true)
        <M extends ItemModel> java.util.List<M> findAllItems​(java.lang.Class<M> model)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Since 4.4.
        Parameters:
        model -
        Returns:
        list of Models
      • budgetExists

        @Deprecated(since="4.4",
                    forRemoval=true)
        boolean budgetExists​(java.lang.String code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Since 4.4. Use B2BBudgetService.isBudgetExisting(String) Checks whether the budget exists regardless of visibility constraints
        Parameters:
        code -
        Returns:
        true is budget with this code exists
      • costCenterExists

        @Deprecated(since="4.4",
                    forRemoval=true)
        boolean costCenterExists​(java.lang.String code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Checks whether the cost center exists regardless of visibility constraints
        Parameters:
        code -
        Returns:
        true is budget with this code exists