Uses of Class
org.opencms.lock.CmsLock
Package
Description
Server side of the sitemap view.
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject
.The lock state of the resources in the VFS is handled with these classes.
Contains functions to monitor the OpenCms system status.
Used to control the generation of the HTML for the "direct edit" buttons.
Contains the functions that generate the Workplace "Explorer" view, also contains
the "New resource" wizard.
-
Uses of CmsLock in org.opencms.ade.sitemap
Modifier and TypeMethodDescriptionCmsVfsSitemapService.LockInfo.getLock()
Returns the lock state. -
Uses of CmsLock in org.opencms.db
Modifier and TypeMethodDescriptionCmsDriverManager.getLock
(CmsDbContext dbc, CmsResource resource) Returns the lock state of a resource.CmsSecurityManager.getLock
(CmsRequestContext context, CmsResource resource) Returns the lock state of a resource.Modifier and TypeMethodDescriptionvoid
I_CmsProjectDriver.writeLocks
(CmsDbContext dbc, List<CmsLock> locks) -
Uses of CmsLock in org.opencms.db.generic
Modifier and TypeMethodDescriptionvoid
CmsProjectDriver.writeLocks
(CmsDbContext dbc, List<CmsLock> locks) -
Uses of CmsLock in org.opencms.file
-
Uses of CmsLock in org.opencms.file.wrapper
Modifier and TypeMethodDescriptionA_CmsResourceExtensionWrapper.getLock
(CmsObject cms, CmsResource resource) A_CmsResourceWrapper.getLock
(CmsObject cms, CmsResource resource) CmsObjectWrapper.getLock
(CmsResource resource) Returns the lock state for a specified resource.CmsResourceWrapperModules.getLock
(CmsObject cms, CmsResource resource) CmsResourceWrapperModulesNonLazy.getLock
(CmsObject cms, CmsResource resource) CmsResourceWrapperPropertyFile.getLock
(CmsObject cms, CmsResource resource) CmsResourceWrapperXmlPage.getLock
(CmsObject cms, CmsResource resource) I_CmsResourceWrapper.getLock
(CmsObject cms, CmsResource resource) Returns the lock for the resource. -
Uses of CmsLock in org.opencms.lock
Modifier and TypeMethodDescriptionCmsLock.getEditionLock()
Returns the edition lock.CmsLockActionRecord.getLock()
Gets the lock state after the action.CmsLockManager.getLock
(CmsDbContext dbc, CmsResource resource) Returns the lock state of the given resource.CmsLockManager.getLock
(CmsDbContext dbc, CmsResource resource, boolean includeSiblings) Returns the lock state of the given resource.static CmsLock
CmsLock.getNullLock()
Returns the shared Null CmsLock.protected CmsLock
CmsLock.getRelatedLock()
Returns the related Lock.CmsLock.getSystemLock()
Returns the system lock.CmsLockManager.removeResource
(CmsDbContext dbc, CmsResource resource, boolean forceUnlock, boolean removeSystemLock) Removes a resource from the lock manager.Modifier and TypeMethodDescriptionCmsLockManager.getLocks
(CmsDbContext dbc, String resourceName, CmsLockFilter filter) Returns all exclusive locked resources matching the given resource name and filter.Modifier and TypeMethodDescriptionint
boolean
Matches the given lock against this filter and the given path.protected boolean
Matches the given lock against this filter and the given path.protected void
CmsLock.setRelatedLock
(CmsLock relatedLock) Sets the related Lock.ModifierConstructorDescriptionCmsLockActionRecord
(CmsLock lock, CmsLockActionRecord.LockChange change) Creates a new instance. -
Uses of CmsLock in org.opencms.monitor
Modifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedLock
(String rootPath) Returns the lock cached with the given root path ornull
if not found.Modifier and TypeMethodDescriptionvoid
Caches the given lock.Modifier and TypeMethodDescriptionvoid
CmsMemoryMonitor.flushLocks
(Map<String, CmsLock> newLocks) Flushes the locks cache. -
Uses of CmsLock in org.opencms.workplace.editors.directedit
Modifier and TypeMethodDescriptionCmsDirectEditResourceInfo.getLock()
Returns the lock on the direct edit resource.ModifierConstructorDescriptionCmsDirectEditResourceInfo
(CmsDirectEditPermissions permissions, CmsResource resource, CmsLock lock) Creates a new direct edit resource info container. -
Uses of CmsLock in org.opencms.workplace.explorer