Interface CDOPermissionUpdater
- All Known Subinterfaces:
CDOPermissionUpdater2, CDOPermissionUpdater3
public interface CDOPermissionUpdater
A
pluggable
strategy for updating the permissions of a set of revisions.
Permission updates may temporarily suspend revision loading. An implementation must not synchronously or indirectly wait for a revision load through the supplied session while its update is executing. This restriction includes waiting for another thread that performs such a load. Accessing an already cached revision is not categorically prohibited, but an operation that may trigger loading must not be relied upon to complete during the update. The permission-protocol operations used by the built-in server updaters are not revision loads and are permitted. This is a restriction on updater implementations, not a general requirement that they be non-reentrant.
- Since:
- 4.3
- Author:
- Eike Stepper
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionupdatePermissions(InternalCDOSession session, Set<InternalCDORevision> revisions)
-
Field Details
-
SERVER
-
-
Method Details
-
updatePermissions
Map<CDORevision, CDOPermission> updatePermissions(InternalCDOSession session, Set<InternalCDORevision> revisions)
-