Interface DelegateProvider<T>
-
- All Known Implementing Classes:
HotRodAuthenticatedClientSessionEntityDelegateProvider
,JpaClientDelegateProvider
,JpaClientScopeDelegateProvider
,JpaGroupDelegateProvider
,JpaPermissionDelegateProvider
,JpaPolicyDelegateProvider
,JpaRealmDelegateProvider
,JpaResourceDelegateProvider
,JpaResourceServerDelegateProvider
,JpaRoleDelegateProvider
,JpaRootAuthenticationSessionDelegateProvider
,JpaScopeDelegateProvider
,JpaUserDelegateProvider
,JpaUserLoginFailureDelegateProvider
,LazyDelegateProvider
,SimpleDelegateProvider
public interface DelegateProvider<T>
Interface for a provider of a delegate of typeT
, optionally providing the flag on the object been updated.- Author:
- hmlnarik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
getDelegate(boolean isRead, Enum<? extends EntityField<T>> field, Object... parameters)
Returns a delegate for and entity for an operation on a field.default boolean
isUpdated()
-
-
-
Method Detail
-
getDelegate
T getDelegate(boolean isRead, Enum<? extends EntityField<T>> field, Object... parameters)
Returns a delegate for and entity for an operation on a field.- Parameters:
isRead
-true
when 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 theEntityField
s enumerated in one of theMap*EntityFields
enum.- Returns:
-
isUpdated
default boolean isUpdated()
-
-