Interface IProject

All Superinterfaces:
ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IProjectImmutable

public interface IProject extends ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IProjectImmutable
Interface to specify an experiment to be modified or created.
  • 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
    setDescription(String description)
    Set the project description.

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

    getCode, getDescription, getPermId, getProjectIdentifier, getSpaceCode, isExistingProject
  • Method Details

    • setDescription

      void setDescription(String description)
      Set the project description.
    • 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.