| Package | Description |
|---|---|
| org.opencms.db |
Low-level database connection and access functionality.
|
| org.opencms.file.types |
The implementations of the core resource types for the VFS are located here.
|
| org.opencms.lock |
The lock state of the resources in the VFS is handled with these classes.
|
| org.opencms.workplace |
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
|
| org.opencms.workplace.editors |
Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsDriverManager.changeLock(CmsDbContext dbc,
CmsResource resource,
CmsLockType lockType)
Changes the lock of a resource to the current user,
that is "steals" the lock from another user.
|
void |
CmsDriverManager.lockResource(CmsDbContext dbc,
CmsResource resource,
CmsLockType type)
Locks a resource.
|
void |
CmsSecurityManager.lockResource(CmsRequestContext context,
CmsResource resource,
CmsLockType type)
Locks a resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
A_CmsResourceType.lockResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsLockType type) |
void |
I_CmsResourceType.lockResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsLockType type)
Locks a resource.
|
| Modifier and Type | Field and Description |
|---|---|
static CmsLockType |
CmsLockType.EXCLUSIVE
A lock that allows the user to edit the resource's structure record,
it's resource record, and its content record.
|
static CmsLockType |
CmsLockType.INHERITED
A lock that is inherited from a locked parent folder.
|
static CmsLockType |
CmsLockType.PUBLISH
A lock that indicates that the resource is waiting to be published in the publish queue.
|
static CmsLockType |
CmsLockType.SHARED_EXCLUSIVE
A lock that allows the user to edit the resource's structure record only,
but not it's resource record nor content record.
|
static CmsLockType |
CmsLockType.SHARED_INHERITED
A lock that allows the user to edit the resource's structure record only,
but not it's resource record nor content record.
|
protected static CmsLockType |
CmsLockType.SYSTEM_UNLOCKED
Type of the NULL system lock.
|
static CmsLockType |
CmsLockType.TEMPORARY
A temporary exclusive lock that allows the user to edit the resource's structure record,
it's resource record, and its content record.
|
static CmsLockType |
CmsLockType.UNLOCKED
Type of the NULL lock obtained by
CmsLock.getNullLock(). |
| Modifier and Type | Method and Description |
|---|---|
CmsLockType |
CmsLock.getType()
Returns the type about how the resource is locked.
|
static CmsLockType |
CmsLockType.valueOf(int type)
Returns the lock type for the given type value.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<CmsLockType> |
CmsLockFilter.getTypes()
Returns the types to filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsLockManager.addResource(CmsDbContext dbc,
CmsResource resource,
CmsUser user,
CmsProject project,
CmsLockType type)
Adds a resource to the lock manager.
|
CmsLockFilter |
CmsLockFilter.filterType(CmsLockType type)
Returns an extended filter with the given type restriction.
|
| Constructor and Description |
|---|
CmsLock(java.lang.String resourceName,
CmsUUID userId,
CmsProject project,
CmsLockType type)
Constructor for a new Cms lock.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsWorkplace.checkLock(java.lang.String resource,
CmsLockType type)
Checks the lock state of the resource and locks it if the autolock feature is enabled.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsEditor.checkLock(java.lang.String resource,
CmsLockType type) |