public interface FeatureLockingInterface
FeatureLockerFactory| Modifier and Type | Method and Description |
|---|---|
Class[] |
getSupportedFeatureServiceClasses()
Returns the supported feature services.
|
Object |
lock(AbstractFeatureService service,
boolean multiLockForSameUserAllowed)
locks the given feature service.
|
Object |
lock(Feature feature,
boolean multiLockForSameUserAllowed)
locks the given feature.
|
Object |
lock(List<Feature> feature,
boolean multiLockForSameUserAllowed)
locks the given feature list.
|
void |
unlock(Object unlockObject)
Unlocks the feature, that is associated with the given unlock-object.
|
Object lock(Feature feature, boolean multiLockForSameUserAllowed) throws LockAlreadyExistsException, Exception
feature - the feature that should be lockedmultiLockForSameUserAllowed - true, iff it is allowed to lock an object that is already locked by this
userunlock(Object)LockAlreadyExistsException - if the given feature is already lockedException - if the locking failed for some reasonObject lock(List<Feature> feature, boolean multiLockForSameUserAllowed) throws LockAlreadyExistsException, Exception
feature - the feature that should be lockedmultiLockForSameUserAllowed - true, iff it is allowed to lock an object that is already locked by this
userunlock(Object)LockAlreadyExistsException - if the given feature is already lockedException - if the locking failed for some reasonObject lock(AbstractFeatureService service, boolean multiLockForSameUserAllowed) throws LockAlreadyExistsException, Exception
service - the service that should be lockedmultiLockForSameUserAllowed - true, iff it is allowed to lock an object that is already locked by this
userunlock(Object)LockAlreadyExistsException - if at least one feature of the given service is already lockedException - if the locking failed for some reasonvoid unlock(Object unlockObject) throws Exception
unlockObject - the unlock object from lock(Feature)Exception - if the unlock process failedClass[] getSupportedFeatureServiceClasses()
Copyright © 2012–2025 cismet GmbH. All rights reserved.