From 6cd0166d777b9ab35558a625ff12c035d2983ffc Mon Sep 17 00:00:00 2001 From: buczekp <buczekp> Date: Thu, 24 Jun 2010 09:01:42 +0000 Subject: [PATCH] [LMS-1605] fixed tests SVN: 16710 --- .../cisd/openbis/generic/shared/ICommonServer.java.expected | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected index 3689e98855b..14b23da2346 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected @@ -31,6 +31,7 @@ import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.DataSetCo import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.DataSetCodePredicate; import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.ListSampleCriteriaPredicate; import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.ProjectUpdatesPredicate; +import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.SampleTechIdCollectionPredicate; import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.SampleTechIdPredicate; import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.SpaceIdentifierPredicate; import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.AbstractExpressionPredicate.DeleteGridCustomColumnPredicate; @@ -643,8 +644,9 @@ public interface ICommonServer extends IServer @Transactional @RolesAllowed(RoleSet.POWER_USER) @DatabaseCreateOrDeleteModification(value = ObjectKind.SAMPLE) - public void deleteSamples(String sessionToken, - @AuthorizationGuard(guardClass = SampleTechIdPredicate.class) List<TechId> sampleIds, + public void deleteSamples( + String sessionToken, + @AuthorizationGuard(guardClass = SampleTechIdCollectionPredicate.class) List<TechId> sampleIds, String reason); /** -- GitLab