Annotation Type DataSetAccessGuard


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Inherited
    public @interface DataSetAccessGuard
    Annotation for service methods to automagically check that the user invoking the method has access to the data set. It also locks data sets specified by method arguments.

    This is an internal class. Do not use it as a user of the API.

    • Element Detail

      • privilegeLevel

        PrivilegeLevel privilegeLevel
        Privilege level.
        Default:
        ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.authorization.PrivilegeLevel.DEFAULT
      • releaseDataSetLocks

        boolean releaseDataSetLocks
        By default locks on data sets are released after method invocation.
        Default:
        true