public class CidsLayerLocker extends Object implements de.cismet.cismap.commons.gui.attributetable.FeatureLockingInterface, de.cismet.connectioncontext.ConnectionContextProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
CS_LOCK_GROUP_TN |
static String |
CS_LOCKS_TN |
| Constructor and Description |
|---|
CidsLayerLocker() |
| Modifier and Type | Method and Description |
|---|---|
de.cismet.connectioncontext.ConnectionContext |
getConnectionContext() |
protected Sirius.server.middleware.types.MetaClass |
getLockGroupMetaClassForBean(String domain)
Determines the meta class of the cs_locks cids class, that should be used to lock the given bean.
|
protected Sirius.server.middleware.types.MetaClass |
getLockMetaClassForBean(String domain)
Determines the meta class of the cs_locks cids class, that should be used to lock the given bean.
|
Class[] |
getSupportedFeatureServiceClasses() |
Object |
lock(de.cismet.cismap.commons.featureservice.AbstractFeatureService service,
boolean multiLockForSameUserAllowed) |
Object |
lock(de.cismet.cismap.commons.features.Feature feature,
boolean multiLockForSameUserAllowed) |
Object |
lock(List<de.cismet.cismap.commons.features.Feature> features,
boolean multiLockForSameUserAllowed) |
void |
unlock(de.cismet.cids.dynamics.CidsBean bean)
unlocks the the cids bean, that is referenced by the given lock bean.
|
void |
unlock(Object lockObject) |
public static final String CS_LOCKS_TN
public static final String CS_LOCK_GROUP_TN
public Object lock(de.cismet.cismap.commons.features.Feature feature, boolean multiLockForSameUserAllowed) throws de.cismet.cismap.commons.gui.attributetable.LockAlreadyExistsException, Exception
lock in interface de.cismet.cismap.commons.gui.attributetable.FeatureLockingInterfacede.cismet.cismap.commons.gui.attributetable.LockAlreadyExistsExceptionExceptionpublic Object lock(List<de.cismet.cismap.commons.features.Feature> features, boolean multiLockForSameUserAllowed) throws de.cismet.cismap.commons.gui.attributetable.LockAlreadyExistsException, Exception
lock in interface de.cismet.cismap.commons.gui.attributetable.FeatureLockingInterfacede.cismet.cismap.commons.gui.attributetable.LockAlreadyExistsExceptionExceptionpublic Object lock(de.cismet.cismap.commons.featureservice.AbstractFeatureService service, boolean multiLockForSameUserAllowed) throws de.cismet.cismap.commons.gui.attributetable.LockAlreadyExistsException, Exception
lock in interface de.cismet.cismap.commons.gui.attributetable.FeatureLockingInterfacede.cismet.cismap.commons.gui.attributetable.LockAlreadyExistsExceptionExceptionpublic void unlock(Object lockObject) throws Exception
unlock in interface de.cismet.cismap.commons.gui.attributetable.FeatureLockingInterfaceExceptionpublic void unlock(de.cismet.cids.dynamics.CidsBean bean)
throws Exception
bean - a lock bean see #lock(de.cismet.cids.dynamics.CidsBean)Exception - DOCUMENT ME!public Class[] getSupportedFeatureServiceClasses()
getSupportedFeatureServiceClasses in interface de.cismet.cismap.commons.gui.attributetable.FeatureLockingInterfaceprotected Sirius.server.middleware.types.MetaClass getLockMetaClassForBean(String domain) throws Exception
domain - the domain to lock inException - if the meta class cannot be determinedprotected Sirius.server.middleware.types.MetaClass getLockGroupMetaClassForBean(String domain) throws Exception
domain - the domain to lock inException - if the meta class cannot be determinedpublic final de.cismet.connectioncontext.ConnectionContext getConnectionContext()
getConnectionContext in interface de.cismet.connectioncontext.ConnectionContextProviderCopyright © 2012–2026 cismet GmbH. All rights reserved.