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 49e046c519d92511e0994d84c90fa0305b0cd656..20d6f12a4d42981866ed5b9739513d1e5dee6c24 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 6b2487f006821adc0a9a31807f4018572704ba1d..a444442923b86a050ceaa0305a7d046a3062c43f 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 d17cb6dc8e025b2ea0b2a4bcd3ca979900c120d7..d74b7d1bb107ef378caf76766ecdbb36d9f12378 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