Interface IGeneralInformationChangingService
- All Superinterfaces:
IRpcService
Service for changing general informations.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToMetaproject(String sessionToken, IMetaprojectId metaprojectId, MetaprojectAssignmentsIds assignmentsToAdd) Adds given entities to an existing metaproject.voidaddUnofficialVocabularyTerm(String sessionToken, TechId vocabularyId, String code, String label, String description, Long previousTermOrdinal, boolean managedInternally) Deprecated.Because the parameters refer to an internal openBIS class (TechID).voidaddUnofficialVocabularyTerm(String sessionToken, Long vocabularyId, NewVocabularyTerm term, boolean managedInternally) Adds new unofficial terms to a vocabulary starting from specified ordinal + 1.createMetaproject(String sessionToken, String name, String descriptionOrNull) Creates a new metaproject.voiddeleteDataSets(String sessionToken, List<String> dataSetCodes, String reason, DeletionType deletionType) Deletes or trashes the specified data sets depending on the chosen deletion type.voiddeleteDataSetsForced(String sessionToken, List<String> dataSetCodes, String reason, DeletionType deletionType) Deletes or trashes the specified data sets depending on the chosen deletion type.voiddeleteExperiments(String sessionToken, List<Long> experimentIds, String reason, DeletionType deletionType) Deletes or trashes the specified experiments depending on the chosen deletion type.voiddeleteMetaproject(String sessionToken, IMetaprojectId metaprojectId) Deletes an existing metaproject.voiddeletePermanently(String sessionToken, List<Long> deletionIds) Permanently deletes entities moved to trash in specified deletions.voiddeletePermanentlyForced(String sessionToken, List<Long> deletionIds) Permanently deletes entities moved to trash in specified deletions.voiddeleteProjects(String sessionToken, List<Long> projectIds, String reason) Deletes the specified projects.voiddeleteSamples(String sessionToken, List<Long> sampleIds, String reason, DeletionType deletionType) Deletes or trashes the specified samples depending on the chosen deletion type.getWebAppSettings(String sessionToken, String webAppId) Returns the persistent settings for a given custom web app.voidregisterPerson(String sessionToken, String userID) Registers Person, this person should be available in one of the configured login systems to be usable.voidregisterPersonSpaceRole(String sessionToken, String spaceCode, String userID, String roleCode) Registers a space role for a given person.registerSamples(String sessionToken, String sampleTypeCode, String sessionKey, String defaultGroupIdentifier) Registers samples parsing a file stored on the HTTP Session.registerSamplesWithSilentOverrides(String sessionToken, String sampleTypeCode, String spaceIdentifierSilentOverrideOrNull, String experimentIdentifierSilentOverrideOrNull, String sessionKey, String defaultGroupIdentifier) Registers samples parsing a file stored on the HTTP Session.voidregisterSpace(String sessionToken, String spaceCode, String spaceDescription) Registers a space.voidremoveFromMetaproject(String sessionToken, IMetaprojectId metaprojectId, MetaprojectAssignmentsIds assignmentsToRemove) Removes given entities from an existing metaproject.voidrevertDeletions(String sessionToken, List<Long> deletionIds) Reverts specified deletions (puts back all entities moved to trash in the deletions).voidsetWebAppSettings(String sessionToken, WebAppSettings webAppSettings) Sets the persistent settings for a given custom web app.updateMetaproject(String sessionToken, IMetaprojectId metaprojectId, String name, String descriptionOrNull) Updates an existing metaproject.voidupdateSampleProperties(String sessionToken, long sampleID, Map<String, String> properties) updateSamples(String sessionToken, String sampleTypeCode, String sessionKey, String defaultGroupIdentifier) Updates samples parsing a file stored on the HTTP Session.updateSamplesWithSilentOverrides(String sessionToken, String sampleTypeCode, String spaceIdentifierSilentOverrideOrNull, String experimentIdentifierSilentOverrideOrNull, String sessionKey, String defaultGroupIdentifier) Updates samples parsing a file stored on the HTTP Session.uploadedSamplesInfo(String sessionToken, String sampleTypeCode, String sessionKey) Returns information regarding the uploaded file without discarding it.Methods inherited from interface ch.systemsx.cisd.common.api.IRpcService
getMajorVersion, getMinorVersion
-
Field Details
-
SERVICE_NAME
Name of this service for which it is registered at the RPC name server.- See Also:
-
SERVICE_URL
Application part of the URL to access this service remotely.- See Also:
-
JSON_SERVICE_URL
URL where the service is exposed via JSON interface.- See Also:
-
-
Method Details
-
updateSampleProperties
-
getWebAppSettings
Returns the persistent settings for a given custom web app.- Parameters:
webAppId- The id of the custom web app to get the display settings for.- Since:
- 1.2
-
createMetaproject
Creates a new metaproject.- Parameters:
name- Name of the metaprojectdescriptionOrNull- Description of the metaproject- Returns:
- Newly created metaproject
- Since:
- 1.3
-
registerSamplesWithSilentOverrides
String registerSamplesWithSilentOverrides(String sessionToken, String sampleTypeCode, String spaceIdentifierSilentOverrideOrNull, String experimentIdentifierSilentOverrideOrNull, String sessionKey, String defaultGroupIdentifier) Registers samples parsing a file stored on the HTTP Session.- Parameters:
sampleTypeCode- Sample type to parsespaceIdentifierSilentOverrideOrNull- Silently overrides Space identifier if givenexperimentIdentifierSilentOverrideOrNull- Silently overrides Experiment identifier if givensessionKey- key of the file stored on the HTTP SessiondefaultGroupIdentifier-- Since:
- 1.5
-
registerSamples
String registerSamples(String sessionToken, String sampleTypeCode, String sessionKey, String defaultGroupIdentifier) Registers samples parsing a file stored on the HTTP Session.- Parameters:
sampleTypeCode- Sample type to parsesessionKey- key of the file stored on the HTTP SessiondefaultGroupIdentifier-- Since:
- 1.5
-
updateSamplesWithSilentOverrides
String updateSamplesWithSilentOverrides(String sessionToken, String sampleTypeCode, String spaceIdentifierSilentOverrideOrNull, String experimentIdentifierSilentOverrideOrNull, String sessionKey, String defaultGroupIdentifier) Updates samples parsing a file stored on the HTTP Session.- Parameters:
sampleTypeCode- Sample type to parsesessionKey- key of the file stored on the HTTP SessiondefaultGroupIdentifier-- Since:
- 1.5
-
updateSamples
String updateSamples(String sessionToken, String sampleTypeCode, String sessionKey, String defaultGroupIdentifier) Updates samples parsing a file stored on the HTTP Session.- Parameters:
sampleTypeCode- Sample type to parsesessionKey- key of the file stored on the HTTP SessiondefaultGroupIdentifier-- Since:
- 1.5
-
uploadedSamplesInfo
Map<String,Object> uploadedSamplesInfo(String sessionToken, String sampleTypeCode, String sessionKey) Returns information regarding the uploaded file without discarding it.- Parameters:
sampleTypeCode- Sample type to parsesessionKey- key of the file stored on the HTTP Session- Since:
- 1.5
-
deleteProjects
Deletes the specified projects.- Parameters:
projectIds- Ids of projects to deletereason- Reason of the deletion- Since:
- 1.6
-
revertDeletions
Reverts specified deletions (puts back all entities moved to trash in the deletions).- Parameters:
deletionIds- Ids of deletions to be reverted- Since:
- 1.6
-
deletePermanently
Permanently deletes entities moved to trash in specified deletions. This method CANNOT delete data sets with deletion_disallow flag set to true in their type (compare withdeletePermanentlyForced(String, List))- Parameters:
deletionIds- Ids of deletions to be deleted permanently- Since:
- 1.6
-
deletePermanentlyForced
Permanently deletes entities moved to trash in specified deletions. It CAN delete data sets with deletion_disallow flag set to true in their type (compare withdeletePermanently(String, List)).- Parameters:
deletionIds- Ids of deletions to be deleted permanently- Since:
- 1.6
-
registerPerson
Registers Person, this person should be available in one of the configured login systems to be usable.- Parameters:
userID- user to be added to the system- Since:
- 1.7
-
registerSpace
Registers a space.- Parameters:
spaceCode- space codespaceDescription- space description- Since:
- 1.7
-
registerPersonSpaceRole
Registers a space role for a given person.- Parameters:
spaceCode- space codeuserID- user idroleCode- openBIS role- Since:
- 1.7
-