Class DataSetRegistrationTransactionV2Delegate

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void assignRoleToSpace​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.RoleWithHierarchy.RoleCode role, ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISpaceImmutable space, java.util.List<java.lang.String> userIds, java.util.List<java.lang.String> groupCodes)
      Give users and/or groups access privileges to a space.
      IDataSet createNewDataSet()
      Create a new data set for registration in openBIS.
      IDataSet createNewDataSet​(java.lang.String dataSetType)
      Create a new data set with the specified code.
      IDataSet createNewDataSet​(java.lang.String dataSetType, ch.systemsx.cisd.openbis.generic.shared.basic.dto.DataSetKind datasetKindOrNull)  
      IDataSet createNewDataSet​(java.lang.String dataSetType, java.lang.String dataSetCode)
      Create a new data set with the specified type and code.
      IDataSet createNewDataSet​(java.lang.String dataSetType, java.lang.String dataSetCode, ch.systemsx.cisd.openbis.generic.shared.basic.dto.DataSetKind datasetKindOrNull)  
      java.lang.String createNewDirectory​(IDataSet dst, java.lang.String dirName)
      Create a new directory and return the path.
      IExperiment createNewExperiment​(java.lang.String experimentIdentifierString, java.lang.String experimentTypeCode)
      Create a new experiment to register with the openBIS AS.
      java.lang.String createNewFile​(IDataSet dst, java.lang.String fileName)
      Create a new empty file and return the path.
      java.lang.String createNewFile​(IDataSet dst, java.lang.String dstInDataset, java.lang.String fileName)
      Create a new empty file and return the path.
      java.lang.String createNewLink​(IDataSet dst, java.lang.String dstInDataset, java.lang.String linkName, java.lang.String linkTarget)
      Create a new symbolic link and return the path.
      IMaterial createNewMaterial​(java.lang.String materialCode, java.lang.String materialType)
      Create a new material to register with the openBIS AS.
      IMetaproject createNewMetaproject​(java.lang.String name, java.lang.String description)
      Creates the new metaproject for the current user.
      IMetaproject createNewMetaproject​(java.lang.String name, java.lang.String description, java.lang.String ownerId)
      Creates the new metaproject for the specified user.
      IProject createNewProject​(java.lang.String projectIdentifier)
      Create a new project to register with the openBIS AS.
      ISample createNewProjectSampleWithGeneratedCode​(java.lang.String projectIdentifier, java.lang.String sampleTypeCode)
      Create a new project sample to register with the openBIS AS.
      ISample createNewSample​(java.lang.String sampleIdentifierString, java.lang.String sampleTypeCode)
      Create a new sample to register with the openBIS AS.
      ISample createNewSampleWithGeneratedCode​(java.lang.String spaceCode, java.lang.String sampleTypeCode)
      Create a new sample to register with the openBIS AS.
      ISpace createNewSpace​(java.lang.String spaceCode, java.lang.String spaceAdminUserIdOrNull)
      Create a new space to register with the openBIS AS.
      IVocabularyTerm createNewVocabularyTerm()
      Creates a new vocabulary term, which has to be assigned to a IVocabulary.
      java.io.InputStream getAttachmentContent​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable experiment, java.lang.String fileName, java.lang.Integer versionOrNull)
      Returns an experiment attachment content.
      java.io.InputStream getAttachmentContent​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IProjectImmutable project, java.lang.String fileName, java.lang.Integer versionOrNull)
      Returns a project attachment content.
      java.io.InputStream getAttachmentContent​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable sample, java.lang.String fileName, java.lang.Integer versionOrNull)
      Returns a sample attachment content.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.authorization.IAuthorizationService getAuthorizationService()  
      net.lemnik.eodsql.DynamicTransactionQuery getDatabaseQuery​(java.lang.String dataSourceName)
      Gets a database query object for the data source with the specified name.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IDataSetImmutable getDataSet​(java.lang.String dataSetCode)
      Get a data set from the openBIS AS.
      IDataSetUpdatable getDataSetForUpdate​(java.lang.String dataSetCode)
      Get a data set from the openBIS AS for the purpose of modifying it.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable getExperiment​(java.lang.String experimentIdentifierString)
      Get an experiment from the openBIS AS.
      IExperimentUpdatable getExperimentForUpdate​(java.lang.String experimentIdentifierString)
      Get an experiment from the openBIS AS for the purpose of modifying it.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExternalDataManagementSystemImmutable getExternalDataManagementSystem​(java.lang.String externalDataManagementSystemCode)
      Get an external data management system from the openBIS AS.
      ch.systemsx.cisd.etlserver.TopLevelDataSetRegistratorGlobalState getGlobalState()  
      java.io.File getIncoming()
      Returns the file representing the logical incoming file.
      IDSSRegistrationLogger getLogger()
      Returns the logger object that logs messages to openbis operation log and data store server registration logs.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable getMaterial​(java.lang.String identifier)
      Get a material from the openBIS AS.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable getMaterial​(java.lang.String materialCode, java.lang.String materialType)
      Get a material from the openBIS AS.
      IMaterial getMaterialForUpdate​(java.lang.String identifier)
      Get a material from the openBIS AS for the purpose of modifying it.
      IMaterial getMaterialForUpdate​(java.lang.String materialCode, java.lang.String materialType)
      Get a material from the openBIS AS for the purpose of modifying it.
      IMetaproject getMetaproject​(java.lang.String name)
      Only allowed when the user is available.
      IMetaproject getMetaproject​(java.lang.String name, java.lang.String ownerId)
      Only allowed when the user is not available.
      java.lang.String getOpenBisServiceSessionToken()
      Returns the currently used session token by the openBIS service
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IProjectImmutable getProject​(java.lang.String projectIdentifier)
      Get a project from the openBIS AS.
      IProject getProjectForUpdate​(java.lang.String projectIdentifierString)
      Get an project from the openBIS AS for the purpose of modifying it.
      ch.systemsx.cisd.etlserver.registrator.DataSetRegistrationContext getRegistrationContext()
      Return a registration context object which can be used to store information that needs to be accessed through the registration process.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable getSample​(java.lang.String sampleIdentifierString)
      Get a sample from the openBIS AS.
      ISample getSampleForUpdate​(java.lang.String sampleIdentifierString)
      Get a sample from the openBIS AS for the purpose of modifying it.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISearchService getSearchService()
      Retrieve the search service for this transaction.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISearchService getSearchServiceFilteredForUser​(java.lang.String userId)
      Retrieve the search service for this transaction.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISearchService getSearchServiceUnfiltered()
      Retrieve the search service for this transaction.
      java.util.Map<java.lang.String,​java.lang.String> getServerInformation()
      Returns information about the openBIS server.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISpaceImmutable getSpace​(java.lang.String spaceCode)
      Get a space from the openBIS AS.
      java.lang.String getUserId()
      Get the id of the user on whose behalf this registration transaction is performed.
      ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable getVocabulary​(java.lang.String code)
      Get the read-only vocabulary with given code
      IVocabulary getVocabularyForUpdate​(java.lang.String code)
      Get the vocabulary with given code
      java.util.List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IAttachmentImmutable> listAttachments​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable experiment)
      Returns a list of experiment attachments with all versions.
      java.util.List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IAttachmentImmutable> listAttachments​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IProjectImmutable project)
      Returns a list of project attachments with all versions.
      java.util.List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IAttachmentImmutable> listAttachments​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable sample)
      Returns a list of sample attachments with all versions.
      IDataSetUpdatable makeDataSetMutable​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IDataSetImmutable dataSet)
      Given an immutable data set, make it mutable.
      IExperimentUpdatable makeExperimentMutable​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IExperimentImmutable experiment)
      Given an immutable experiment, make it mutable.
      IMaterial makeMaterialMutable​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable material)
      Given an immutable material, make it mutable.
      IProject makeProjectMutable​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IProjectImmutable project)
      Given an immutable project, make it mutable.
      ISample makeSampleMutable​(ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISampleImmutable sample)
      Given an immutable sample, make it mutable.
      java.lang.String moveFile​(java.lang.String src, IDataSet dst)
      Move a file from into the root of a data set.
      java.lang.String moveFile​(java.lang.String src, IDataSet dst, java.lang.String dstInDataset)
      Move a file to a specified location in a data set.
      void revokeRoleFromSpace​(ch.systemsx.cisd.openbis.generic.shared.basic.dto.RoleWithHierarchy.RoleCode role, ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISpaceImmutable space, java.util.List<java.lang.String> userIds, java.util.List<java.lang.String> groupCodes)
      Take away users and/or groups access privileges to a space.
      void setUserId​(java.lang.String userIdOrNull)
      Set the id of the user on whose behalf this registration transaction is performed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait