Interface CommonConfiguration

  • All Superinterfaces:
    BusinessObject, MessageListHolder, java.io.Serializable

    public interface CommonConfiguration
    extends BusinessObject
    Provides common configuration settings of the application like e.g. the sales area. Only those attributes should be here which are relevant for many modules.
    • Method Detail

      • getDistributionChannel

        java.lang.String getDistributionChannel()
        Returns:
        the distribution channel
      • setDistributionChannel

        void setDistributionChannel​(java.lang.String arg)
        Sets the distribution channel
        Parameters:
        arg - distribution channel
      • getDivision

        java.lang.String getDivision()
        Returns the division
        Returns:
        division
      • setDivision

        void setDivision​(java.lang.String arg)
        Sets the division
        Parameters:
        arg - division
      • getSalesOrganisation

        java.lang.String getSalesOrganisation()
        Returns the sales organisation
        Returns:
        salesOrganisation
      • setSalesOrganisation

        void setSalesOrganisation​(java.lang.String arg)
        Sets the sales organisation
        Parameters:
        arg - sales organisation
      • getCurrency

        java.lang.String getCurrency()
        Returns the currency
        Returns:
        currency
      • setCurrency

        void setCurrency​(java.lang.String currency)
        Sets the currency
        Parameters:
        currency -
      • getWecDebug

        boolean getWecDebug()
        Fetching WEC debug attribute. Note that this is not read from a configuration but set into this bean at runtime, depending on the context.
        Available e.g. in sales context.
        In the UI layer, one should derive this setting from the runtime instead.
        Returns:
        WEC debug attribute
      • setWecDebug

        void setWecDebug​(boolean wecDebug)
        Sets the WEC debug parameter from the UI layer. *
        Parameters:
        wecDebug -
      • getDivisionMapping

        DivisionMapping getDivisionMapping​(DivisionMappingKey key)
        Gets the back end mapping for the sales org and division.
        Parameters:
        key - the includes the sales org and division
        Returns:
        the mapping data, alternative division for condition, customer, document type
      • getDistChannelMapping

        DistChannelMapping getDistChannelMapping​(DistChannelMappingKey key)
        Gets the back end mapping for the sales org and distribution channel.
        Parameters:
        key - the includes the sales org and distribution channel
        Returns:
        the mapping data, alternative division for condition, customer/material, document type
      • getDistChannelMappingKey

        DistChannelMappingKey getDistChannelMappingKey​(java.lang.String originalSalesOrg,
                                                       java.lang.String originalDistChannel)
        Factory-method to create a mapping key.
        Parameters:
        originalSalesOrg - sales organisation
        originalDistChannel - distribution channel
        Returns:
        key for distribution channel mapping
      • getDivisionMappingKey

        DivisionMappingKey getDivisionMappingKey​(java.lang.String originalSalesOrg,
                                                 java.lang.String originalDivison)
        Factory-method to create a mapping key.
        Parameters:
        originalSalesOrg - sales organisation
        originalDivison - division
        Returns:
        key for division mapping