Uses of Class
org.opencms.lock.CmsLockType
-
Packages that use CmsLockType 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. -
-
Uses of CmsLockType in org.opencms.db
Methods in org.opencms.db with parameters of type CmsLockType Modifier and Type Method 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. -
Uses of CmsLockType in org.opencms.file.types
Methods in org.opencms.file.types with parameters of type CmsLockType Modifier and Type Method 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. -
Uses of CmsLockType in org.opencms.lock
Fields in org.opencms.lock declared as CmsLockType Modifier and Type Field 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. SHALLOW
A lock that is 'shallow', i.e.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 byCmsLock.getNullLock()
.Methods in org.opencms.lock that return CmsLockType Modifier and Type Method 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.Methods in org.opencms.lock that return types with arguments of type CmsLockType Modifier and Type Method Description java.util.Set<CmsLockType>
CmsLockFilter. getTypes()
Returns the types to filter.Methods in org.opencms.lock with parameters of type CmsLockType Modifier and Type Method 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.Constructors in org.opencms.lock with parameters of type CmsLockType Constructor Description CmsLock(java.lang.String resourceName, CmsUUID userId, CmsProject project, CmsLockType type)
Constructor for a new Cms lock. -
Uses of CmsLockType in org.opencms.workplace
Methods in org.opencms.workplace with parameters of type CmsLockType Modifier and Type Method 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. -
Uses of CmsLockType in org.opencms.workplace.editors
Methods in org.opencms.workplace.editors with parameters of type CmsLockType Modifier and Type Method Description void
CmsEditor. checkLock(java.lang.String resource, CmsLockType type)
-