From d9d6805ec52d587d6fed22cdd7d6d3b7302f6503 Mon Sep 17 00:00:00 2001 From: buczekp <buczekp> Date: Tue, 18 Jan 2011 10:37:39 +0000 Subject: [PATCH] [LMS-1949] perform update SVN: 19463 --- .../generic/client/web/client/ICommonClientService.java | 5 +++++ .../client/web/client/ICommonClientServiceAsync.java | 5 +++++ .../generic/client/web/server/CommonClientService.java | 8 ++++++++ 3 files changed, 18 insertions(+) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientService.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientService.java index 49e046c519d..20d6f12a4d4 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientService.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientService.java @@ -103,6 +103,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.Vocabulary; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTerm; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermReplacement; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermWithStats; +import ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.IManagedEntityProperty; /** * Service interface for the generic GWT client. @@ -766,6 +767,10 @@ public interface ICommonClientService extends IClientService public void addAttachment(TechId holderId, String sessionKey, AttachmentHolderKind holderKind, NewAttachment attachment) throws UserFailureException; + /** Updates managed property of specified entity. */ + public void updateManagedProperty(TechId entityId, EntityKind entityKind, + IManagedEntityProperty managedProperty) throws UserFailureException; + /** * For given {@link DataStoreServiceKind} returns a list of all corresponding * {@link DatastoreServiceDescription}s. diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientServiceAsync.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientServiceAsync.java index 6b2487f0068..a444442923b 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientServiceAsync.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/ICommonClientServiceAsync.java @@ -105,6 +105,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.Vocabulary; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTerm; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermReplacement; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermWithStats; +import ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.IManagedEntityProperty; /** * Asynchronous version of {@link ICommonClientService}. @@ -665,6 +666,10 @@ public interface ICommonClientServiceAsync extends IClientServiceAsync public void addAttachment(TechId holderId, String sessionKey, AttachmentHolderKind holderKind, NewAttachment attachment, AsyncCallback<Void> asyncCallback); + /** @see ICommonClientService#updateManagedProperty(TechId, EntityKind, IManagedEntityProperty) */ + public void updateManagedProperty(TechId entityId, EntityKind entityKind, + IManagedEntityProperty managedProperty, AsyncCallback<Void> asyncCallback); + /** @see ICommonClientService#listDataStoreServices(DataStoreServiceKind) */ public void listDataStoreServices(DataStoreServiceKind pluginTaskKind, AsyncCallback<List<DatastoreServiceDescription>> callback); diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/CommonClientService.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/CommonClientService.java index d17cb6dc8e0..d74b7d1bb10 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/CommonClientService.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/CommonClientService.java @@ -161,6 +161,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTerm; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermBatchUpdateDetails; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermReplacement; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermWithStats; +import ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.IManagedEntityProperty; import ch.systemsx.cisd.openbis.generic.shared.dto.DataSetUploadContext; import ch.systemsx.cisd.openbis.generic.shared.dto.ProjectUpdatesDTO; import ch.systemsx.cisd.openbis.generic.shared.dto.identifier.DatabaseInstanceIdentifier; @@ -2100,6 +2101,13 @@ public final class CommonClientService extends AbstractClientService implements } } + public void updateManagedProperty(TechId entityId, EntityKind entityKind, + IManagedEntityProperty managedProperty) + throws ch.systemsx.cisd.openbis.generic.client.web.client.exception.UserFailureException + { + // TODO Auto-generated method stub + } + public List<DatastoreServiceDescription> listDataStoreServices( DataStoreServiceKind dataStoreServiceKind) throws ch.systemsx.cisd.openbis.generic.client.web.client.exception.UserFailureException -- GitLab