Class LazyDelegateProvider<T extends AbstractEntity>
java.lang.Object
org.keycloak.models.map.common.delegate.LazyDelegateProvider<T>
- All Implemented Interfaces:
DelegateProvider<T>
public class LazyDelegateProvider<T extends AbstractEntity>
extends Object
implements DelegateProvider<T>
- Author:
- hmlnarik
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDelegate(boolean isRead, Enum<? extends EntityField<T>> field, Object... parameters) Returns a delegate for and entity for an operation on a field.boolean
-
Field Details
-
delegateSupplier
-
-
Constructor Details
-
LazyDelegateProvider
-
-
Method Details
-
getDelegate
Description copied from interface:DelegateProviderReturns a delegate for and entity for an operation on a field.- Specified by:
getDelegatein interfaceDelegateProvider<T extends AbstractEntity>- Parameters:
isRead-truewhen the delegate requested for a read operation, false otherwisefield- Identification of the field this delegates operates on. While this parameter can be any object includingnull, if it is a known field, then it is guaranteed to be one of theEntityFields enumerated in one of theMap*EntityFieldsenum.- Returns:
-
isUpdated
public boolean isUpdated()- Specified by:
isUpdatedin interfaceDelegateProvider<T extends AbstractEntity>
-