Class MultiRecordSecurityLock
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.security.RecordSecurityLock
com.kingsrook.qqq.backend.core.model.metadata.security.MultiRecordSecurityLock
- All Implemented Interfaces:
Cloneable
Subclass of RecordSecurityLock, for combining multiple locks using a boolean
(AND/OR) condition. Note that the combined locks can themselves also be
Multi-locks, thus creating a tree of locks.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.kingsrook.qqq.backend.core.model.metadata.security.RecordSecurityLock
RecordSecurityLock.LockScope, RecordSecurityLock.NullValueBehavior
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MultiRecordSecurityLock
clone()
getLocks()
Getter for locksGetter for operatorvoid
setLocks
(List<RecordSecurityLock> locks) Setter for locksvoid
Setter for operatorwithLock
(RecordSecurityLock lock) Fluently add one lockwithLocks
(List<RecordSecurityLock> locks) Fluent setter for locksFluent setter for operatorMethods inherited from class com.kingsrook.qqq.backend.core.model.metadata.security.RecordSecurityLock
getFieldName, getJoinNameChain, getLockScope, getNullValueBehavior, getSecurityKeyType, setFieldName, setJoinNameChain, setLockScope, setNullValueBehavior, setSecurityKeyType, toString, withFieldName, withJoinNameChain, withLockScope, withNullValueBehavior, withSecurityKeyType
-
Constructor Details
-
MultiRecordSecurityLock
public MultiRecordSecurityLock()
-
-
Method Details
-
clone
- Overrides:
clone
in classRecordSecurityLock
- Throws:
CloneNotSupportedException
-
getLocks
Getter for locks -
setLocks
Setter for locks -
withLocks
Fluent setter for locks -
withLock
Fluently add one lock -
getOperator
Getter for operator -
setOperator
Setter for operator -
withOperator
Fluent setter for operator
-