Class TextMapper

  • Direct Known Subclasses:
    HeadTextMapper, ItemTextMapper

    public abstract class TextMapper
    extends BaseMapper
    Abstract class which provides generic functionality to exchange texts between ERP (via LO-API) and the BOL layer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String configLangIso  
      protected java.lang.String configTextId  
      static java.lang.String OBJECT_ID_TEXT
      ID of LO-API segment dealing with texts
    • Constructor Summary

      Constructors 
      Constructor Description
      TextMapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setConfigLangIso​(java.lang.String configLangIso)
      Injected (eventually) Language Iso code.
      void setConfigTextId​(java.lang.String configTextId)
      Injected (eventually) text ID
      protected void traceReadTexts​(Text text, java.lang.String description, Log4JWrapper sapLogger)  
      protected void traceText​(java.lang.String heading, java.lang.String id, java.lang.String langu, Text text, java.lang.String handle, java.lang.String parentHandle, Log4JWrapper sapLogger)  
      • Methods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.erp.strategy.BaseMapper

        addToObjInst, init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OBJECT_ID_TEXT

        public static final java.lang.String OBJECT_ID_TEXT
        ID of LO-API segment dealing with texts
        See Also:
        Constant Field Values
      • configTextId

        protected java.lang.String configTextId
      • configLangIso

        protected java.lang.String configLangIso
    • Constructor Detail

      • TextMapper

        public TextMapper()
    • Method Detail

      • setConfigTextId

        public void setConfigTextId​(java.lang.String configTextId)
        Injected (eventually) text ID
        Parameters:
        configTextId -
      • setConfigLangIso

        public void setConfigLangIso​(java.lang.String configLangIso)
        Injected (eventually) Language Iso code.
        Parameters:
        configLangIso -
      • traceReadTexts

        protected void traceReadTexts​(Text text,
                                      java.lang.String description,
                                      Log4JWrapper sapLogger)
      • traceText

        protected void traceText​(java.lang.String heading,
                                 java.lang.String id,
                                 java.lang.String langu,
                                 Text text,
                                 java.lang.String handle,
                                 java.lang.String parentHandle,
                                 Log4JWrapper sapLogger)