Package org.opencms.lock
Class CmsLockActionRecord
java.lang.Object
org.opencms.lock.CmsLockActionRecord
Bean class which keeps track of a locking action performed on a resource.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
A type for the different locking actions. -
Constructor Summary
ConstructorDescriptionCmsLockActionRecord
(CmsLock lock, CmsLockActionRecord.LockChange change) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the change type.getLock()
Gets the lock state after the action.
-
Constructor Details
-
CmsLockActionRecord
Creates a new instance.- Parameters:
lock
- the lock state after the actionchange
- the action type
-
-
Method Details
-
getChange
Gets the change type.- Returns:
- the change type
-
getLock
Gets the lock state after the action.- Returns:
- the lock state after the action
-