Class EntityFieldDelegate.WithEntity<E extends UpdatableEntity>
java.lang.Object
org.keycloak.models.map.common.delegate.EntityFieldDelegate.WithEntity<E>
- All Implemented Interfaces:
EntityFieldDelegate<E>
,UpdatableEntity
- Enclosing interface:
- EntityFieldDelegate<E>
public abstract static class EntityFieldDelegate.WithEntity<E extends UpdatableEntity>
extends Object
implements EntityFieldDelegate<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.delegate.EntityFieldDelegate
EntityFieldDelegate.WithEntity<E extends UpdatableEntity>
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
An optional operation clearing the updated flag.<T,
EF extends Enum<? extends EntityField<E>> & EntityField<E>>
voidcollectionAdd
(EF field, T value) <T,
EF extends Enum<? extends EntityField<E>> & EntityField<E>>
ObjectcollectionRemove
(EF field, T value) <EF extends Enum<? extends EntityField<E>> & EntityField<E>>
Objectget
(EF field) boolean
Flag signalizing that any of the setters has been meaningfully used.<K,
EF extends Enum<? extends EntityField<E>> & EntityField<E>>
ObjectmapGet
(EF field, K key) <K,
T, EF extends Enum<? extends EntityField<E>> & EntityField<E>>
voidmapPut
(EF field, K key, T value) <K,
EF extends Enum<? extends EntityField<E>> & EntityField<E>>
ObjectmapRemove
(EF field, K key) void
An optional operation setting the updated flag.<T,
EF extends Enum<? extends EntityField<E>> & EntityField<E>>
voidset
(EF field, T value) toString()
-
Field Details
-
entity
-
-
Constructor Details
-
WithEntity
-
-
Method Details
-
get
- Specified by:
get
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
set
- Specified by:
set
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
mapRemove
public <K,EF extends Enum<? extends EntityField<E>> & EntityField<E>> Object mapRemove(EF field, K key) - Specified by:
mapRemove
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
mapPut
public <K,T, void mapPutEF extends Enum<? extends EntityField<E>> & EntityField<E>> (EF field, K key, T value) - Specified by:
mapPut
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
mapGet
public <K,EF extends Enum<? extends EntityField<E>> & EntityField<E>> Object mapGet(EF field, K key) - Specified by:
mapGet
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
collectionRemove
public <T,EF extends Enum<? extends EntityField<E>> & EntityField<E>> Object collectionRemove(EF field, T value) - Specified by:
collectionRemove
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
collectionAdd
public <T,EF extends Enum<? extends EntityField<E>> & EntityField<E>> void collectionAdd(EF field, T value) - Specified by:
collectionAdd
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
isUpdated
public boolean isUpdated()Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Returns:
-
markUpdatedFlag
public void markUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation setting the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returntrue
.- Specified by:
markUpdatedFlag
in interfaceUpdatableEntity
-
clearUpdatedFlag
public void clearUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returnfalse
.- Specified by:
clearUpdatedFlag
in interfaceUpdatableEntity
-
toString
-