Class FieldAccessResolverMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess.FieldAccessResolverMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable,Cloneable
public class FieldAccessResolverMetaData
extends Object
implements QSupplementalInstanceMetaData, Cloneable
One resolver 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 resolverLoad once per metadata instance, never cache a session decision here.static FieldAccessResolverMetaDataFind the configured policy, if any.static FieldAccessResolverMetaDataofOrWithNew(QInstance instance) Get or register the policy metadata.voidvalidate(QInstance instance, QInstanceValidator validator) Validate the configured code reference.withResolver(QCodeReference resolver) Configure a code reference.withResolverInstance(FieldAccessResolverInterface resolverInstance) Configure the single explicit resolver 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
-
FieldAccessResolverMetaData
public FieldAccessResolverMetaData()
-
-
Method Details
-
of
Find the configured policy, if any. -
ofOrWithNew
Get or register the policy metadata. -
getName
Supplemental metadata name.- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
getResolver
Getter for resolver -
withResolver
Configure a code reference. -
withResolverInstance
public FieldAccessResolverMetaData withResolverInstance(FieldAccessResolverInterface resolverInstance) Configure the single explicit resolver instance. -
getResolverInstance
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.
-