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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addAttachment​(java.lang.String filePath, java.lang.String title, java.lang.String description, byte[] content)
      Add a new attachment to this sample.
      void setPropertyValue​(java.lang.String propertyCode, java.lang.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 Detail

      • setPropertyValue

        void setPropertyValue​(java.lang.String propertyCode,
                              java.lang.String propertyValue)
        Set the value for a property.
      • addAttachment

        void addAttachment​(java.lang.String filePath,
                           java.lang.String title,
                           java.lang.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.