public interface IGeneralInformationChangingService extends IRpcService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_SERVICE_URL
URL where the service is exposed via JSON interface.
|
static java.lang.String |
SERVICE_NAME
Name of this service for which it is registered at the RPC name server.
|
static java.lang.String |
SERVICE_URL
Application part of the URL to access this service remotely.
|
Modifier and Type | Method and Description |
---|---|
void |
addToMetaproject(java.lang.String sessionToken,
IMetaprojectId metaprojectId,
MetaprojectAssignmentsIds assignmentsToAdd)
Adds given entities to an existing metaproject.
|
void |
addUnofficialVocabularyTerm(java.lang.String sessionToken,
java.lang.Long vocabularyId,
NewVocabularyTerm term)
Adds new unofficial terms to a vocabulary starting from specified ordinal + 1.
|
void |
addUnofficialVocabularyTerm(java.lang.String sessionToken,
ch.systemsx.cisd.openbis.generic.shared.basic.TechId vocabularyId,
java.lang.String code,
java.lang.String label,
java.lang.String description,
java.lang.Long previousTermOrdinal)
Deprecated.
Because the parameters refer to an internal openBIS class (TechID).
|
ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject |
createMetaproject(java.lang.String sessionToken,
java.lang.String name,
java.lang.String descriptionOrNull)
Creates a new metaproject.
|
void |
deleteMetaproject(java.lang.String sessionToken,
IMetaprojectId metaprojectId)
Deletes an existing metaproject.
|
WebAppSettings |
getWebAppSettings(java.lang.String sessionToken,
java.lang.String webAppId)
Returns the persistent settings for a given custom web app.
|
void |
removeFromMetaproject(java.lang.String sessionToken,
IMetaprojectId metaprojectId,
MetaprojectAssignmentsIds assignmentsToRemove)
Removes given entities from an existing metaproject.
|
void |
setWebAppSettings(java.lang.String sessionToken,
WebAppSettings webAppSettings)
Sets the persistent settings for a given custom web app.
|
ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject |
updateMetaproject(java.lang.String sessionToken,
IMetaprojectId metaprojectId,
java.lang.String name,
java.lang.String descriptionOrNull)
Updates an existing metaproject.
|
void |
updateSampleProperties(java.lang.String sessionToken,
long sampleID,
java.util.Map<java.lang.String,java.lang.String> properties) |
getMajorVersion, getMinorVersion
static final java.lang.String SERVICE_NAME
static final java.lang.String SERVICE_URL
static final java.lang.String JSON_SERVICE_URL
void updateSampleProperties(java.lang.String sessionToken, long sampleID, java.util.Map<java.lang.String,java.lang.String> properties)
@Deprecated void addUnofficialVocabularyTerm(java.lang.String sessionToken, ch.systemsx.cisd.openbis.generic.shared.basic.TechId vocabularyId, java.lang.String code, java.lang.String label, java.lang.String description, java.lang.Long previousTermOrdinal)
void addUnofficialVocabularyTerm(java.lang.String sessionToken, java.lang.Long vocabularyId, NewVocabularyTerm term)
WebAppSettings getWebAppSettings(java.lang.String sessionToken, java.lang.String webAppId)
webAppId
- The id of the custom web app to get the display settings for.void setWebAppSettings(java.lang.String sessionToken, WebAppSettings webAppSettings)
webAppSettings
- The new display settingsch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject createMetaproject(java.lang.String sessionToken, java.lang.String name, java.lang.String descriptionOrNull)
name
- Name of the metaprojectdescriptionOrNull
- Description of the metaprojectch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject updateMetaproject(java.lang.String sessionToken, IMetaprojectId metaprojectId, java.lang.String name, java.lang.String descriptionOrNull)
metaprojectId
- Id of the metaproject to updatename
- New name of the metaprojectdescriptionOrNull
- New description of the metaprojectUserFailureException
- when a metaproject with the specified id doesn't exist.void deleteMetaproject(java.lang.String sessionToken, IMetaprojectId metaprojectId)
metaprojectId
- Id of the metaproject to deleteUserFailureException
- when a metaproject with the specified id doesn't exist.void addToMetaproject(java.lang.String sessionToken, IMetaprojectId metaprojectId, MetaprojectAssignmentsIds assignmentsToAdd)
metaprojectId
- Id of the metaprojectassignmentsToAdd
- Assignments that should be added to the metaprojectUserFailureException
- when a metaproject with the specified id doesn't exist.void removeFromMetaproject(java.lang.String sessionToken, IMetaprojectId metaprojectId, MetaprojectAssignmentsIds assignmentsToRemove)
metaprojectId
- Id of the metaprojectassignmentsToRemove
- Assignments that should be removed from the metaprojectUserFailureException
- when a metaproject with the specified id doesn't exist.