From ea5240a7361d8ad02ade14865faeb020d0f26501 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Tue, 30 Nov 2010 07:34:38 +0000 Subject: [PATCH] LMS-1897 database modification annotation corrected SVN: 18927 --- .../cisd/openbis/plugin/generic/shared/IGenericServer.java | 2 +- .../openbis/plugin/generic/shared/IGenericServer.java.expected | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java index 5067f8a02b4..7f5c626b1c4 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java @@ -181,7 +181,7 @@ public interface IGenericServer extends IServer */ @Transactional @RolesAllowed(RoleWithHierarchy.SPACE_USER) - @DatabaseCreateOrDeleteModification(value = ObjectKind.EXPERIMENT) + @DatabaseUpdateModification(value = ObjectKind.EXPERIMENT) public void updateExperiments( String sessionToken, @AuthorizationGuard(guardClass = UpdatedExperimentsWithTypePredicate.class) final UpdatedExperimentsWithType experiments) diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java.expected b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java.expected index 5067f8a02b4..7f5c626b1c4 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java.expected +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/shared/IGenericServer.java.expected @@ -181,7 +181,7 @@ public interface IGenericServer extends IServer */ @Transactional @RolesAllowed(RoleWithHierarchy.SPACE_USER) - @DatabaseCreateOrDeleteModification(value = ObjectKind.EXPERIMENT) + @DatabaseUpdateModification(value = ObjectKind.EXPERIMENT) public void updateExperiments( String sessionToken, @AuthorizationGuard(guardClass = UpdatedExperimentsWithTypePredicate.class) final UpdatedExperimentsWithType experiments) -- GitLab