Class AuditValueProtectionMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.actions.audits.AuditValueProtectionMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable,Cloneable
public class AuditValueProtectionMetaData
extends Object
implements QSupplementalInstanceMetaData, Cloneable
One protector per instance. Register through ofOrWithNew; configuration cannot be replaced.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone configuration, retaining the explicitly supplied service instance.getName()Supplemental metadata name.Getter for protectorLoad once per metadata instance, never cache a session decision here.static AuditValueProtectionMetaDataFind the configured policy, if any.static AuditValueProtectionMetaDataofOrWithNew(QInstance instance) Get or register the policy metadata.voidvalidate(QInstance instance, QInstanceValidator validator) Validate the configured code reference.withProtector(QCodeReference protector) Configure a code reference.withProtectorInstance(AuditValueProtectorInterface protectorInstance) Configure the single explicit protector instance.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.QSupplementalInstanceMetaData
addSelfToInstance, enrich
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AuditValueProtectionMetaData
public AuditValueProtectionMetaData()
-
-
Method Details
-
of
Find the configured policy, if any. -
ofOrWithNew
Get or register the policy metadata. -
getName
Supplemental metadata name.- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
getProtector
Getter for protector -
withProtector
Configure a code reference. -
withProtectorInstance
public AuditValueProtectionMetaData withProtectorInstance(AuditValueProtectorInterface protectorInstance) Configure the single explicit protector instance. -
getProtectorInstance
Load once per metadata instance, never cache a session decision here. -
validate
Validate the configured code reference.- Specified by:
validatein interfaceQSupplementalInstanceMetaData
-
clone
Clone configuration, retaining the explicitly supplied service instance.
-