Uses of Class
org.opencms.lock.CmsLockType
Package
Description
Low-level database connection and access functionality.
The implementations of the core resource types for the VFS are located here.
The lock state of the resources in the VFS is handled with these classes.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.
-
Uses of CmsLockType in org.opencms.db
Modifier and TypeMethodDescriptionvoid
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. -
Uses of CmsLockType in org.opencms.file.types
Modifier and TypeMethodDescriptionvoid
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. -
Uses of CmsLockType in org.opencms.lock
Modifier and TypeFieldDescriptionstatic final 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 final CmsLockType
CmsLockType.INHERITED
A lock that is inherited from a locked parent folder.static final CmsLockType
CmsLockType.PUBLISH
A lock that indicates that the resource is waiting to be published in the publish queue.static final CmsLockType
CmsLockType.SHALLOW
A lock that is 'shallow', i.e.static final 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 final 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 final CmsLockType
CmsLockType.SYSTEM_UNLOCKED
Type of the NULL system lock.static final 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 final CmsLockType
CmsLockType.UNLOCKED
Type of the NULL lock obtained byCmsLock.getNullLock()
.Modifier and TypeMethodDescriptionCmsLock.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 TypeMethodDescriptionvoid
CmsLockManager.addResource
(CmsDbContext dbc, CmsResource resource, CmsUser user, CmsProject project, CmsLockType type) Adds a resource to the lock manager.CmsLockFilter.filterType
(CmsLockType type) Returns an extended filter with the given type restriction.ModifierConstructorDescriptionCmsLock
(String resourceName, CmsUUID userId, CmsProject project, CmsLockType type) Constructor for a new Cms lock. -
Uses of CmsLockType in org.opencms.workplace
Modifier and TypeMethodDescriptionvoid
CmsWorkplace.checkLock
(String resource, CmsLockType type) Checks the lock state of the resource and locks it if the autolock feature is enabled. -
Uses of CmsLockType in org.opencms.workplace.editors