程序包 | 说明 |
---|---|
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.db.jpa | |
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 wrapped
CmsObject . |
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.
|
限定符和类型 | 方法和说明 |
---|---|
CmsLock |
CmsVfsSitemapService.LockInfo.getLock()
Returns the lock state.
|
构造器和说明 |
---|
CmsVfsSitemapService.LockInfo(CmsLock lock,
boolean wasJustLocked)
Creates a new LockInfo object.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsLock> |
I_CmsProjectDriver.readLocks(CmsDbContext dbc)
Reads the
that were saved to the database in the previous run of OpenCms. |
限定符和类型 | 方法和说明 |
---|---|
void |
I_CmsProjectDriver.writeLocks(CmsDbContext dbc,
java.util.List<CmsLock> locks)
Writes the
to the database for reuse in the next run of OpenCms. |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsLock> |
CmsProjectDriver.readLocks(CmsDbContext dbc) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsProjectDriver.writeLocks(CmsDbContext dbc,
java.util.List<CmsLock> locks) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsLock> |
CmsProjectDriver.readLocks(CmsDbContext dbc) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsProjectDriver.writeLocks(CmsDbContext dbc,
java.util.List<CmsLock> locks) |
限定符和类型 | 方法和说明 |
---|---|
CmsLock |
CmsObject.getLock(CmsResource resource)
Returns the edition lock state for a specified resource.
|
CmsLock |
CmsObject.getLock(java.lang.String resourcename)
Returns the lock state for a specified resource name.
|
限定符和类型 | 方法和说明 |
---|---|
CmsLock |
I_CmsResourceWrapper.getLock(CmsObject cms,
CmsResource resource)
Returns the lock for the resource.
|
CmsLock |
CmsResourceWrapperPropertyFile.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
CmsResourceWrapperXmlPage.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
A_CmsResourceWrapper.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
A_CmsResourceExtensionWrapper.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
CmsObjectWrapper.getLock(CmsResource resource)
Returns the lock state for a specified resource.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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 void |
CmsLock.setRelatedLock(CmsLock relatedLock)
Sets the related Lock.
|
构造器和说明 |
---|
CmsLockActionRecord(CmsLock lock,
CmsLockActionRecord.LockChange change)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
CmsLock |
CmsMemoryMonitor.getCachedLock(java.lang.String rootPath)
Returns the lock cached with the given root path or
null if not found. |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsLock> |
CmsMemoryMonitor.getAllCachedLocks()
Returns all cached locks.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsMemoryMonitor.cacheLock(CmsLock lock)
Caches the given lock.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsMemoryMonitor.flushLocks(java.util.Map<java.lang.String,CmsLock> newLocks)
Flushes the locks cache.
|
限定符和类型 | 方法和说明 |
---|---|
CmsLock |
CmsDirectEditResourceInfo.getLock()
Returns the lock on the direct edit resource.
|
构造器和说明 |
---|
CmsDirectEditResourceInfo(CmsDirectEditPermissions permissions,
CmsResource resource,
CmsLock lock)
Creates a new direct edit resource info container.
|
限定符和类型 | 方法和说明 |
---|---|
CmsLock |
CmsResourceUtil.getLock()
Returns the the lock for the given resource.
|