Package org.opencms.lock
Class CmsLockActionRecord
- java.lang.Object
-
- org.opencms.lock.CmsLockActionRecord
-
public class CmsLockActionRecord extends java.lang.Object
Bean class which keeps track of a locking action performed on a resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsLockActionRecord.LockChange
A type for the different locking actions.
-
Constructor Summary
Constructors Constructor Description CmsLockActionRecord(CmsLock lock, CmsLockActionRecord.LockChange change)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsLockActionRecord.LockChange
getChange()
Gets the change type.CmsLock
getLock()
Gets the lock state after the action.
-
-
-
Constructor Detail
-
CmsLockActionRecord
public CmsLockActionRecord(CmsLock lock, CmsLockActionRecord.LockChange change)
Creates a new instance.- Parameters:
lock
- the lock state after the actionchange
- the action type
-
-
Method Detail
-
getChange
public CmsLockActionRecord.LockChange getChange()
Gets the change type.- Returns:
- the change type
-
-