Class MapFieldPredicates
java.lang.Object
org.keycloak.models.map.storage.chm.MapFieldPredicates
- Author:
- hmlnarik
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<SearchableModelField<SingleUseObjectValueModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapSingleUseObjectEntity, SingleUseObjectValueModel>> static final Map<SearchableModelField<AdminEvent>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapAdminEventEntity, AdminEvent>> static final Map<SearchableModelField<Event>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapAuthEventEntity, Event>> static final Map<SearchableModelField<RootAuthenticationSessionModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapRootAuthenticationSessionEntity, RootAuthenticationSessionModel>> static final Map<SearchableModelField<PermissionTicket>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapPermissionTicketEntity, PermissionTicket>> static final Map<SearchableModelField<Policy>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapPolicyEntity, Policy>> static final Map<SearchableModelField<Resource>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapResourceEntity, Resource>> static final Map<SearchableModelField<ResourceServer>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapResourceServerEntity, ResourceServer>> static final Map<SearchableModelField<Scope>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapScopeEntity, Scope>> static final Map<SearchableModelField<ClientModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapClientEntity, ClientModel>> static final Map<SearchableModelField<ClientScopeModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapClientScopeEntity, ClientScopeModel>> static final Map<SearchableModelField<GroupModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapGroupEntity, GroupModel>> static final Map<SearchableModelField<RealmModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapRealmEntity, RealmModel>> static final Map<SearchableModelField<RoleModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapRoleEntity, RoleModel>> static final Map<SearchableModelField<UserLoginFailureModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapUserLoginFailureEntity, UserLoginFailureModel>> static final Map<SearchableModelField<UserModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapUserEntity, UserModel>> static final Map<SearchableModelField<UserSessionModel>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapUserSessionEntity, UserSessionModel>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V extends AbstractEntity, M>
Map<SearchableModelField<M>,MapModelCriteriaBuilder.UpdatePredicatesFunc<K, V, M>> basePredicates
(SearchableModelField<M> idField) static <K,
V extends AbstractEntity, M>
Comparator<V>getComparator
(Stream<QueryParameters.OrderBy<M>> ordering) static <K,
V extends AbstractEntity, M>
Comparator<V>getComparator
(QueryParameters.OrderBy<M> orderBy) static <K,
V extends AbstractEntity, M>
Map<SearchableModelField<? super M>,MapModelCriteriaBuilder.UpdatePredicatesFunc<K, V, M>> getPredicates
(Class<M> clazz)
-
Field Details
-
CLIENT_PREDICATES
public static final Map<SearchableModelField<ClientModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, CLIENT_PREDICATESMapClientEntity, ClientModel>> -
CLIENT_SCOPE_PREDICATES
public static final Map<SearchableModelField<ClientScopeModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, CLIENT_SCOPE_PREDICATESMapClientScopeEntity, ClientScopeModel>> -
GROUP_PREDICATES
public static final Map<SearchableModelField<GroupModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, GROUP_PREDICATESMapGroupEntity, GroupModel>> -
ROLE_PREDICATES
public static final Map<SearchableModelField<RoleModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, ROLE_PREDICATESMapRoleEntity, RoleModel>> -
AUTHENTICATION_SESSION_PREDICATES
public static final Map<SearchableModelField<RootAuthenticationSessionModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, AUTHENTICATION_SESSION_PREDICATESMapRootAuthenticationSessionEntity, RootAuthenticationSessionModel>> -
REALM_PREDICATES
public static final Map<SearchableModelField<RealmModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, REALM_PREDICATESMapRealmEntity, RealmModel>> -
AUTHZ_RESOURCE_SERVER_PREDICATES
public static final Map<SearchableModelField<ResourceServer>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, AUTHZ_RESOURCE_SERVER_PREDICATESMapResourceServerEntity, ResourceServer>> -
AUTHZ_RESOURCE_PREDICATES
public static final Map<SearchableModelField<Resource>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, AUTHZ_RESOURCE_PREDICATESMapResourceEntity, Resource>> -
AUTHZ_SCOPE_PREDICATES
public static final Map<SearchableModelField<Scope>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, AUTHZ_SCOPE_PREDICATESMapScopeEntity, Scope>> -
AUTHZ_PERMISSION_TICKET_PREDICATES
public static final Map<SearchableModelField<PermissionTicket>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, AUTHZ_PERMISSION_TICKET_PREDICATESMapPermissionTicketEntity, PermissionTicket>> -
AUTHZ_POLICY_PREDICATES
public static final Map<SearchableModelField<Policy>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, AUTHZ_POLICY_PREDICATESMapPolicyEntity, Policy>> -
USER_LOGIN_FAILURE_PREDICATES
public static final Map<SearchableModelField<UserLoginFailureModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, USER_LOGIN_FAILURE_PREDICATESMapUserLoginFailureEntity, UserLoginFailureModel>> -
USER_PREDICATES
public static final Map<SearchableModelField<UserModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, USER_PREDICATESMapUserEntity, UserModel>> -
USER_SESSION_PREDICATES
public static final Map<SearchableModelField<UserSessionModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, USER_SESSION_PREDICATESMapUserSessionEntity, UserSessionModel>> -
AUTH_EVENTS_PREDICATES
public static final Map<SearchableModelField<Event>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, AUTH_EVENTS_PREDICATESMapAuthEventEntity, Event>> -
ADMIN_EVENTS_PREDICATES
public static final Map<SearchableModelField<AdminEvent>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, ADMIN_EVENTS_PREDICATESMapAdminEventEntity, AdminEvent>> -
ACTION_TOKEN_PREDICATES
public static final Map<SearchableModelField<SingleUseObjectValueModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, ACTION_TOKEN_PREDICATESMapSingleUseObjectEntity, SingleUseObjectValueModel>>
-
-
Constructor Details
-
MapFieldPredicates
public MapFieldPredicates()
-
-
Method Details
-
basePredicates
public static <K,V extends AbstractEntity, Map<SearchableModelField<M>,M> MapModelCriteriaBuilder.UpdatePredicatesFunc<K, basePredicatesV, M>> (SearchableModelField<M> idField) -
getComparator
public static <K,V extends AbstractEntity, Comparator<V> getComparatorM> (QueryParameters.OrderBy<M> orderBy) -
getComparator
public static <K,V extends AbstractEntity, Comparator<V> getComparatorM> (Stream<QueryParameters.OrderBy<M>> ordering) -
getPredicates
public static <K,V extends AbstractEntity, Map<SearchableModelField<? super M>,M> MapModelCriteriaBuilder.UpdatePredicatesFunc<K, getPredicatesV, M>> (Class<M> clazz)
-