Class GeneralInformationChangingService

    • Nested Class Summary

      • Nested classes/interfaces inherited from class ch.systemsx.cisd.openbis.generic.server.AbstractServer

        ch.systemsx.cisd.openbis.generic.server.AbstractServer.AuthenticatedPersonBasedPrincipalProvider
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MINOR_VERSION  
      ch.systemsx.cisd.common.servlet.IRequestContextProvider requestContextProvider  
      • Fields inherited from class ch.systemsx.cisd.openbis.generic.server.AbstractServer

        CISDHelpdeskEmail, configurer, displaySettingsProvider, executor, mailClientParameters, sessionManager
      • Fields inherited from class ch.systemsx.cisd.openbis.common.spring.AbstractServiceWithLogger

        authenticationLog, notificationLog, operationLog
      • Fields inherited from interface ch.systemsx.cisd.openbis.generic.shared.IServer

        VERSION
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addToMetaproject​(java.lang.String sessionToken, IMetaprojectId metaprojectId, MetaprojectAssignmentsIds assignmentsToAdd)
      Adds given entities to an existing metaproject.
      void addUnofficialVocabularyTerm​(java.lang.String sessionToken, ch.systemsx.cisd.openbis.generic.shared.basic.TechId vocabularyId, java.lang.String code, java.lang.String label, java.lang.String description, java.lang.Long previousTermOrdinal)
      Adds new unofficial terms to a vocabulary starting from specified ordinal + 1.
      void addUnofficialVocabularyTerm​(java.lang.String sessionToken, java.lang.Long vocabularyId, NewVocabularyTerm term)
      Adds new unofficial terms to a vocabulary starting from specified ordinal + 1.
      IGeneralInformationChangingService createLogger​(ch.systemsx.cisd.openbis.common.spring.IInvocationLoggerContext context)  
      ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject createMetaproject​(java.lang.String sessionToken, java.lang.String name, java.lang.String descriptionOrNull)
      Creates a new metaproject.
      void deleteDataSets​(java.lang.String sessionToken, java.util.List<java.lang.String> dataSetCodes, java.lang.String reason, DeletionType deletionType)
      Deletes or trashes the specified data sets depending on the chosen deletion type.
      void deleteDataSetsForced​(java.lang.String sessionToken, java.util.List<java.lang.String> dataSetCodes, java.lang.String reason, DeletionType deletionType)
      Deletes or trashes the specified data sets depending on the chosen deletion type.
      void deleteExperiments​(java.lang.String sessionToken, java.util.List<java.lang.Long> experimentIds, java.lang.String reason, DeletionType deletionType)
      Deletes or trashes the specified experiments depending on the chosen deletion type.
      void deleteMetaproject​(java.lang.String sessionToken, IMetaprojectId metaprojectId)
      Deletes an existing metaproject.
      void deletePermanently​(java.lang.String sessionToken, java.util.List<java.lang.Long> deletionIds)
      Permanently deletes entities moved to trash in specified deletions.
      void deletePermanentlyForced​(java.lang.String sessionToken, java.util.List<java.lang.Long> deletionIds)
      Permanently deletes entities moved to trash in specified deletions.
      void deleteProjects​(java.lang.String sessionToken, java.util.List<java.lang.Long> projectIds, java.lang.String reason)
      Deletes the specified projects.
      void deleteSamples​(java.lang.String sessionToken, java.util.List<java.lang.Long> sampleIds, java.lang.String reason, DeletionType deletionType)
      Deletes or trashes the specified samples depending on the chosen deletion type.
      int getMajorVersion()
      Returns the major version of the server side interface.
      int getMinorVersion()
      Returns the minor version of this server side interface.
      WebAppSettings getWebAppSettings​(java.lang.String sessionToken, java.lang.String webAppId)
      Returns the persistent settings for a given custom web app.
      void registerPerson​(java.lang.String sessionToken, java.lang.String userID)
      Registers Person, this person should be available in one of the configured login systems to be usable.
      void registerPersonSpaceRole​(java.lang.String sessionToken, java.lang.String spaceCode, java.lang.String userID, java.lang.String roleCode)
      Registers a space role for a given person.
      java.lang.String registerSamples​(java.lang.String sessionToken, java.lang.String sampleTypeCode, java.lang.String sessionKey, java.lang.String defaultGroupIdentifier)
      Registers samples parsing a file stored on the HTTP Session.
      java.lang.String registerSamplesWithSilentOverrides​(java.lang.String sessionToken, java.lang.String sampleTypeCode, java.lang.String spaceIdentifierSilentOverrideOrNull, java.lang.String experimentIdentifierSilentOverrideOrNull, java.lang.String sessionKey, java.lang.String defaultGroupIdentifier)
      Registers samples parsing a file stored on the HTTP Session.
      void registerSpace​(java.lang.String sessionToken, java.lang.String spaceCode, java.lang.String spaceDescription)
      Registers a space.
      void removeFromMetaproject​(java.lang.String sessionToken, IMetaprojectId metaprojectId, MetaprojectAssignmentsIds assignmentsToRemove)
      Removes given entities from an existing metaproject.
      void revertDeletions​(java.lang.String sessionToken, java.util.List<java.lang.Long> deletionIds)
      Reverts specified deletions (puts back all entities moved to trash in the deletions).
      void setWebAppSettings​(java.lang.String sessionToken, WebAppSettings webAppSettings)
      Sets the persistent settings for a given custom web app.
      ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject updateMetaproject​(java.lang.String sessionToken, IMetaprojectId metaprojectId, java.lang.String name, java.lang.String descriptionOrNull)
      Updates an existing metaproject.
      void updateSampleProperties​(java.lang.String sessionToken, long sampleID, java.util.Map<java.lang.String,​java.lang.String> properties)  
      java.lang.String updateSamples​(java.lang.String sessionToken, java.lang.String sampleTypeCode, java.lang.String sessionKey, java.lang.String defaultGroupIdentifier)
      Updates samples parsing a file stored on the HTTP Session.
      java.lang.String updateSamplesWithSilentOverrides​(java.lang.String sessionToken, java.lang.String sampleTypeCode, java.lang.String spaceIdentifierSilentOverrideOrNull, java.lang.String experimentIdentifierSilentOverrideOrNull, java.lang.String sessionKey, java.lang.String defaultGroupIdentifier)
      Updates samples parsing a file stored on the HTTP Session.
      java.util.Map<java.lang.String,​java.lang.Object> uploadedSamplesInfo​(java.lang.String sessionToken, java.lang.String sampleTypeCode, java.lang.String sessionKey)
      Returns information regarding the uploaded file without discarding it.
      • Methods inherited from class ch.systemsx.cisd.openbis.generic.server.AbstractServer

        changeUserHomeSpace, checkSession, countActivePersons, createPerson, deactivatePersons, executeASync, expireSession, fillHomeSpace, getAuthSession, getBaseIndexURL, getDAOFactory, getDataSetTypeSlaveServerPlugin, getDefaultDisplaySettings, getPropertiesBatchManager, getSampleTypeSlaveServerPlugin, getServerInformation, getSession, getSessionManager, getSystemUser, getVersion, injectPerson, isArchivingConfigured, isProjectLevelAuthorizationEnabled, isProjectLevelAuthorizationUser, isProjectSamplesEnabled, listGridCustomColumns, logout, registerAtSessionManager, registerSamples, saveDisplaySettings, sendEmail, setBaseIndexURL, setCISDHelpdeskEmail, setDataSetTypeSlaveServerPlugin, setDisplaySettingsProvider, setDssFactory, setSampleTypeSlaveServerPlugin, setSessionUser, setSessionWorkspaceProvider, tryAuthenticate, tryAuthenticateAnonymously, tryAuthenticateAs, tryGetDisabledText, tryGetSession, tryToAuthenticate, tryToAuthenticateAsSystem, updateDisplaySettings
      • Methods inherited from class java.lang.Object

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