Class MaterialCodeConverter


  • public final class MaterialCodeConverter
    extends java.lang.Object
    Methods to convert material codes from business layer to database and from database to business layer.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String tryMaterialCodeToBusinessLayer​(java.lang.String codeFromDataBaseOrNull, ch.systemsx.cisd.openbis.generic.shared.util.MaterialConfigurationProvider materialConfig)  
      static java.lang.String tryMaterialCodeToDatabase​(java.lang.String codeFromBusinessLayerOrNull, ch.systemsx.cisd.openbis.generic.shared.util.MaterialConfigurationProvider materialConfig)  
      • Methods inherited from class java.lang.Object

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

      • tryMaterialCodeToBusinessLayer

        public static java.lang.String tryMaterialCodeToBusinessLayer​(java.lang.String codeFromDataBaseOrNull,
                                                                      ch.systemsx.cisd.openbis.generic.shared.util.MaterialConfigurationProvider materialConfig)
      • tryMaterialCodeToDatabase

        public static java.lang.String tryMaterialCodeToDatabase​(java.lang.String codeFromBusinessLayerOrNull,
                                                                 ch.systemsx.cisd.openbis.generic.shared.util.MaterialConfigurationProvider materialConfig)