IExperimentUpdatable (server-original-data-store 7.0.0-rc.3+1777024182 API)
Description: declaration: package: ch.systemsx.cisd.etlserver.registrator.api.v2, interface: IExperimentUpdatable

Package ch.systemsx.cisd.etlserver.registrator.api.v2

# Interface IExperimentUpdatable

All Superinterfaces:
  `ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable`, `ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent`

All Known Subinterfaces:
  `IExperiment`

public interface IExperimentUpdatable extends ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable
Interface to specify an experiment to be modified.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addAttachment(String filePath, String title, String description, byte[] content)`
  Add a new attachment to this sample.
  `void`
  `setPropertyValue(String propertyCode, String propertyValue)`
  Set the value for a property.

  ### Methods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable

  `getExperimentIdentifier, getExperimentType, getModificationDate, getPermId, getPropertyValue, getRegistrationDate, isExistingExperiment`

  ### Methods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent

  `getEntityId`

- ## Method Details

  - ### setPropertyValue

    void setPropertyValue(String propertyCode, String propertyValue)
    Set the value for a property.

  - ### addAttachment

    void addAttachment(String filePath, String title, String description, byte[] content)
    Add a new attachment to this sample.
    Parameters:
      `filePath` - The path of the attachment as reported to the database.
      `title` - The title of the attachment.
      `description` - A description of the attachment.
      `content` - The actual content of the attachment.