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 SummaryFields Modifier and Type Field Description protected LazilyInitialized<T>delegateSupplier
 - 
Constructor SummaryConstructors Constructor Description LazyDelegateProvider(Supplier<T> delegateSupplier)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetDelegate(boolean isRead, Enum<? extends EntityField<T>> field, Object... parameters)Returns a delegate for and entity for an operation on a field.booleanisUpdated()
 
- 
- 
- 
Field Detail- 
delegateSupplierprotected final LazilyInitialized<T extends AbstractEntity> delegateSupplier 
 
- 
 - 
Method Detail- 
getDelegatepublic T getDelegate(boolean isRead, Enum<? extends EntityField<T>> field, Object... parameters) Description copied from interface:DelegateProviderReturns a delegate for and entity for an operation on a field.- Specified by:
- getDelegatein interface- DelegateProvider<T extends AbstractEntity>
- Parameters:
- isRead-- truewhen the delegate requested for a read operation, false otherwise
- field- Identification of the field this delegates operates on. While this parameter can be any object including- null, if it is a known field, then it is guaranteed to be one of the- EntityFields enumerated in one of the- Map*EntityFieldsenum.
- Returns:
 
 - 
isUpdatedpublic boolean isUpdated() - Specified by:
- isUpdatedin interface- DelegateProvider<T extends AbstractEntity>
 
 
- 
 
-