Class MaterialCodeConverter
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.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)
-
-
-
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)
-
-