Interface IApplicationServerApi
- All Superinterfaces:
IRpcService
The required access rights of the methods are the default ones. They can be configured with a capability-role map. For more details see "Installation and Administrator Guide of the openBIS Server" openBIS WIKI page.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidarchiveDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetArchiveOptions options) Archives data sets with the providedIDataSetIdids.voidconfirmDeletions(String sessionToken, List<? extends IDeletionId> deletionIds) Confirms deletions with the providedIDeletionIdids (i.e.createAuthorizationGroups(String sessionToken, List<AuthorizationGroupCreation> newAuthorizationGroups) Creates authorization groups basing on the providedAuthorizationGroupCreationobjects.createCodes(String sessionToken, String prefix, EntityKind entityKind, int count) Generates identifiers that are unique for a given entity kind and consist of a prefix and a sequence generated number (e.g.createDataSets(String sessionToken, List<DataSetCreation> newDataSets) Creates data sets basing on the providedDataSetCreationobjects.createDataSetTypes(String sessionToken, List<DataSetTypeCreation> newDataSetTypes) Creates data set types basing on the providedDataSetTypeCreationobjects.createExperiments(String sessionToken, List<ExperimentCreation> newExperiments) Creates experiments basing on the providedExperimentCreationobjects.createExperimentTypes(String sessionToken, List<ExperimentTypeCreation> newExperimentTypes) Creates experiment types basing on the providedExperimentTypeCreationobjects.createExternalDataManagementSystems(String sessionToken, List<ExternalDmsCreation> newExternalDataManagementSystems) Creates external data management systems basing on the providedExternalDmsCreationobjects.createPermIdStrings(String sessionToken, int count) Generates globally unique identifiers that consist of a timestamp and a sequence generated number (e.g.createPersonalAccessTokens(String sessionToken, List<PersonalAccessTokenCreation> newPersonalAccessTokens) Creates personal access tokens basing on the providedPersonalAccessTokenCreationobjects.createPersons(String sessionToken, List<PersonCreation> newPersons) Creates persons basing on the providedPersonCreationobjects.createPlugins(String sessionToken, List<PluginCreation> newPlugins) Creates plugins (i.e.createProjects(String sessionToken, List<ProjectCreation> newProjects) Creates projects basing on the providedProjectCreationobjects.createPropertyTypes(String sessionToken, List<PropertyTypeCreation> newPropertyTypes) Creates property types basing on the providedPropertyTypeCreationobjects.createQueries(String sessionToken, List<QueryCreation> newQueries) Creates queries basing on the providedQueryCreationobjects.createRoleAssignments(String sessionToken, List<RoleAssignmentCreation> newRoleAssignments) Creates role assignments basing on the providedRoleAssignmentCreationobjects.createSamples(String sessionToken, List<SampleCreation> newSamples) Creates samples basing on the providedSampleCreationobjects.createSampleTypes(String sessionToken, List<SampleTypeCreation> newSampleTypes) Creates sample types basing on the providedSampleTypeCreationobjects.createSemanticAnnotations(String sessionToken, List<SemanticAnnotationCreation> newAnnotations) Creates semantic annotations basing on the providedSemanticAnnotationCreationobjects.createSpaces(String sessionToken, List<SpaceCreation> newSpaces) Creates spaces basing on the providedSpaceCreationobjects.createTags(String sessionToken, List<TagCreation> newTags) Creates tags basing on the providedTagCreationobjects.createTypeGroupAssignments(String sessionToken, List<TypeGroupAssignmentCreation> newTypeGroupAssignments) Creates type group assignments basing on the providedTypeGroupAssignmentCreationobjects.createTypeGroups(String sessionToken, List<TypeGroupCreation> newTypeGroups) Creates type groups basing on the providedTypeGroupCreationobjects.createVocabularies(String sessionToken, List<VocabularyCreation> newVocabularies) Creates vocabularies and vocabulary terms (optionally) basing on the providedVocabularyCreationobjects.createVocabularyTerms(String sessionToken, List<VocabularyTermCreation> newVocabularyTerms) Creates vocabulary terms basing on the providedVocabularyTermCreationobjects.voiddeleteAuthorizationGroups(String sessionToken, List<? extends IAuthorizationGroupId> groupIds, AuthorizationGroupDeletionOptions deletionOptions) Permanently deletes authorization groups with the providedIAuthorizationGroupIdids.deleteDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetDeletionOptions deletionOptions) Moves data sets with the providedIDataSetIdids to trash.voiddeleteDataSetTypes(String sessionToken, List<? extends IEntityTypeId> dataSetTypeIds, DataSetTypeDeletionOptions deletionOptions) Permanently deletes data set types with the providedIEntityTypeIdids.deleteExperiments(String sessionToken, List<? extends IExperimentId> experimentIds, ExperimentDeletionOptions deletionOptions) Moves experiments with the providedIExperimentIdids to trash.voiddeleteExperimentTypes(String sessionToken, List<? extends IEntityTypeId> experimentTypeIds, ExperimentTypeDeletionOptions deletionOptions) Permanently deletes experiment types with the providedIEntityTypeIdids.voiddeleteExternalDataManagementSystems(String sessionToken, List<? extends IExternalDmsId> externalDmsIds, ExternalDmsDeletionOptions deletionOptions) Permanently deletes external data management systems with the providedIExternalDmsIdids.voiddeleteOperationExecutions(String sessionToken, List<? extends IOperationExecutionId> executionIds, OperationExecutionDeletionOptions deletionOptions) Permanently deletes operation executions with the providedIOperationExecutionIdids.voiddeletePersonalAccessTokens(String sessionToken, List<? extends IPersonalAccessTokenId> personalAccessTokenIds, PersonalAccessTokenDeletionOptions deletionOptions) Permanently deletes personal access tokens with the providedIPersonalAccessTokenIdids.voiddeletePersons(String sessionToken, List<? extends IPersonId> personIds, PersonDeletionOptions deletionOptions) Permanently deletes persons with the providedIPersonIdids.voiddeletePlugins(String sessionToken, List<? extends IPluginId> pluginIds, PluginDeletionOptions deletionOptions) Permanently deletes plugins (i.e.voiddeleteProjects(String sessionToken, List<? extends IProjectId> projectIds, ProjectDeletionOptions deletionOptions) Permanently deletes projects with the providedIProjectIdids.voiddeletePropertyTypes(String sessionToken, List<? extends IPropertyTypeId> propertyTypeIds, PropertyTypeDeletionOptions deletionOptions) Permanently deletes property types with the providedIPropertyTypeIdids.voiddeleteQueries(String sessionToken, List<? extends IQueryId> queryIds, QueryDeletionOptions deletionOptions) Permanently deletes queries with the providedIQueryIdids.voiddeleteRoleAssignments(String sessionToken, List<? extends IRoleAssignmentId> assignmentIds, RoleAssignmentDeletionOptions deletionOptions) Permanently deletes role assignments with the providedIRoleAssignmentIdids.deleteSamples(String sessionToken, List<? extends ISampleId> sampleIds, SampleDeletionOptions deletionOptions) Moves samples with the providedISampleIdids to trash.voiddeleteSampleTypes(String sessionToken, List<? extends IEntityTypeId> sampleTypeIds, SampleTypeDeletionOptions deletionOptions) Permanently deletes sample types with the providedIEntityTypeIdids.voiddeleteSemanticAnnotations(String sessionToken, List<? extends ISemanticAnnotationId> annotationIds, SemanticAnnotationDeletionOptions deletionOptions) Permanently deletes semantic annotations with the providedISemanticAnnotationIdids.voiddeleteSpaces(String sessionToken, List<? extends ISpaceId> spaceIds, SpaceDeletionOptions deletionOptions) Permanently deletes spaces with the providedISpaceIdids.voiddeleteTags(String sessionToken, List<? extends ITagId> tagIds, TagDeletionOptions deletionOptions) Permanently deletes tags with the providedITagIdids.voiddeleteTypeGroupAssignments(String sessionToken, List<? extends ITypeGroupAssignmentId> typeGroupAssignmentIds, TypeGroupAssignmentDeletionOptions deletionOptions) Permanently deletes type groups with the providedITypeGroupAssignmentIdids.voiddeleteTypeGroups(String sessionToken, List<? extends ITypeGroupId> typeGroupIds, TypeGroupDeletionOptions deletionOptions) Permanently deletes type groups with the providedITypeGroupIdids.voiddeleteVocabularies(String sessionToken, List<? extends IVocabularyId> ids, VocabularyDeletionOptions deletionOptions) Permanently deletes vocabularies with the providedIVocabularyIdids.voiddeleteVocabularyTerms(String sessionToken, List<? extends IVocabularyTermId> termIds, VocabularyTermDeletionOptions deletionOptions) Permanently deletes vocabulary terms with the providedIVocabularyTermIdids.evaluatePlugin(String sessionToken, PluginEvaluationOptions options) Evaluates the provided plugin (e.g.executeAggregationService(String sessionToken, IDssServiceId serviceId, AggregationServiceExecutionOptions options) Executes an aggregation service with the providedIDssServiceIdid.executeCustomASService(String sessionToken, ICustomASServiceId serviceId, CustomASServiceExecutionOptions options) Executes a custom application server service with the providedICustomASServiceIdid.executeExport(String sessionToken, ExportData exportData, ExportOptions exportOptions) executeImport(String sessionToken, ImportData importData, ImportOptions importOptions) executeOperations(String sessionToken, List<? extends IOperation> operations, IOperationExecutionOptions options) Executes all provided operations in one transaction.voidexecuteProcessingService(String sessionToken, IDssServiceId serviceId, ProcessingServiceExecutionOptions options) Executes a processing service with the providedIDssServiceIdid.executeQuery(String sessionToken, IQueryId queryId, QueryExecutionOptions options) Executes a query with the providedIQueryIdid.executeReportingService(String sessionToken, IDssServiceId serviceId, ReportingServiceExecutionOptions options) Executes a reporting service with the providedIDssServiceIdid.executeSearchDomainService(String sessionToken, SearchDomainServiceExecutionOptions options) Executes a search domain service.executeSql(String sessionToken, String sql, SqlExecutionOptions options) Executes the provided SQL.getAuthorizationGroups(String sessionToken, List<? extends IAuthorizationGroupId> groupIds, AuthorizationGroupFetchOptions fetchOptions) Gets authorization groups for the providedIAuthorizationGroupIdids.getDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetFetchOptions fetchOptions) Gets data sets for the providedIDataSetIdids.getDataSetTypes(String sessionToken, List<? extends IEntityTypeId> dataSetTypeIds, DataSetTypeFetchOptions fetchOptions) Gets data set types for the providedIEntityTypeIdids.getExperiments(String sessionToken, List<? extends IExperimentId> experimentIds, ExperimentFetchOptions fetchOptions) Gets experiments for the providedIExperimentIdids.getExperimentTypes(String sessionToken, List<? extends IEntityTypeId> experimentTypeIds, ExperimentTypeFetchOptions fetchOptions) Gets experiment types for the providedIEntityTypeIdids.getExternalDataManagementSystems(String sessionToken, List<? extends IExternalDmsId> externalDmsIds, ExternalDmsFetchOptions fetchOptions) Gets external data management systems for the providedIExternalDmsIdids.getOperationExecutions(String sessionToken, List<? extends IOperationExecutionId> executionIds, OperationExecutionFetchOptions fetchOptions) Gets operation executions for the providedIOperationExecutionIdids.getPersonalAccessTokens(String sessionToken, List<? extends IPersonalAccessTokenId> personalAccessTokenIds, PersonalAccessTokenFetchOptions fetchOptions) Gets personal access tokens for the providedIPersonalAccessTokenIdids.getPersons(String sessionToken, List<? extends IPersonId> ids, PersonFetchOptions fetchOptions) Gets persons for the providedIPersonIdids.getPlugins(String sessionToken, List<? extends IPluginId> pluginIds, PluginFetchOptions fetchOptions) Gets plugins (i.e.getProjects(String sessionToken, List<? extends IProjectId> projectIds, ProjectFetchOptions fetchOptions) Gets projects for the providedIProjectIdids.getPropertyTypes(String sessionToken, List<? extends IPropertyTypeId> typeIds, PropertyTypeFetchOptions fetchOptions) Gets property types for the providedIPropertyTypeIdids.getQueries(String sessionToken, List<? extends IQueryId> queryIds, QueryFetchOptions fetchOptions) Gets queries for the providedIQueryIdids.getQueryDatabases(String sessionToken, List<? extends IQueryDatabaseId> queryDatabaseIds, QueryDatabaseFetchOptions fetchOptions) Gets query databases for the providedIQueryDatabaseIdids.getRights(String sessionToken, List<? extends IObjectId> ids, RightsFetchOptions fetchOptions) Gets authorization rights for the providedIObjectIdids.getRoleAssignments(String sessionToken, List<? extends IRoleAssignmentId> ids, RoleAssignmentFetchOptions fetchOptions) Gets role assignments for the providedIRoleAssignmentIdids.getSamples(String sessionToken, List<? extends ISampleId> sampleIds, SampleFetchOptions fetchOptions) Gets samples for the providedISampleIdids.getSampleTypes(String sessionToken, List<? extends IEntityTypeId> sampleTypeIds, SampleTypeFetchOptions fetchOptions) Gets sample types for the providedIEntityTypeIdids.getSemanticAnnotations(String sessionToken, List<? extends ISemanticAnnotationId> annotationIds, SemanticAnnotationFetchOptions fetchOptions) Gets semantic annotations for the providedISemanticAnnotationIdids.getServerInformation(String sessionToken) Returns a map with additional server information: api-version : major and minor version of the API (e.g.Returns a map with additional server public information: authentication-service : currently used authenticated service (e.g.getSessionInformation(String sessionToken) Returns detailed information about a user's session.getSpaces(String sessionToken, List<? extends ISpaceId> spaceIds, SpaceFetchOptions fetchOptions) Gets spaces for the providedISpaceIdids.getTags(String sessionToken, List<? extends ITagId> tagIds, TagFetchOptions fetchOptions) Gets tags for the providedITagIdids.getTypeGroupAssignments(String sessionToken, List<? extends ITypeGroupAssignmentId> ids, TypeGroupAssignmentFetchOptions fetchOptions) Gets type groups for the providedITypeGroupIdids.getTypeGroups(String sessionToken, List<? extends ITypeGroupId> typeGroupIds, TypeGroupFetchOptions fetchOptions) Gets type groups for the providedITypeGroupIdids.getVocabularies(String sessionToken, List<? extends IVocabularyId> vocabularyIds, VocabularyFetchOptions fetchOptions) Gets vocabularies for the providedIVocabularyIdids.getVocabularyTerms(String sessionToken, List<? extends IVocabularyTermId> vocabularyTermIds, VocabularyTermFetchOptions fetchOptions) Gets vocabulary terms for the providedIVocabularyTermIdids.booleanisSessionActive(String sessionToken) Returns true if a user's session is active.voidlockDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetLockOptions options) Locks data sets with the providedIDataSetIdids.Authenticates a user basing on the provided user id and password.Authenticates a user basing on the provided user id and password and makes the session look like as if it was a different user.Authenticates as an anonymous user who does not require a password.voidTerminates a user's session.voidrevertDeletions(String sessionToken, List<? extends IDeletionId> deletionIds) Reverts deletions with the providedIDeletionIdids (i.e.searchAggregationServices(String sessionToken, AggregationServiceSearchCriteria searchCriteria, AggregationServiceFetchOptions fetchOptions) Searches for aggregation services basing on the providedAggregationServiceSearchCriteria.searchAuthorizationGroups(String sessionToken, AuthorizationGroupSearchCriteria searchCriteria, AuthorizationGroupFetchOptions fetchOptions) Searches for authorization groups basing on the providedAuthorizationGroupSearchCriteria.searchCustomASServices(String sessionToken, CustomASServiceSearchCriteria searchCriteria, CustomASServiceFetchOptions fetchOptions) Searches for custom application server services basing on the providedCustomASServiceSearchCriteria.searchDataSets(String sessionToken, DataSetSearchCriteria searchCriteria, DataSetFetchOptions fetchOptions) Searches for data sets basing on the providedDataSetSearchCriteria.searchDataSetTypes(String sessionToken, DataSetTypeSearchCriteria searchCriteria, DataSetTypeFetchOptions fetchOptions) Searches for data set types basing on the providedDataSetTypeSearchCriteria.searchDataStores(String sessionToken, DataStoreSearchCriteria searchCriteria, DataStoreFetchOptions fetchOptions) Searches for data stores basing on the providedDataStoreSearchCriteria.searchDeletions(String sessionToken, DeletionSearchCriteria searchCriteria, DeletionFetchOptions fetchOptions) Searches for deletions basing on the providedDeletionSearchCriteria.searchEvents(String sessionToken, EventSearchCriteria searchCriteria, EventFetchOptions fetchOptions) Searches for events basing on the providedEventSearchCriteria.searchExperiments(String sessionToken, ExperimentSearchCriteria searchCriteria, ExperimentFetchOptions fetchOptions) Searches for experiments basing on the providedExperimentSearchCriteria.searchExperimentTypes(String sessionToken, ExperimentTypeSearchCriteria searchCriteria, ExperimentTypeFetchOptions fetchOptions) Searches for experiment types basing on the providedExperimentTypeSearchCriteria.searchExternalDataManagementSystems(String sessionToken, ExternalDmsSearchCriteria searchCriteria, ExternalDmsFetchOptions fetchOptions) Searches for external data management systems basing on the providedExternalDmsSearchCriteria.searchGlobally(String sessionToken, GlobalSearchCriteria searchCriteria, GlobalSearchObjectFetchOptions fetchOptions) Searches for experiments, samples and data sets at once basing on the providedGlobalSearchCriteria.searchObjectKindModifications(String sessionToken, ObjectKindModificationSearchCriteria searchCriteria, ObjectKindModificationFetchOptions fetchOptions) Searches for object kind modifications basing on the providedObjectKindModificationSearchCriteria.searchOperationExecutions(String sessionToken, OperationExecutionSearchCriteria searchCriteria, OperationExecutionFetchOptions fetchOptions) Searches for operation executions basing on the providedOperationExecutionSearchCriteria.searchPersonalAccessTokens(String sessionToken, PersonalAccessTokenSearchCriteria searchCriteria, PersonalAccessTokenFetchOptions fetchOptions) Searches for personal access tokens basing on the providedPersonalAccessTokenSearchCriteria.searchPersons(String sessionToken, PersonSearchCriteria searchCriteria, PersonFetchOptions fetchOptions) Searches for persons basing on the providedPersonSearchCriteria.searchPlugins(String sessionToken, PluginSearchCriteria searchCriteria, PluginFetchOptions fetchOptions) Searches for plugins (i.e.searchProcessingServices(String sessionToken, ProcessingServiceSearchCriteria searchCriteria, ProcessingServiceFetchOptions fetchOptions) Searches for processing services basing on the providedProcessingServiceSearchCriteria.searchProjects(String sessionToken, ProjectSearchCriteria searchCriteria, ProjectFetchOptions fetchOptions) Searches for projects basing on the providedProjectSearchCriteria.searchPropertyAssignments(String sessionToken, PropertyAssignmentSearchCriteria searchCriteria, PropertyAssignmentFetchOptions fetchOptions) Searches for property assignments basing on the providedPropertyAssignmentSearchCriteria.searchPropertyTypes(String sessionToken, PropertyTypeSearchCriteria searchCriteria, PropertyTypeFetchOptions fetchOptions) Searches for property types basing on the providedPropertyTypeSearchCriteria.searchQueries(String sessionToken, QuerySearchCriteria searchCriteria, QueryFetchOptions fetchOptions) Searches for queries basing on the providedQuerySearchCriteria.searchQueryDatabases(String sessionToken, QueryDatabaseSearchCriteria searchCriteria, QueryDatabaseFetchOptions fetchOptions) Searches for query databases basing on the providedQueryDatabaseSearchCriteria.searchReportingServices(String sessionToken, ReportingServiceSearchCriteria searchCriteria, ReportingServiceFetchOptions fetchOptions) Searches for reporting services basing on the providedReportingServiceSearchCriteria.searchRoleAssignments(String sessionToken, RoleAssignmentSearchCriteria searchCriteria, RoleAssignmentFetchOptions fetchOptions) Searches for role assignments basing on the providedRoleAssignmentSearchCriteria.searchSamples(String sessionToken, SampleSearchCriteria searchCriteria, SampleFetchOptions fetchOptions) Searches for samples basing on the providedSampleSearchCriteria.searchSampleTypes(String sessionToken, SampleTypeSearchCriteria searchCriteria, SampleTypeFetchOptions fetchOptions) Searches for sample types basing on the providedSampleTypeSearchCriteria.searchSearchDomainServices(String sessionToken, SearchDomainServiceSearchCriteria searchCriteria, SearchDomainServiceFetchOptions fetchOptions) Searches for search domain services basing on the providedSearchDomainServiceSearchCriteria.searchSemanticAnnotations(String sessionToken, SemanticAnnotationSearchCriteria searchCriteria, SemanticAnnotationFetchOptions fetchOptions) Searches for semantic annotations basing on the providedSemanticAnnotationSearchCriteria.searchSessionInformation(String sessionToken, SessionInformationSearchCriteria searchCriteria, SessionInformationFetchOptions fetchOptions) Searches for sessions of users basing on the providedSessionInformationSearchCriteria.searchSpaces(String sessionToken, SpaceSearchCriteria searchCriteria, SpaceFetchOptions fetchOptions) Searches for spaces basing on the providedSpaceSearchCriteria.searchTags(String sessionToken, TagSearchCriteria searchCriteria, TagFetchOptions fetchOptions) Searches for tags basing on the providedTagSearchCriteria.searchTypeGroupAssignments(String sessionToken, TypeGroupAssignmentSearchCriteria searchCriteria, TypeGroupAssignmentFetchOptions fetchOptions) Searches for type groups basing on the providedTypeGroupSearchCriteria.searchTypeGroups(String sessionToken, TypeGroupSearchCriteria searchCriteria, TypeGroupFetchOptions fetchOptions) Searches for type groups basing on the providedTypeGroupSearchCriteria.searchVocabularies(String sessionToken, VocabularySearchCriteria searchCriteria, VocabularyFetchOptions fetchOptions) Searches for vocabularies basing on the providedVocabularySearchCriteria.searchVocabularyTerms(String sessionToken, VocabularyTermSearchCriteria searchCriteria, VocabularyTermFetchOptions fetchOptions) Searches for vocabulary terms basing on the providedVocabularyTermSearchCriteria.voidunarchiveDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetUnarchiveOptions options) Unarchives data sets with the providedIDataSetIdids.voidunlockDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetUnlockOptions options) Unlocks data sets with the providedIDataSetIdids.voidupdateAuthorizationGroups(String sessionToken, List<AuthorizationGroupUpdate> authorizationGroupUpdates) Updates authorization groups basing on the providedAuthorizationGroupUpdateobjects.voidupdateDataSets(String sessionToken, List<DataSetUpdate> dataSetUpdates) Updates data sets basing on the providedDataSetUpdateobjects.voidupdateDataSetTypes(String sessionToken, List<DataSetTypeUpdate> dataSetTypeUpdates) Updates data set types basing on the providedDataSetTypeUpdateobjects.voidupdateExperiments(String sessionToken, List<ExperimentUpdate> experimentUpdates) Updates experiments basing on the providedExperimentUpdateobjects.voidupdateExperimentTypes(String sessionToken, List<ExperimentTypeUpdate> experimentTypeUpdates) Updates experiment types basing on the providedExperimentTypeUpdateobjects.voidupdateExternalDataManagementSystems(String sessionToken, List<ExternalDmsUpdate> externalDmsUpdates) Updates external data management systems basing on the providedExternalDmsUpdateobjects.voidupdateOperationExecutions(String sessionToken, List<OperationExecutionUpdate> executionUpdates) Updates operation executions basing on the providedOperationExecutionUpdateobjects.voidupdatePersonalAccessTokens(String sessionToken, List<PersonalAccessTokenUpdate> personalAccessTokenUpdates) Updates personal access tokens basing on the providedPersonalAccessTokenUpdateobjects.voidupdatePersons(String sessionToken, List<PersonUpdate> personUpdates) Updates persons basing on the providedPersonUpdateobjects.voidupdatePlugins(String sessionToken, List<PluginUpdate> pluginUpdates) Updates plugins (i.e.voidupdateProjects(String sessionToken, List<ProjectUpdate> projectUpdates) Updates projects basing on the providedProjectUpdateobjects.voidupdatePropertyTypes(String sessionToken, List<PropertyTypeUpdate> propertyTypeUpdates) Updates property types basing on the providedPropertyTypeUpdateobjects.voidupdateQueries(String sessionToken, List<QueryUpdate> queryUpdates) Updates queries basing on the providedQueryUpdateobjects.voidupdateSamples(String sessionToken, List<SampleUpdate> sampleUpdates) Updates samples basing on the providedSampleUpdateobjects.voidupdateSampleTypes(String sessionToken, List<SampleTypeUpdate> sampleTypeUpdates) Updates sample types basing on the providedSampleTypeUpdateobjects.voidupdateSemanticAnnotations(String sessionToken, List<SemanticAnnotationUpdate> annotationUpdates) Updates semantic annotations basing on the providedSemanticAnnotationUpdateobjects.voidupdateSpaces(String sessionToken, List<SpaceUpdate> spaceUpdates) Updates spaces basing on the providedSpaceUpdateobjects.voidupdateTags(String sessionToken, List<TagUpdate> tagUpdates) Updates tags basing on the providedTagUpdateobjects.voidupdateTypeGroups(String sessionToken, List<TypeGroupUpdate> typeGroupUpdates) Creates type groups basing on the providedTypeGroupCreationobjects.voidupdateVocabularies(String sessionToken, List<VocabularyUpdate> vocabularyUpdates) Updates vocabularies basing on the providedVocabularyUpdateobjects.voidupdateVocabularyTerms(String sessionToken, List<VocabularyTermUpdate> vocabularyTermUpdates) Updates vocabulary terms basing on the providedVocabularyTermUpdateobjects.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
- See Also:
-
MAJOR_VERSION
static final int MAJOR_VERSION- See Also:
-
MINOR_VERSION
static final int MINOR_VERSION- See Also:
-
-
Method Details
-
login
Authenticates a user basing on the provided user id and password. If the authentication is successful, then returns a session token. Otherwise returns null.- Throws:
UserFailureException- in case of any problems
-
loginAs
Authenticates a user basing on the provided user id and password and makes the session look like as if it was a different user. If the authentication is successful, then returns a session token. Otherwise returns null. The provided user id and password must represent anINSTANCE_ADMINaccount.- Throws:
UserFailureException- in case of any problems
-
loginAsAnonymousUser
String loginAsAnonymousUser()Authenticates as an anonymous user who does not require a password.- Throws:
UserFailureException- in case of any problems
-
logout
Terminates a user's session.- Throws:
UserFailureException- in case of any problems
-
getSessionInformation
Returns detailed information about a user's session.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
isSessionActive
Returns true if a user's session is active. Otherwise returns false.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
createSpaces
Creates spaces basing on the providedSpaceCreationobjects. Returns ids of the newly created spaces where nth id corresponds to nth creation object.Required access rights:
SPACE_ADMINor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectSpaceCreationobjects, insufficient access rights etc.
-
createProjects
Creates projects basing on the providedProjectCreationobjects. Returns ids of the newly created projects where nth id corresponds to nth creation object.Required access rights:
SPACE_POWER_USERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectProjectCreationobjects, insufficient access rights etc.
-
createExperiments
List<ExperimentPermId> createExperiments(String sessionToken, List<ExperimentCreation> newExperiments) Creates experiments basing on the providedExperimentCreationobjects. Returns ids of the newly created experiments where nth id corresponds to nth creation object.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectExperimentCreationobjects, insufficient access rights etc.
-
createExperimentTypes
List<EntityTypePermId> createExperimentTypes(String sessionToken, List<ExperimentTypeCreation> newExperimentTypes) Creates experiment types basing on the providedExperimentTypeCreationobjects. Returns ids of the newly created experiment types where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectExperimentTypeCreationobjects, insufficient access rights etc.
-
createSamples
Creates samples basing on the providedSampleCreationobjects. Returns ids of the newly created samples where nth id corresponds to nth creation object.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectSampleCreationobjects, insufficient access rights etc.
-
createSampleTypes
List<EntityTypePermId> createSampleTypes(String sessionToken, List<SampleTypeCreation> newSampleTypes) Creates sample types basing on the providedSampleTypeCreationobjects. Returns ids of the newly created sample types where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectSampleTypeCreationobjects, insufficient access rights etc.
-
createDataSets
Creates data sets basing on the providedDataSetCreationobjects. Returns ids of the newly created data sets where nth id corresponds to nth creation object.Required access rights:
SPACE_ETL_SERVERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectDataSetCreationobjects, insufficient access rights etc.
-
createDataSetTypes
List<EntityTypePermId> createDataSetTypes(String sessionToken, List<DataSetTypeCreation> newDataSetTypes) Creates data set types basing on the providedDataSetTypeCreationobjects. Returns ids of the newly created data set types where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectDataSetTypeCreationobjects, insufficient access rights etc.
-
createPropertyTypes
List<PropertyTypePermId> createPropertyTypes(String sessionToken, List<PropertyTypeCreation> newPropertyTypes) Creates property types basing on the providedPropertyTypeCreationobjects. Returns ids of the newly created property types where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectPropertyTypeCreationobjects, insufficient access rights etc.
-
createPlugins
Creates plugins (i.e. dynamic property evaluators, managed property handlers, entity validators) basing on the providedPluginCreationobjects. Returns ids of the newly created plugins where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectPluginCreationobjects, insufficient access rights etc.
-
createVocabularies
List<VocabularyPermId> createVocabularies(String sessionToken, List<VocabularyCreation> newVocabularies) Creates vocabularies and vocabulary terms (optionally) basing on the providedVocabularyCreationobjects. Returns ids of the newly created vocabularies where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectVocabularyCreationobjects, insufficient access rights etc.
-
createVocabularyTerms
List<VocabularyTermPermId> createVocabularyTerms(String sessionToken, List<VocabularyTermCreation> newVocabularyTerms) Creates vocabulary terms basing on the providedVocabularyTermCreationobjects. Returns ids of the newly created vocabulary terms where nth id corresponds to nth creation object.-
Required access rights:
- unofficial terms -
PROJECT_USERor stronger - official terms -
PROJECT_POWER_USERor stronger - internally managed -
INSTANCE_ADMIN
- Throws:
UserFailureException- in case of any problems, e.g. incorrectVocabularyTermCreationobjects, insufficient access rights etc.
- unofficial terms -
-
createTags
Creates tags basing on the providedTagCreationobjects. Returns ids of the newly created tags where nth id corresponds to nth creation object. Tags are only visible to a user who created them.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectTagCreationobjects, insufficient access rights etc.
-
createAuthorizationGroups
List<AuthorizationGroupPermId> createAuthorizationGroups(String sessionToken, List<AuthorizationGroupCreation> newAuthorizationGroups) Creates authorization groups basing on the providedAuthorizationGroupCreationobjects. Returns ids of the newly created authorization groups where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectAuthorizationGroupCreationobjects, insufficient access rights etc.
-
createRoleAssignments
List<RoleAssignmentTechId> createRoleAssignments(String sessionToken, List<RoleAssignmentCreation> newRoleAssignments) Creates role assignments basing on the providedRoleAssignmentCreationobjects. Returns ids of the newly created role assignments where nth id corresponds to nth creation object.-
Required access rights:
- instance roles -
INSTANCE_ADMIN - space roles -
SPACE_ADMINor stronger - project roles -
PROJECT_ADMINor stronger
- Throws:
UserFailureException- in case of any problems, e.g. incorrectRoleAssignmentCreationobjects, insufficient access rights etc.
- instance roles -
-
createPersons
Creates persons basing on the providedPersonCreationobjects. Returns ids of the newly created persons where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectPersonCreationobjects, insufficient access rights etc.
-
createExternalDataManagementSystems
List<ExternalDmsPermId> createExternalDataManagementSystems(String sessionToken, List<ExternalDmsCreation> newExternalDataManagementSystems) Creates external data management systems basing on the providedExternalDmsCreationobjects. Returns ids of the newly created external data management systems where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectExternalDmsCreationobjects, insufficient access rights etc.
-
createQueries
Creates queries basing on the providedQueryCreationobjects. Returns ids of the newly created queries where nth id corresponds to nth creation object.Required access rights: depends on a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems, e.g. incorrectExternalDmsCreationobjects, insufficient access rights etc.
-
createSemanticAnnotations
List<SemanticAnnotationPermId> createSemanticAnnotations(String sessionToken, List<SemanticAnnotationCreation> newAnnotations) Creates semantic annotations basing on the providedSemanticAnnotationCreationobjects. Returns ids of the newly created semantic annotations where nth id corresponds to nth creation object.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectSemanticAnnotationCreationobjects, insufficient access rights etc.
-
createPersonalAccessTokens
List<PersonalAccessTokenPermId> createPersonalAccessTokens(String sessionToken, List<PersonalAccessTokenCreation> newPersonalAccessTokens) Creates personal access tokens basing on the providedPersonalAccessTokenCreationobjects. Returns ids of the newly created personal access tokens where nth id corresponds to nth creation object.Required access rights:
PROJECT_OBSERVER- Throws:
UserFailureException- in case of any problems, e.g. incorrectPersonalAccessTokenCreationobjects, insufficient access rights etc.
-
createTypeGroups
Creates type groups basing on the providedTypeGroupCreationobjects. Returns ids of the newly created type groups where nth id corresponds to nth creation object. -
createTypeGroupAssignments
List<TypeGroupAssignmentId> createTypeGroupAssignments(String sessionToken, List<TypeGroupAssignmentCreation> newTypeGroupAssignments) Creates type group assignments basing on the providedTypeGroupAssignmentCreationobjects. Returns ids of the newly created type groups where nth id corresponds to nth creation object. -
updateSpaces
Updates spaces basing on the providedSpaceUpdateobjects.Required access rights:
SPACE_ADMINor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectSpaceUpdateobjects, insufficient access rights etc.
-
updateProjects
Updates projects basing on the providedProjectUpdateobjects.Required access rights:
SPACE_POWER_USER/PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectProjectUpdateobjects, insufficient access rights etc.
-
updateExperiments
Updates experiments basing on the providedExperimentUpdateobjects.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectExperimentUpdateobjects, insufficient access rights etc.
-
updateExperimentTypes
Updates experiment types basing on the providedExperimentTypeUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectExperimentTypeUpdateobjects, insufficient access rights etc.
-
updateSamples
Updates samples basing on the providedSampleUpdateobjects.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectSampleUpdateobjects, insufficient access rights etc.
-
updateSampleTypes
Updates sample types basing on the providedSampleTypeUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectSampleTypeUpdateobjects, insufficient access rights etc.
-
updateDataSets
Updates data sets basing on the providedDataSetUpdateobjects.Required access rights:
PROJECT_POWER_USERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectDataSetUpdateobjects, insufficient access rights etc.
-
updateDataSetTypes
Updates data set types basing on the providedDataSetTypeUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectDataSetTypeUpdateobjects, insufficient access rights etc.
-
updateExternalDataManagementSystems
void updateExternalDataManagementSystems(String sessionToken, List<ExternalDmsUpdate> externalDmsUpdates) Updates external data management systems basing on the providedExternalDmsUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectExternalDmsUpdateobjects, insufficient access rights etc.
-
updatePropertyTypes
Updates property types basing on the providedPropertyTypeUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectPropertyTypeUpdateobjects, insufficient access rights etc.
-
updatePlugins
Updates plugins (i.e. dynamic property evaluators, managed property handlers, entity validators) basing on the providedPluginUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectPluginUpdateobjects, insufficient access rights etc.
-
updateVocabularies
Updates vocabularies basing on the providedVocabularyUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectVocabularyUpdateobjects, insufficient access rights etc.
-
updateVocabularyTerms
Updates vocabulary terms basing on the providedVocabularyTermUpdateobjects.-
Required access rights:
- unofficial terms -
PROJECT_USERor stronger - official terms -
PROJECT_POWER_USERor stronger - internally managed -
INSTANCE_ADMIN
- Throws:
UserFailureException- in case of any problems, e.g. incorrectVocabularyTermUpdateobjects, insufficient access rights etc.
- unofficial terms -
-
updateTags
Updates tags basing on the providedTagUpdateobjects. A user can only update own tags (i.e. tags a user has created).Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectTagUpdateobjects, insufficient access rights etc.
-
updateAuthorizationGroups
void updateAuthorizationGroups(String sessionToken, List<AuthorizationGroupUpdate> authorizationGroupUpdates) Updates authorization groups basing on the providedAuthorizationGroupUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectAuthorizationGroupUpdateobjects, insufficient access rights etc.
-
updatePersons
Updates persons basing on the providedPersonUpdateobjects.-
Required access rights:
- activate/deactivate -
INSTANCE_ADMIN - home space - user himself/herself /
SPACE_ADMINor stronger - webapp settings - user himself/herself /
INSTANCE_ADMIN
- Throws:
UserFailureException- in case of any problems, e.g. incorrectPersonUpdateobjects, insufficient access rights etc.
- activate/deactivate -
-
updateOperationExecutions
void updateOperationExecutions(String sessionToken, List<OperationExecutionUpdate> executionUpdates) Updates operation executions basing on the providedOperationExecutionUpdateobjects.Required access rights: user who created the operation execution /
INSTANCE_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems, e.g. incorrectOperationExecutionUpdateobjects, insufficient access rights etc.
-
updateSemanticAnnotations
void updateSemanticAnnotations(String sessionToken, List<SemanticAnnotationUpdate> annotationUpdates) Updates semantic annotations basing on the providedSemanticAnnotationUpdateobjects.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems, e.g. incorrectSemanticAnnotationUpdateobjects, insufficient access rights etc.
-
updateQueries
Updates queries basing on the providedQueryUpdateobjects.Required access rights: depends on a query and a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems, e.g. incorrectQueryUpdateobjects, insufficient access rights etc.
-
updatePersonalAccessTokens
void updatePersonalAccessTokens(String sessionToken, List<PersonalAccessTokenUpdate> personalAccessTokenUpdates) Updates personal access tokens basing on the providedPersonalAccessTokenUpdateobjects.-
Required access rights:
ETL_SERVER- Throws:
UserFailureException- in case of any problems, e.g. incorrectPersonalAccessTokenUpdateobjects, insufficient access rights etc.
-
updateTypeGroups
Creates type groups basing on the providedTypeGroupCreationobjects. Returns ids of the newly created type groups where nth id corresponds to nth creation object. -
getRights
Map<IObjectId,Rights> getRights(String sessionToken, List<? extends IObjectId> ids, RightsFetchOptions fetchOptions) Gets authorization rights for the providedIObjectIdids. A result map contains an entry for a given id only if an object for that id has been found and that object can be accessed by the user.- Throws:
UserFailureException- in case of any problems
-
getSpaces
Map<ISpaceId,Space> getSpaces(String sessionToken, List<? extends ISpaceId> spaceIds, SpaceFetchOptions fetchOptions) Gets spaces for the providedISpaceIdids. A result map contains an entry for a given id only if a space for that id has been found and that space can be accessed by the user.By default the returned spaces contain only basic information. Any additional information to be fetched has to be explicitly requested via
SpaceFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger (a project user can see a space if it has access to any of the projects in that space)- Throws:
UserFailureException- in case of any problems
-
getProjects
Map<IProjectId,Project> getProjects(String sessionToken, List<? extends IProjectId> projectIds, ProjectFetchOptions fetchOptions) Gets projects for the providedIProjectIdids. A result map contains an entry for a given id only if a project for that id has been found and that project can be accessed by the user.By default the returned projects contain only basic information. Any additional information to be fetched has to be explicitly requested via
ProjectFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getExperiments
Map<IExperimentId,Experiment> getExperiments(String sessionToken, List<? extends IExperimentId> experimentIds, ExperimentFetchOptions fetchOptions) Gets experiments for the providedIExperimentIdids. A result map contains an entry for a given id only if an experiment for that id has been found and that experiment can be accessed by the user.By default the returned experiments contain only basic information. Any additional information to be fetched has to be explicitly requested via
ExperimentFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getExperimentTypes
Map<IEntityTypeId,ExperimentType> getExperimentTypes(String sessionToken, List<? extends IEntityTypeId> experimentTypeIds, ExperimentTypeFetchOptions fetchOptions) Gets experiment types for the providedIEntityTypeIdids. A result map contains an entry for a given id only if an experiment type for that id has been found and that experiment type can be accessed by the user.By default the returned experiment types contain only basic information. Any additional information to be fetched has to be explicitly requested via
ExperimentTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getSamples
Map<ISampleId,Sample> getSamples(String sessionToken, List<? extends ISampleId> sampleIds, SampleFetchOptions fetchOptions) Gets samples for the providedISampleIdids. A result map contains an entry for a given id only if a sample for that id has been found and that sample can be accessed by the user.By default the returned samples contain only basic information. Any additional information to be fetched has to be explicitly requested via
SampleFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getSampleTypes
Map<IEntityTypeId,SampleType> getSampleTypes(String sessionToken, List<? extends IEntityTypeId> sampleTypeIds, SampleTypeFetchOptions fetchOptions) Gets sample types for the providedIEntityTypeIdids. A result map contains an entry for a given id only if an sample type for that id has been found and that sample type can be accessed by the user.By default the returned sample types contain only basic information. Any additional information to be fetched has to be explicitly requested via
SampleTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getDataSets
Map<IDataSetId,DataSet> getDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetFetchOptions fetchOptions) Gets data sets for the providedIDataSetIdids. A result map contains an entry for a given id only if a data set for that id has been found and that data set can be accessed by the user.By default the returned data sets contain only basic information. Any additional information to be fetched has to be explicitly requested via
DataSetFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getDataSetTypes
Map<IEntityTypeId,DataSetType> getDataSetTypes(String sessionToken, List<? extends IEntityTypeId> dataSetTypeIds, DataSetTypeFetchOptions fetchOptions) Gets data set types for the providedIEntityTypeIdids. A result map contains an entry for a given id only if a data set type for that id has been found and that data set type can be accessed by the user.By default the returned data set types contain only basic information. Any additional information to be fetched has to be explicitly requested via
DataSetTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getPropertyTypes
Map<IPropertyTypeId,PropertyType> getPropertyTypes(String sessionToken, List<? extends IPropertyTypeId> typeIds, PropertyTypeFetchOptions fetchOptions) Gets property types for the providedIPropertyTypeIdids. A result map contains an entry for a given id only if a property type for that id has been found and that property type can be accessed by the user.By default the returned property types contain only basic information. Any additional information to be fetched has to be explicitly requested via
PropertyTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getPlugins
Map<IPluginId,Plugin> getPlugins(String sessionToken, List<? extends IPluginId> pluginIds, PluginFetchOptions fetchOptions) Gets plugins (i.e. dynamic property evaluators, managed property handlers, entity validators) for the providedIPluginIdids. A result map contains an entry for a given id only if a plugin for that id has been found and that plugin can be accessed by the user.By default the returned plugins contain only basic information. Any additional information to be fetched has to be explicitly requested via
PluginFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getVocabularies
Map<IVocabularyId,Vocabulary> getVocabularies(String sessionToken, List<? extends IVocabularyId> vocabularyIds, VocabularyFetchOptions fetchOptions) Gets vocabularies for the providedIVocabularyIdids. A result map contains an entry for a given id only if a vocabulary for that id has been found and that vocabulary can be accessed by the user.By default the returned vocabularies contain only basic information. Any additional information to be fetched has to be explicitly requested via
VocabularyFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getVocabularyTerms
Map<IVocabularyTermId,VocabularyTerm> getVocabularyTerms(String sessionToken, List<? extends IVocabularyTermId> vocabularyTermIds, VocabularyTermFetchOptions fetchOptions) Gets vocabulary terms for the providedIVocabularyTermIdids. A result map contains an entry for a given id only if a vocabulary term for that id has been found and that vocabulary term can be accessed by the user.By default the returned vocabulary terms contain only basic information. Any additional information to be fetched has to be explicitly requested via
VocabularyTermFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getTags
Map<ITagId,Tag> getTags(String sessionToken, List<? extends ITagId> tagIds, TagFetchOptions fetchOptions) Gets tags for the providedITagIdids. A result map contains an entry for a given id only if a tag for that id has been found and that tag can be accessed by the user. A user can get own tags only (i.e. tags a user has created).By default the returned tags contain only basic information. Any additional information to be fetched has to be explicitly requested via
TagFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getAuthorizationGroups
Map<IAuthorizationGroupId,AuthorizationGroup> getAuthorizationGroups(String sessionToken, List<? extends IAuthorizationGroupId> groupIds, AuthorizationGroupFetchOptions fetchOptions) Gets authorization groups for the providedIAuthorizationGroupIdids. A result map contains an entry for a given id only if an authorization group for that id has been found and that authorization group can be accessed by the user.By default the returned authorization groups contain only basic information. Any additional information to be fetched has to be explicitly requested via
AuthorizationGroupFetchOptions.Required access rights:
PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
getRoleAssignments
Map<IRoleAssignmentId,RoleAssignment> getRoleAssignments(String sessionToken, List<? extends IRoleAssignmentId> ids, RoleAssignmentFetchOptions fetchOptions) Gets role assignments for the providedIRoleAssignmentIdids. A result map contains an entry for a given id only if a role assignment for that id has been found and that role assignment can be accessed by the user.By default the returned role assignments contain only basic information. Any additional information to be fetched has to be explicitly requested via
RoleAssignmentFetchOptions.Required access rights:
PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
getPersons
Map<IPersonId,Person> getPersons(String sessionToken, List<? extends IPersonId> ids, PersonFetchOptions fetchOptions) Gets persons for the providedIPersonIdids. A result map contains an entry for a given id only if a person for that id has been found and that person can be accessed by the user.By default the returned persons contain only basic information. Any additional information to be fetched has to be explicitly requested via
PersonFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getExternalDataManagementSystems
Map<IExternalDmsId,ExternalDms> getExternalDataManagementSystems(String sessionToken, List<? extends IExternalDmsId> externalDmsIds, ExternalDmsFetchOptions fetchOptions) Gets external data management systems for the providedIExternalDmsIdids. A result map contains an entry for a given id only if an external data management system for that id has been found and that external data management system can be accessed by the user.By default the returned external data management systems contain only basic information. Any additional information to be fetched has to be explicitly requested via
ExternalDmsFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getSemanticAnnotations
Map<ISemanticAnnotationId,SemanticAnnotation> getSemanticAnnotations(String sessionToken, List<? extends ISemanticAnnotationId> annotationIds, SemanticAnnotationFetchOptions fetchOptions) Gets semantic annotations for the providedISemanticAnnotationIdids. A result map contains an entry for a given id only if a semantic annotation for that id has been found and that semantic annotation can be accessed by the user.By default the returned semantic annotations contain only basic information. Any additional information to be fetched has to be explicitly requested via
SemanticAnnotationFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getOperationExecutions
Map<IOperationExecutionId,OperationExecution> getOperationExecutions(String sessionToken, List<? extends IOperationExecutionId> executionIds, OperationExecutionFetchOptions fetchOptions) Gets operation executions for the providedIOperationExecutionIdids. A result map contains an entry for a given id only if an operation execution for that id has been found and that operation execution can be accessed by the user.By default the returned operation executions contain only basic information. Any additional information to be fetched has to be explicitly requested via
OperationExecutionFetchOptions.Required access rights: user who created the operation execution /
INSTANCE_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getQueries
Map<IQueryId,Query> getQueries(String sessionToken, List<? extends IQueryId> queryIds, QueryFetchOptions fetchOptions) Gets queries for the providedIQueryIdids. A result map contains an entry for a given id only if a query for that id has been found and that query can be accessed by the user.By default the returned queries contain only basic information. Any additional information to be fetched has to be explicitly requested via
QueryFetchOptions.Required access rights: depends on a query and a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems
-
getQueryDatabases
Map<IQueryDatabaseId,QueryDatabase> getQueryDatabases(String sessionToken, List<? extends IQueryDatabaseId> queryDatabaseIds, QueryDatabaseFetchOptions fetchOptions) Gets query databases for the providedIQueryDatabaseIdids. A result map contains an entry for a given id only if a query database for that id has been found and that query database can be accessed by the user.By default the returned query databases contain only basic information. Any additional information to be fetched has to be explicitly requested via
QueryDatabaseFetchOptions.Required access rights: depends on a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems
-
getPersonalAccessTokens
Map<IPersonalAccessTokenId,PersonalAccessToken> getPersonalAccessTokens(String sessionToken, List<? extends IPersonalAccessTokenId> personalAccessTokenIds, PersonalAccessTokenFetchOptions fetchOptions) Gets personal access tokens for the providedIPersonalAccessTokenIdids. A result map contains an entry for a given id only if a personal access token for that id has been found and that personal access token can be accessed by the user.By default the returned personal access tokens contain only basic information. Any additional information to be fetched has to be explicitly requested via
PersonalAccessTokenFetchOptions.-
Required access rights:
- own tokens -
PROJECT_OBSERVERor stronger - all tokens -
INSTANCE_ADMIN
- Throws:
UserFailureException- in case of any problems
- own tokens -
-
getTypeGroups
Map<ITypeGroupId,TypeGroup> getTypeGroups(String sessionToken, List<? extends ITypeGroupId> typeGroupIds, TypeGroupFetchOptions fetchOptions) Gets type groups for the providedITypeGroupIdids. A result map contains an entry for a given id only if a type group for that id has been found and that type group can be accessed by the user.By default the returned type groups contain only basic information. Any additional information to be fetched has to be explicitly requested via
TypeGroupFetchOptions.-
Required access rights:
- all groups -
INSTANCE_ADMIN
- Throws:
UserFailureException- in case of any problems
- all groups -
-
getTypeGroupAssignments
Map<ITypeGroupAssignmentId,TypeGroupAssignment> getTypeGroupAssignments(String sessionToken, List<? extends ITypeGroupAssignmentId> ids, TypeGroupAssignmentFetchOptions fetchOptions) Gets type groups for the providedITypeGroupIdids. A result map contains an entry for a given id only if a type group for that id has been found and that type group can be accessed by the user.By default the returned type groups contain only basic information. Any additional information to be fetched has to be explicitly requested via
TypeGroupFetchOptions.-
Required access rights:
- all groups -
INSTANCE_ADMIN
- Throws:
UserFailureException- in case of any problems
- all groups -
-
searchSpaces
SearchResult<Space> searchSpaces(String sessionToken, SpaceSearchCriteria searchCriteria, SpaceFetchOptions fetchOptions) Searches for spaces basing on the providedSpaceSearchCriteria.By default the returned spaces contain only basic information. Any additional information to be fetched has to be explicitly requested via
SpaceFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger (a project user can see a space if it has access to any of the projects in that space)- Throws:
UserFailureException- in case of any problems
-
searchProjects
SearchResult<Project> searchProjects(String sessionToken, ProjectSearchCriteria searchCriteria, ProjectFetchOptions fetchOptions) Searches for projects basing on the providedProjectSearchCriteria.By default the returned projects contain only basic information. Any additional information to be fetched has to be explicitly requested via
ProjectFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchExperiments
SearchResult<Experiment> searchExperiments(String sessionToken, ExperimentSearchCriteria searchCriteria, ExperimentFetchOptions fetchOptions) Searches for experiments basing on the providedExperimentSearchCriteria.By default the returned experiments contain only basic information. Any additional information to be fetched has to be explicitly requested via
ExperimentFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchExperimentTypes
SearchResult<ExperimentType> searchExperimentTypes(String sessionToken, ExperimentTypeSearchCriteria searchCriteria, ExperimentTypeFetchOptions fetchOptions) Searches for experiment types basing on the providedExperimentTypeSearchCriteria.By default the returned experiment types contain only basic information. Any additional information to be fetched has to be explicitly requested via
ExperimentTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchSamples
SearchResult<Sample> searchSamples(String sessionToken, SampleSearchCriteria searchCriteria, SampleFetchOptions fetchOptions) Searches for samples basing on the providedSampleSearchCriteria.By default the returned samples contain only basic information. Any additional information to be fetched has to be explicitly requested via
SampleFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchSampleTypes
SearchResult<SampleType> searchSampleTypes(String sessionToken, SampleTypeSearchCriteria searchCriteria, SampleTypeFetchOptions fetchOptions) Searches for sample types basing on the providedSampleTypeSearchCriteria.By default the returned sample types contain only basic information. Any additional information to be fetched has to be explicitly requested via
SampleTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchDataSets
SearchResult<DataSet> searchDataSets(String sessionToken, DataSetSearchCriteria searchCriteria, DataSetFetchOptions fetchOptions) Searches for data sets basing on the providedDataSetSearchCriteria.By default the returned data sets contain only basic information. Any additional information to be fetched has to be explicitly requested via
DataSetFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchDataSetTypes
SearchResult<DataSetType> searchDataSetTypes(String sessionToken, DataSetTypeSearchCriteria searchCriteria, DataSetTypeFetchOptions fetchOptions) Searches for data set types basing on the providedDataSetTypeSearchCriteria.By default the returned data set types contain only basic information. Any additional information to be fetched has to be explicitly requested via
DataSetTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchExternalDataManagementSystems
SearchResult<ExternalDms> searchExternalDataManagementSystems(String sessionToken, ExternalDmsSearchCriteria searchCriteria, ExternalDmsFetchOptions fetchOptions) Searches for external data management systems basing on the providedExternalDmsSearchCriteria.By default the returned external data management systems contain only basic information. Any additional information to be fetched has to be explicitly requested via
ExternalDmsFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchPlugins
SearchResult<Plugin> searchPlugins(String sessionToken, PluginSearchCriteria searchCriteria, PluginFetchOptions fetchOptions) Searches for plugins (i.e. dynamic property evaluators, managed property handlers, entity validators) basing on the providedPluginSearchCriteria.By default the returned plugins contain only basic information. Any additional information to be fetched has to be explicitly requested via
PluginFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchVocabularies
SearchResult<Vocabulary> searchVocabularies(String sessionToken, VocabularySearchCriteria searchCriteria, VocabularyFetchOptions fetchOptions) Searches for vocabularies basing on the providedVocabularySearchCriteria.By default the returned vocabularies contain only basic information. Any additional information to be fetched has to be explicitly requested via
VocabularyFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchVocabularyTerms
SearchResult<VocabularyTerm> searchVocabularyTerms(String sessionToken, VocabularyTermSearchCriteria searchCriteria, VocabularyTermFetchOptions fetchOptions) Searches for vocabulary terms basing on the providedVocabularyTermSearchCriteria.By default the returned vocabulary terms contain only basic information. Any additional information to be fetched has to be explicitly requested via
VocabularyTermFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchTags
SearchResult<Tag> searchTags(String sessionToken, TagSearchCriteria searchCriteria, TagFetchOptions fetchOptions) Searches for tags basing on the providedTagSearchCriteria. A user can find own tags only (i.e. tags a user has created).By default the returned tags contain only basic information. Any additional information to be fetched has to be explicitly requested via
TagFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchAuthorizationGroups
SearchResult<AuthorizationGroup> searchAuthorizationGroups(String sessionToken, AuthorizationGroupSearchCriteria searchCriteria, AuthorizationGroupFetchOptions fetchOptions) Searches for authorization groups basing on the providedAuthorizationGroupSearchCriteria.By default the returned authorization groups contain only basic information. Any additional information to be fetched has to be explicitly requested via
AuthorizationGroupFetchOptions.Required access rights:
PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
searchRoleAssignments
SearchResult<RoleAssignment> searchRoleAssignments(String sessionToken, RoleAssignmentSearchCriteria searchCriteria, RoleAssignmentFetchOptions fetchOptions) Searches for role assignments basing on the providedRoleAssignmentSearchCriteria.By default the returned role assignments contain only basic information. Any additional information to be fetched has to be explicitly requested via
RoleAssignmentFetchOptions.Required access rights:
PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
searchPersons
SearchResult<Person> searchPersons(String sessionToken, PersonSearchCriteria searchCriteria, PersonFetchOptions fetchOptions) Searches for persons basing on the providedPersonSearchCriteria.By default the returned persons contain only basic information. Any additional information to be fetched has to be explicitly requested via
PersonFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchCustomASServices
SearchResult<CustomASService> searchCustomASServices(String sessionToken, CustomASServiceSearchCriteria searchCriteria, CustomASServiceFetchOptions fetchOptions) Searches for custom application server services basing on the providedCustomASServiceSearchCriteria. More details on the custom application server services can be found at "Custom Application Server Services" openBIS WIKI page.By default the returned custom application server services contain only basic information. Any additional information to be fetched has to be explicitly requested via
CustomASServiceFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchSearchDomainServices
SearchResult<SearchDomainService> searchSearchDomainServices(String sessionToken, SearchDomainServiceSearchCriteria searchCriteria, SearchDomainServiceFetchOptions fetchOptions) Searches for search domain services basing on the providedSearchDomainServiceSearchCriteria. More details on the search domain services can be found at "Search Domain Services" openBIS WIKI page.By default the returned search domain services contain only basic information. Any additional information to be fetched has to be explicitly requested via
SearchDomainServiceFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchAggregationServices
SearchResult<AggregationService> searchAggregationServices(String sessionToken, AggregationServiceSearchCriteria searchCriteria, AggregationServiceFetchOptions fetchOptions) Searches for aggregation services basing on the providedAggregationServiceSearchCriteria. More details on the aggregation services can be found at "Reporting Plugins" openBIS WIKI page (type: AGGREGATION_TABLE_MODEL).By default the returned aggregation services contain only basic information. Any additional information to be fetched has to be explicitly requested via
AggregationServiceFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchReportingServices
SearchResult<ReportingService> searchReportingServices(String sessionToken, ReportingServiceSearchCriteria searchCriteria, ReportingServiceFetchOptions fetchOptions) Searches for reporting services basing on the providedReportingServiceSearchCriteria. More details on the reporting services can be found at "Reporting Plugins" openBIS WIKI page (type: TABLE_MODEL).By default the returned reporting services contain only basic information. Any additional information to be fetched has to be explicitly requested via
ReportingServiceFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchProcessingServices
SearchResult<ProcessingService> searchProcessingServices(String sessionToken, ProcessingServiceSearchCriteria searchCriteria, ProcessingServiceFetchOptions fetchOptions) Searches for processing services basing on the providedProcessingServiceSearchCriteria. More details on the processing services can be found at "Processing Plugins" openBIS WIKI page.By default the returned processing services contain only basic information. Any additional information to be fetched has to be explicitly requested via
ProcessingServiceFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchObjectKindModifications
SearchResult<ObjectKindModification> searchObjectKindModifications(String sessionToken, ObjectKindModificationSearchCriteria searchCriteria, ObjectKindModificationFetchOptions fetchOptions) Searches for object kind modifications basing on the providedObjectKindModificationSearchCriteria. An object kind modification contains information on when a given kind of operation was last performed for a given kind of object, e.g. when was the last sample update or when was the last property type creation etc.By default the returned object kind modifications contain only basic information. Any additional information to be fetched has to be explicitly requested via
ObjectKindModificationFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchGlobally
SearchResult<GlobalSearchObject> searchGlobally(String sessionToken, GlobalSearchCriteria searchCriteria, GlobalSearchObjectFetchOptions fetchOptions) Searches for experiments, samples and data sets at once basing on the providedGlobalSearchCriteria.By default the returned objects contain only basic information. Any additional information to be fetched has to be explicitly requested via
GlobalSearchObjectFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchOperationExecutions
SearchResult<OperationExecution> searchOperationExecutions(String sessionToken, OperationExecutionSearchCriteria searchCriteria, OperationExecutionFetchOptions fetchOptions) Searches for operation executions basing on the providedOperationExecutionSearchCriteria.By default the returned operation executions contain only basic information. Any additional information to be fetched has to be explicitly requested via
OperationExecutionFetchOptions.Required access rights: user who created the operation execution /
INSTANCE_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchDataStores
SearchResult<DataStore> searchDataStores(String sessionToken, DataStoreSearchCriteria searchCriteria, DataStoreFetchOptions fetchOptions) Searches for data stores basing on the providedDataStoreSearchCriteria.By default the returned data stores contain only basic information. Any additional information to be fetched has to be explicitly requested via
DataStoreFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchSemanticAnnotations
SearchResult<SemanticAnnotation> searchSemanticAnnotations(String sessionToken, SemanticAnnotationSearchCriteria searchCriteria, SemanticAnnotationFetchOptions fetchOptions) Searches for semantic annotations basing on the providedSemanticAnnotationSearchCriteria.By default the returned semantic annotations contain only basic information. Any additional information to be fetched has to be explicitly requested via
SemanticAnnotationFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchPropertyTypes
SearchResult<PropertyType> searchPropertyTypes(String sessionToken, PropertyTypeSearchCriteria searchCriteria, PropertyTypeFetchOptions fetchOptions) Searches for property types basing on the providedPropertyTypeSearchCriteria.By default the returned property types contain only basic information. Any additional information to be fetched has to be explicitly requested via
PropertyTypeFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchPropertyAssignments
SearchResult<PropertyAssignment> searchPropertyAssignments(String sessionToken, PropertyAssignmentSearchCriteria searchCriteria, PropertyAssignmentFetchOptions fetchOptions) Searches for property assignments basing on the providedPropertyAssignmentSearchCriteria.By default the returned property assignments contain only basic information. Any additional information to be fetched has to be explicitly requested via
PropertyAssignmentFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchQueries
SearchResult<Query> searchQueries(String sessionToken, QuerySearchCriteria searchCriteria, QueryFetchOptions fetchOptions) Searches for queries basing on the providedQuerySearchCriteria.By default the returned queries contain only basic information. Any additional information to be fetched has to be explicitly requested via
QueryFetchOptions.Required access rights: depends on a query and a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems
-
searchQueryDatabases
SearchResult<QueryDatabase> searchQueryDatabases(String sessionToken, QueryDatabaseSearchCriteria searchCriteria, QueryDatabaseFetchOptions fetchOptions) Searches for query databases basing on the providedQueryDatabaseSearchCriteria.By default the returned query databases contain only basic information. Any additional information to be fetched has to be explicitly requested via
QueryDatabaseFetchOptions.Required access rights: depends on a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems
-
searchTypeGroups
SearchResult<TypeGroup> searchTypeGroups(String sessionToken, TypeGroupSearchCriteria searchCriteria, TypeGroupFetchOptions fetchOptions) Searches for type groups basing on the providedTypeGroupSearchCriteria.By default the returned type groups contain only basic information. Any additional information to be fetched has to be explicitly requested via
TypeGroupFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
searchTypeGroupAssignments
SearchResult<TypeGroupAssignment> searchTypeGroupAssignments(String sessionToken, TypeGroupAssignmentSearchCriteria searchCriteria, TypeGroupAssignmentFetchOptions fetchOptions) Searches for type groups basing on the providedTypeGroupSearchCriteria.By default the returned type groups contain only basic information. Any additional information to be fetched has to be explicitly requested via
TypeGroupFetchOptions.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
deleteSpaces
void deleteSpaces(String sessionToken, List<? extends ISpaceId> spaceIds, SpaceDeletionOptions deletionOptions) Permanently deletes spaces with the providedISpaceIdids. Additional deletion options (e.g. deletion reason) can be set viaSpaceDeletionOptions.Required access rights:
SPACE_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
deleteProjects
void deleteProjects(String sessionToken, List<? extends IProjectId> projectIds, ProjectDeletionOptions deletionOptions) Permanently deletes projects with the providedIProjectIdids. Additional deletion options (e.g. deletion reason) can be set viaProjectDeletionOptions.Required access rights:
SPACE_POWER_USER/PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
deleteExperiments
IDeletionId deleteExperiments(String sessionToken, List<? extends IExperimentId> experimentIds, ExperimentDeletionOptions deletionOptions) Moves experiments with the providedIExperimentIdids to trash. ReturnsIDeletionIdobject which can be used either inconfirmDeletionscall to delete the experiments permanently or inrevertDeletionscall to bring the trashed experiments back to life. Additional deletion options (e.g. deletion reason) can be set viaExperimentDeletionOptions.Required access rights:
PROJECT_POWER_USERor stronger- Throws:
UserFailureException- in case of any problems- See Also:
-
deleteSamples
IDeletionId deleteSamples(String sessionToken, List<? extends ISampleId> sampleIds, SampleDeletionOptions deletionOptions) Moves samples with the providedISampleIdids to trash. ReturnsIDeletionIdobject which can be used either inconfirmDeletionscall to delete the samples permanently or inrevertDeletionscall to bring the trashed samples back to life. Additional deletion options (e.g. deletion reason) can be set viaSampleDeletionOptions.Required access rights:
PROJECT_POWER_USERor stronger- Throws:
UserFailureException- in case of any problems- See Also:
-
deleteDataSets
IDeletionId deleteDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetDeletionOptions deletionOptions) Moves data sets with the providedIDataSetIdids to trash. ReturnsIDeletionIdobject which can be used either inconfirmDeletionscall to delete the data sets permanently or inrevertDeletionscall to bring the trashed data sets back to life. Additional deletion options (e.g. deletion reason) can be set viaDataSetDeletionOptions.Required access rights:
PROJECT_POWER_USERor stronger- Throws:
UserFailureException- in case of any problems- See Also:
-
deletePlugins
void deletePlugins(String sessionToken, List<? extends IPluginId> pluginIds, PluginDeletionOptions deletionOptions) Permanently deletes plugins (i.e. dynamic property evaluators, managed property handlers, entity validators) with the providedIPluginIdids. Additional deletion options (e.g. deletion reason) can be set viaPluginDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deletePropertyTypes
void deletePropertyTypes(String sessionToken, List<? extends IPropertyTypeId> propertyTypeIds, PropertyTypeDeletionOptions deletionOptions) Permanently deletes property types with the providedIPropertyTypeIdids. Additional deletion options (e.g. deletion reason) can be set viaPropertyTypeDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteVocabularies
void deleteVocabularies(String sessionToken, List<? extends IVocabularyId> ids, VocabularyDeletionOptions deletionOptions) Permanently deletes vocabularies with the providedIVocabularyIdids. Additional deletion options (e.g. deletion reason) can be set viaVocabularyDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteVocabularyTerms
void deleteVocabularyTerms(String sessionToken, List<? extends IVocabularyTermId> termIds, VocabularyTermDeletionOptions deletionOptions) Permanently deletes vocabulary terms with the providedIVocabularyTermIdids. Additional deletion options (e.g. deletion reason) can be set viaVocabularyTermDeletionOptions.-
Required access rights:
- unofficial and official terms -
PROJECT_POWER_USERor stronger - internally managed -
INSTANCE_ADMIN
- Throws:
UserFailureException- in case of any problems
- unofficial and official terms -
-
deleteExperimentTypes
void deleteExperimentTypes(String sessionToken, List<? extends IEntityTypeId> experimentTypeIds, ExperimentTypeDeletionOptions deletionOptions) Permanently deletes experiment types with the providedIEntityTypeIdids. Additional deletion options (e.g. deletion reason) can be set viaExperimentTypeDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteSampleTypes
void deleteSampleTypes(String sessionToken, List<? extends IEntityTypeId> sampleTypeIds, SampleTypeDeletionOptions deletionOptions) Permanently deletes sample types with the providedIEntityTypeIdids. Additional deletion options (e.g. deletion reason) can be set viaSampleTypeDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteDataSetTypes
void deleteDataSetTypes(String sessionToken, List<? extends IEntityTypeId> dataSetTypeIds, DataSetTypeDeletionOptions deletionOptions) Permanently deletes data set types with the providedIEntityTypeIdids. Additional deletion options (e.g. deletion reason) can be set viaDataSetTypeDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteExternalDataManagementSystems
void deleteExternalDataManagementSystems(String sessionToken, List<? extends IExternalDmsId> externalDmsIds, ExternalDmsDeletionOptions deletionOptions) Permanently deletes external data management systems with the providedIExternalDmsIdids. Additional deletion options (e.g. deletion reason) can be set viaExternalDmsDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteTags
void deleteTags(String sessionToken, List<? extends ITagId> tagIds, TagDeletionOptions deletionOptions) Permanently deletes tags with the providedITagIdids. Additional deletion options (e.g. deletion reason) can be set viaTagDeletionOptions. A user can only delete own tags (i.e. tags a user has created).Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
deleteAuthorizationGroups
void deleteAuthorizationGroups(String sessionToken, List<? extends IAuthorizationGroupId> groupIds, AuthorizationGroupDeletionOptions deletionOptions) Permanently deletes authorization groups with the providedIAuthorizationGroupIdids. Additional deletion options (e.g. deletion reason) can be set viaAuthorizationGroupDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteRoleAssignments
void deleteRoleAssignments(String sessionToken, List<? extends IRoleAssignmentId> assignmentIds, RoleAssignmentDeletionOptions deletionOptions) Permanently deletes role assignments with the providedIRoleAssignmentIdids. Additional deletion options (e.g. deletion reason) can be set viaRoleAssignmentDeletionOptions.-
Required access rights:
- instance roles -
INSTANCE_ADMIN - space roles -
SPACE_ADMINor stronger - project roles -
PROJECT_ADMINor stronger
- Throws:
UserFailureException- in case of any problems
- instance roles -
-
deleteOperationExecutions
void deleteOperationExecutions(String sessionToken, List<? extends IOperationExecutionId> executionIds, OperationExecutionDeletionOptions deletionOptions) Permanently deletes operation executions with the providedIOperationExecutionIdids. Additional deletion options (e.g. deletion reason) can be set viaOperationExecutionDeletionOptions.Required access rights: user who created the operation execution /
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteSemanticAnnotations
void deleteSemanticAnnotations(String sessionToken, List<? extends ISemanticAnnotationId> annotationIds, SemanticAnnotationDeletionOptions deletionOptions) Permanently deletes semantic annotations with the providedISemanticAnnotationIdids. Additional deletion options (e.g. deletion reason) can be set viaSemanticAnnotationDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteQueries
void deleteQueries(String sessionToken, List<? extends IQueryId> queryIds, QueryDeletionOptions deletionOptions) Permanently deletes queries with the providedIQueryIdids. Additional deletion options (e.g. deletion reason) can be set viaQueryDeletionOptions.Required access rights: depends on a query and a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems
-
deletePersons
void deletePersons(String sessionToken, List<? extends IPersonId> personIds, PersonDeletionOptions deletionOptions) Permanently deletes persons with the providedIPersonIdids. Additional deletion options (e.g. deletion reason) can be set viaPersonDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deletePersonalAccessTokens
void deletePersonalAccessTokens(String sessionToken, List<? extends IPersonalAccessTokenId> personalAccessTokenIds, PersonalAccessTokenDeletionOptions deletionOptions) Permanently deletes personal access tokens with the providedIPersonalAccessTokenIdids. Additional deletion options (e.g. deletion reason) can be set viaPersonalAccessTokenDeletionOptions.Required access rights:
- own tokens -
PROJECT_OBSERVERor stronger- all tokens -
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
- own tokens -
-
deleteTypeGroups
void deleteTypeGroups(String sessionToken, List<? extends ITypeGroupId> typeGroupIds, TypeGroupDeletionOptions deletionOptions) Permanently deletes type groups with the providedITypeGroupIdids. Additional deletion options can be set viaTypeGroupDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
deleteTypeGroupAssignments
void deleteTypeGroupAssignments(String sessionToken, List<? extends ITypeGroupAssignmentId> typeGroupAssignmentIds, TypeGroupAssignmentDeletionOptions deletionOptions) Permanently deletes type groups with the providedITypeGroupAssignmentIdids. Additional deletion options can be set viaTypeGroupAssignmentDeletionOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
searchDeletions
SearchResult<Deletion> searchDeletions(String sessionToken, DeletionSearchCriteria searchCriteria, DeletionFetchOptions fetchOptions) Searches for deletions basing on the providedDeletionSearchCriteria.By default the returned deletions contain only basic information. Any additional information to be fetched has to be explicitly requested via
DeletionFetchOptions.Required access rights:
PROJECT_USER- Throws:
UserFailureException- in case of any problems
-
searchEvents
SearchResult<Event> searchEvents(String sessionToken, EventSearchCriteria searchCriteria, EventFetchOptions fetchOptions) Searches for events basing on the providedEventSearchCriteria.By default the returned events contain only basic information. Any additional information to be fetched has to be explicitly requested via
EventFetchOptions.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
searchPersonalAccessTokens
SearchResult<PersonalAccessToken> searchPersonalAccessTokens(String sessionToken, PersonalAccessTokenSearchCriteria searchCriteria, PersonalAccessTokenFetchOptions fetchOptions) Searches for personal access tokens basing on the providedPersonalAccessTokenSearchCriteria.By default the returned personal access tokens contain only basic information. Any additional information to be fetched has to be explicitly requested via
PersonalAccessTokenFetchOptions.Required access rights:
- own tokens -
PROJECT_OBSERVERor stronger- all tokens -
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
- own tokens -
-
searchSessionInformation
SearchResult<SessionInformation> searchSessionInformation(String sessionToken, SessionInformationSearchCriteria searchCriteria, SessionInformationFetchOptions fetchOptions) Searches for sessions of users basing on the providedSessionInformationSearchCriteria.By default the returned sessions contain only basic information. Any additional information to be fetched has to be explicitly requested via
SessionInformationFetchOptions.Required access rights:
- own tokens -
PROJECT_OBSERVERor stronger- all tokens -
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
- own tokens -
-
revertDeletions
Reverts deletions with the providedIDeletionIdids (i.e. takes the entities out of trash and brings them back to life).Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems- See Also:
-
confirmDeletions
Confirms deletions with the providedIDeletionIdids (i.e. permanently deletes the entities).Required access rights:
PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems- See Also:
-
executeCustomASService
Object executeCustomASService(String sessionToken, ICustomASServiceId serviceId, CustomASServiceExecutionOptions options) Executes a custom application server service with the providedICustomASServiceIdid. Additional execution options (e.g. parameters) can be set viaCustomASServiceExecutionOptions. More details on the custom application server services can be found at "Custom Application Server Services" openBIS WIKI page.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
executeSearchDomainService
SearchResult<SearchDomainServiceExecutionResult> executeSearchDomainService(String sessionToken, SearchDomainServiceExecutionOptions options) Executes a search domain service. Execution options (e.g. preferred search domain, search string, parameters) can be set viaSearchDomainServiceExecutionOptions. More details on the search domain services can be found at "Search Domain Services" openBIS WIKI page.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
executeAggregationService
TableModel executeAggregationService(String sessionToken, IDssServiceId serviceId, AggregationServiceExecutionOptions options) Executes an aggregation service with the providedIDssServiceIdid. Additional execution options (e.g. parameters) can be set viaAggregationServiceExecutionOptions. More details on the aggregation services can be found at "Reporting Plugins" openBIS WIKI page (type: AGGREGATION_TABLE_MODEL).Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
executeReportingService
TableModel executeReportingService(String sessionToken, IDssServiceId serviceId, ReportingServiceExecutionOptions options) Executes a reporting service with the providedIDssServiceIdid. Additional execution options (e.g. data set codes) can be set viaReportingServiceExecutionOptions. More details on the reporting services can be found at "Reporting Plugins" openBIS WIKI page (type: TABLE_MODEL).Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
executeProcessingService
void executeProcessingService(String sessionToken, IDssServiceId serviceId, ProcessingServiceExecutionOptions options) Executes a processing service with the providedIDssServiceIdid. Additional execution options (e.g. data set codes, parameters) can be set viaProcessingServiceExecutionOptions. More details on the processing services can be found at "Processing Plugins" openBIS WIKI page.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems
-
executeQuery
Executes a query with the providedIQueryIdid. Additional execution options (e.g. parameters) can be set viaQueryExecutionOptions.Required access rights: depends on a query and a query database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems
-
executeSql
Executes the provided SQL. Only SELECT statements are allowed. Additional execution options (e.g. databaseId, parameters) can be set viaSqlExecutionOptions.Required access rights: depends on a database (more details at "Custom Database Queries" openBIS WIKI page)
- Throws:
UserFailureException- in case of any problems
-
evaluatePlugin
Evaluates the provided plugin (e.g. a dynamic property plugin or an entity validation plugin). Parameters to be passed to the plugin can be set viaPluginEvaluationOptionssubclasses. The method returns appropriate subclasses ofPluginEvaluationResultdepending on the plugin type.Required access rights:
INSTANCE_ADMIN- Throws:
UserFailureException- in case of any problems
-
archiveDataSets
void archiveDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetArchiveOptions options) Archives data sets with the providedIDataSetIdids. Additional archiving options can be set viaDataSetArchiveOptions.Required access rights:
PROJECT_POWER_USERor stronger- Throws:
UserFailureException- in case of any problems
-
unarchiveDataSets
void unarchiveDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetUnarchiveOptions options) Unarchives data sets with the providedIDataSetIdids. Additional unarchiving options can be set viaDataSetUnarchiveOptions.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems
-
lockDataSets
void lockDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetLockOptions options) Locks data sets with the providedIDataSetIdids. Additional locking options can be set viaDataSetLockOptions.Required access rights:
PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
unlockDataSets
void unlockDataSets(String sessionToken, List<? extends IDataSetId> dataSetIds, DataSetUnlockOptions options) Unlocks data sets with the providedIDataSetIdids. Additional unlocking options can be set viaDataSetUnlockOptions.Required access rights:
PROJECT_ADMINor stronger- Throws:
UserFailureException- in case of any problems
-
executeOperations
IOperationExecutionResults executeOperations(String sessionToken, List<? extends IOperation> operations, IOperationExecutionOptions options) Executes all provided operations in one transaction. Depending on the chosen execution options (SynchronousOperationExecutionOptionsorAsynchronousOperationExecutionOptions) the operations are executed synchronously (i.e. in the same thread) or asynchronously (i.e. are scheduled for later execution in a separate thread). Synchronous execution returnsSynchronousOperationExecutionResultsobject. Asynchronous execution returnsAsynchronousOperationExecutionResults.Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems- See Also:
-
getServerInformation
Returns a map with additional server information:- api-version : major and minor version of the API (e.g. "3.4")
- project-samples-enabled : true/false
- archiving-configured : true/false
- enabled-technologies : comma-separated list of enabled technologies (core-plugins modules)
- authentication-service : currently used authenticated service (e.g. "ldap-authentication-service")
- authentication-service.switch-aai.link : link for SSO authentication via SWITCHaai
- authentication-service.switch-aai.label : label for SSO authentication via SWITCHaai
Required access rights:
PROJECT_OBSERVERor stronger- Throws:
UserFailureException- in case of any problems
-
getServerPublicInformation
Returns a map with additional server public information:- authentication-service : currently used authenticated service (e.g. "ldap-authentication-service")
- authentication-service.switch-aai.link : link for SSO authentication via SWITCHaai
- authentication-service.switch-aai.label : label for SSO authentication via SWITCHaai
Required access rights: none
- Throws:
UserFailureException- in case of any problems
-
createPermIdStrings
Generates globally unique identifiers that consist of a timestamp and a sequence generated number (e.g. "20180531170854641-944"). This method uses one global sequence.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems
-
createCodes
Generates identifiers that are unique for a given entity kind and consist of a prefix and a sequence generated number (e.g. "MY-PREFIX-147"); this method uses a dedicated sequence for each entity kind.Required access rights:
PROJECT_USERor stronger- Throws:
UserFailureException- in case of any problems
-
executeImport
-
executeExport
-