Class ConversionUtils
java.lang.Object
ch.systemsx.cisd.etlserver.registrator.api.v2.impl.ConversionUtils
Utility methods to convert transaction-layer DTOs to objects accepted by openBIS.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ch.systemsx.cisd.openbis.generic.shared.dto.DataSetBatchUpdatesDTOstatic ch.systemsx.cisd.openbis.generic.shared.dto.DataSetUpdatesDTOstatic ch.systemsx.cisd.openbis.generic.shared.dto.ExperimentUpdatesDTOconvertToExperimentUpdateDTO(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.ExperimentUpdatable apiExperiment) static ch.systemsx.cisd.openbis.generic.shared.dto.MaterialUpdateDTOconvertToMaterialUpdateDTO(Material material) static List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectImmutable>convertToMetaprojectsImmutable(Collection<ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject> metaprojects) static ch.systemsx.cisd.openbis.generic.shared.dto.MetaprojectUpdatesDTOconvertToMetaprojectUpdatesDTO(Metaproject metaproject) static ch.systemsx.cisd.openbis.generic.shared.dto.NewContainerDataSetconvertToNewContainerDataSet(ch.systemsx.cisd.etlserver.registrator.DataSetRegistrationDetails<?> registrationDetails, String dataStoreCode) static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewExperimentconvertToNewExperiment(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Experiment apiExperiment) static ch.systemsx.cisd.openbis.generic.shared.dto.NewExternalDataconvertToNewExternalData(ch.systemsx.cisd.etlserver.registrator.DataSetRegistrationDetails<?> registrationDetails, String dataStoreCode, ch.systemsx.cisd.openbis.generic.shared.dto.StorageFormat storageFormat, String dataFileRelativePath) static ch.systemsx.cisd.openbis.generic.shared.dto.NewLinkDataSetconvertToNewLinkDataSet(ch.systemsx.cisd.etlserver.registrator.DataSetRegistrationDetails<?> registrationDetails, String dataStoreCode) static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewMaterialconvertToNewMaterial(Material material) static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewMetaprojectconvertToNewMetaproject(Metaproject metaproject) static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewProjectconvertToNewProject(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Project apiProject) static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewSampleconvertToNewSample(Sample apiSample) static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewSpaceconvertToNewSpace(Space apiSpace) static ch.systemsx.cisd.openbis.generic.shared.dto.ProjectUpdatesDTOconvertToProjectUpdateDTO(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Project apiProject) static ch.systemsx.cisd.openbis.generic.shared.dto.SampleUpdatesDTOconvertToSampleUpdateDTO(Sample apiSample)
-
Constructor Details
-
ConversionUtils
public ConversionUtils()
-
-
Method Details
-
convertToNewExperiment
public static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewExperiment convertToNewExperiment(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Experiment apiExperiment) -
convertToExperimentUpdateDTO
public static ch.systemsx.cisd.openbis.generic.shared.dto.ExperimentUpdatesDTO convertToExperimentUpdateDTO(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.ExperimentUpdatable apiExperiment) -
convertToNewSample
public static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewSample convertToNewSample(Sample apiSample) -
convertToSampleUpdateDTO
public static ch.systemsx.cisd.openbis.generic.shared.dto.SampleUpdatesDTO convertToSampleUpdateDTO(Sample apiSample) -
convertToNewLinkDataSet
public static ch.systemsx.cisd.openbis.generic.shared.dto.NewLinkDataSet convertToNewLinkDataSet(ch.systemsx.cisd.etlserver.registrator.DataSetRegistrationDetails<?> registrationDetails, String dataStoreCode) -
convertToNewContainerDataSet
public static ch.systemsx.cisd.openbis.generic.shared.dto.NewContainerDataSet convertToNewContainerDataSet(ch.systemsx.cisd.etlserver.registrator.DataSetRegistrationDetails<?> registrationDetails, String dataStoreCode) -
convertToNewSpace
public static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewSpace convertToNewSpace(Space apiSpace) -
convertToNewProject
public static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewProject convertToNewProject(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Project apiProject) -
convertToProjectUpdateDTO
public static ch.systemsx.cisd.openbis.generic.shared.dto.ProjectUpdatesDTO convertToProjectUpdateDTO(ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Project apiProject) -
convertToDataSetUpdatesDTO
public static ch.systemsx.cisd.openbis.generic.shared.dto.DataSetUpdatesDTO convertToDataSetUpdatesDTO(DataSetUpdatable dataSet) -
convertToDataSetBatchUpdatesDTO
public static ch.systemsx.cisd.openbis.generic.shared.dto.DataSetBatchUpdatesDTO convertToDataSetBatchUpdatesDTO(DataSetUpdatable dataSet) -
convertToNewMaterial
public static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewMaterial convertToNewMaterial(Material material) -
convertToMaterialUpdateDTO
public static ch.systemsx.cisd.openbis.generic.shared.dto.MaterialUpdateDTO convertToMaterialUpdateDTO(Material material) -
convertToNewMetaproject
public static ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewMetaproject convertToNewMetaproject(Metaproject metaproject) -
convertToMetaprojectUpdatesDTO
public static ch.systemsx.cisd.openbis.generic.shared.dto.MetaprojectUpdatesDTO convertToMetaprojectUpdatesDTO(Metaproject metaproject) -
convertToMetaprojectsImmutable
public static List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectImmutable> convertToMetaprojectsImmutable(Collection<ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject> metaprojects)
-