Uses of Class
org.opencms.lock.CmsLock
-
Packages that use CmsLock Package Description org.opencms.ade.sitemap Server side of the sitemap view.org.opencms.db Low-level database connection and access functionality.org.opencms.db.generic Generic (ANSI-SQL) implementation of the OpenCms database connector.org.opencms.file This important package provides the methods to access the OpenCms VFS repository with the permissions of an authenticated user.org.opencms.file.wrapper This package contains classes and interfaces used to access OpenCms through a wrappedCmsObject
.org.opencms.lock The lock state of the resources in the VFS is handled with these classes.org.opencms.monitor Contains functions to monitor the OpenCms system status.org.opencms.workplace.editors.directedit Used to control the generation of the HTML for the "direct edit" buttons.org.opencms.workplace.explorer Contains the functions that generate the Workplace "Explorer" view, also contains the "New resource" wizard. -
-
Uses of CmsLock in org.opencms.ade.sitemap
Methods in org.opencms.ade.sitemap that return CmsLock Modifier and Type Method Description CmsLock
CmsVfsSitemapService.LockInfo. getLock()
Returns the lock state.Constructors in org.opencms.ade.sitemap with parameters of type CmsLock Constructor Description LockInfo(CmsLock lock, boolean wasJustLocked)
Creates a new LockInfo object. -
Uses of CmsLock in org.opencms.db
Methods in org.opencms.db that return CmsLock Modifier and Type Method Description CmsLock
CmsDriverManager. getLock(CmsDbContext dbc, CmsResource resource)
Returns the lock state of a resource.CmsLock
CmsSecurityManager. getLock(CmsRequestContext context, CmsResource resource)
Returns the lock state of a resource.Methods in org.opencms.db that return types with arguments of type CmsLock Modifier and Type Method Description java.util.List<CmsLock>
I_CmsProjectDriver. readLocks(CmsDbContext dbc)
Reads the
that were saved to the database in the previous run of OpenCms.List
<CmsLock
;>Method parameters in org.opencms.db with type arguments of type CmsLock Modifier and Type Method Description void
I_CmsProjectDriver. writeLocks(CmsDbContext dbc, java.util.List<CmsLock> locks)
Writes the
to the database for reuse in the next run of OpenCms.List
<CmsLock
;> -
Uses of CmsLock in org.opencms.db.generic
Methods in org.opencms.db.generic that return types with arguments of type CmsLock Modifier and Type Method Description java.util.List<CmsLock>
CmsProjectDriver. readLocks(CmsDbContext dbc)
Method parameters in org.opencms.db.generic with type arguments of type CmsLock Modifier and Type Method Description void
CmsProjectDriver. writeLocks(CmsDbContext dbc, java.util.List<CmsLock> locks)
-
Uses of CmsLock in org.opencms.file
Methods in org.opencms.file that return CmsLock Modifier and Type Method Description CmsLock
CmsObject. getLock(java.lang.String resourcename)
Returns the lock state for a specified resource name.CmsLock
CmsObject. getLock(CmsResource resource)
Returns the edition lock state for a specified resource. -
Uses of CmsLock in org.opencms.file.wrapper
Methods in org.opencms.file.wrapper that return CmsLock Modifier and Type Method Description CmsLock
A_CmsResourceExtensionWrapper. getLock(CmsObject cms, CmsResource resource)
CmsLock
A_CmsResourceWrapper. getLock(CmsObject cms, CmsResource resource)
CmsLock
CmsObjectWrapper. getLock(CmsResource resource)
Returns the lock state for a specified resource.CmsLock
CmsResourceWrapperModules. getLock(CmsObject cms, CmsResource resource)
CmsLock
CmsResourceWrapperModulesNonLazy. getLock(CmsObject cms, CmsResource resource)
CmsLock
CmsResourceWrapperPropertyFile. getLock(CmsObject cms, CmsResource resource)
CmsLock
CmsResourceWrapperXmlPage. getLock(CmsObject cms, CmsResource resource)
CmsLock
I_CmsResourceWrapper. getLock(CmsObject cms, CmsResource resource)
Returns the lock for the resource. -
Uses of CmsLock in org.opencms.lock
Methods in org.opencms.lock that return CmsLock Modifier and Type Method Description CmsLock
CmsLock. getEditionLock()
Returns the edition lock.CmsLock
CmsLockActionRecord. getLock()
Gets the lock state after the action.CmsLock
CmsLockManager. getLock(CmsDbContext dbc, CmsResource resource)
Returns the lock state of the given resource.CmsLock
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
CmsLock. getSystemLock()
Returns the system lock.CmsLock
CmsLockManager. removeResource(CmsDbContext dbc, CmsResource resource, boolean forceUnlock, boolean removeSystemLock)
Removes a resource from the lock manager.Methods in org.opencms.lock that return types with arguments of type CmsLock Modifier and Type Method Description java.util.List<CmsLock>
CmsLockManager. getLocks(CmsDbContext dbc, java.lang.String resourceName, CmsLockFilter filter)
Returns all exclusive locked resources matching the given resource name and filter.Methods in org.opencms.lock with parameters of type CmsLock Modifier and Type Method Description int
CmsLock. compareTo(CmsLock other)
boolean
CmsLockFilter. match(java.lang.String rootPath, CmsLock lock)
Matches the given lock against this filter and the given path.protected boolean
CmsLockFilter. match(java.lang.String rootPath, CmsLock lock, boolean isRelatedCheck)
Matches the given lock against this filter and the given path.protected void
CmsLock. setRelatedLock(CmsLock relatedLock)
Sets the related Lock.Constructors in org.opencms.lock with parameters of type CmsLock Constructor Description CmsLockActionRecord(CmsLock lock, CmsLockActionRecord.LockChange change)
Creates a new instance. -
Uses of CmsLock in org.opencms.monitor
Methods in org.opencms.monitor that return CmsLock Modifier and Type Method Description CmsLock
CmsMemoryMonitor. getCachedLock(java.lang.String rootPath)
Returns the lock cached with the given root path ornull
if not found.Methods in org.opencms.monitor that return types with arguments of type CmsLock Modifier and Type Method Description java.util.List<CmsLock>
CmsMemoryMonitor. getAllCachedLocks()
Returns all cached locks.Methods in org.opencms.monitor with parameters of type CmsLock Modifier and Type Method Description void
CmsMemoryMonitor. cacheLock(CmsLock lock)
Caches the given lock.Method parameters in org.opencms.monitor with type arguments of type CmsLock Modifier and Type Method Description void
CmsMemoryMonitor. flushLocks(java.util.Map<java.lang.String,CmsLock> newLocks)
Flushes the locks cache. -
Uses of CmsLock in org.opencms.workplace.editors.directedit
Methods in org.opencms.workplace.editors.directedit that return CmsLock Modifier and Type Method Description CmsLock
CmsDirectEditResourceInfo. getLock()
Returns the lock on the direct edit resource.Constructors in org.opencms.workplace.editors.directedit with parameters of type CmsLock Constructor Description CmsDirectEditResourceInfo(CmsDirectEditPermissions permissions, CmsResource resource, CmsLock lock)
Creates a new direct edit resource info container. -
Uses of CmsLock in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer that return CmsLock Modifier and Type Method Description CmsLock
CmsResourceUtil. getLock()
Returns the the lock for the given resource.
-