@OpenApiAll public abstract class LockService extends com.nomagic.magicdraw.core.project.service.AbstractProjectService implements ILockProjectService
ILockProjectService.LockOptions| Modifier | Constructor and Description |
|---|---|
protected |
LockService(Project project)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static ILockProjectService |
getLockService(Project project)
Return and instance of lock service for a given project
|
protected boolean |
hasAutomaticUsages(java.util.Collection<ModuleUsage> moduleUsages) |
static java.util.Set<Element> |
selectElementsForLock(java.util.Collection<? extends Element> collection,
java.util.function.Predicate<Element> canBeLocked) |
disposeService, getInternalInstance, getKey, getReferencedProject, registerInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanBeDecompositionLocked, canBeDecompositionUnlocked, canBeLocked, canBeLocked, canBeOptionsLocked, canBeOptionsUnlocked, canBeUnlocked, canBeUnlocked, getDecompositionLock, getLockedBy, getLockedByMe, getLockedElements, getLockedElementUsers, getLockedModules, getLockInfo, getLockInfo, getModulesLockedBy, getModulesLockedByMe, getOptionsLock, hasLockedElements, hasPermissionToLock, isDecompositionLocked, isDecompositionLockedByMe, isLocked, isLocked, isLockedBy, isLockedByMe, isLockedByMe, isOptionsLocked, isOptionsLockedByMe, lockElements, lockElements, lockElements, lockModules, lockModules, setCacheOptionsLock, setDecompositionLockedByMe, setOptionsLockedByMe, unlockElements, unlockElements, unlockElements, unlockElements, unlockElements, unlockModules, updateLocksprotected LockService(Project project)
project - project@CheckForNull public static ILockProjectService getLockService(@CheckForNull Project project)
project - projectpublic static java.util.Set<Element> selectElementsForLock(@Nonnull java.util.Collection<? extends Element> collection, java.util.function.Predicate<Element> canBeLocked)
protected boolean hasAutomaticUsages(java.util.Collection<ModuleUsage> moduleUsages)