public class JpaRealmProvider extends Object implements RealmProvider, ClientProvider, ClientScopeProvider, GroupProvider, RoleProvider, DeploymentStateProvider
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected static org.jboss.logging.Logger |
logger |
| Constructor and Description |
|---|
JpaRealmProvider(KeycloakSession session,
javax.persistence.EntityManager em,
Set<String> clientSearchableAttributes) |
| Modifier and Type | Method and Description |
|---|---|
ClientModel |
addClient(RealmModel realm,
String clientId)
Adds a client with given
clientId to the given realm. |
ClientModel |
addClient(RealmModel realm,
String id,
String clientId)
Adds a client with given internal ID and
clientId to the given realm. |
RoleModel |
addClientRole(ClientModel client,
String name)
Adds a client role with given
name to the given client. |
RoleModel |
addClientRole(ClientModel client,
String id,
String name)
Adds a client role with given internal ID and
name to the given client. |
ClientScopeModel |
addClientScope(RealmModel realm,
String id,
String name)
Creates new client scope with given internal ID and
name to the given realm. |
void |
addClientScopes(RealmModel realm,
ClientModel client,
Set<ClientScopeModel> clientScopes,
boolean defaultScope)
Assign clientScopes to the client.
|
RoleModel |
addRealmRole(RealmModel realm,
String name)
Adds a realm role with given
name to the given realm. |
RoleModel |
addRealmRole(RealmModel realm,
String id,
String name)
Adds a realm role with given internal ID and
name to the given realm. |
void |
addTopLevelGroup(RealmModel realm,
GroupModel subGroup)
Removes parent group for the given group in the given realm.
|
void |
close() |
GroupModel |
createGroup(RealmModel realm,
String id,
String name,
GroupModel toParent)
Creates a new group with the given name, id, name and parent to the given realm.
|
RealmModel |
createRealm(String name)
Creates new realm with the given name.
|
RealmModel |
createRealm(String id,
String name)
Created new realm with given ID and name.
|
boolean |
deleteLocalizationText(RealmModel realm,
String locale,
String key) |
boolean |
deleteLocalizationTextsByLocale(RealmModel realm,
String locale) |
Map<ClientModel,Set<String>> |
getAllRedirectUrisOfEnabledClients(RealmModel realm)
Returns a map of (rootUrl, {validRedirectUris}) for all enabled clients.
|
Stream<ClientModel> |
getAlwaysDisplayInConsoleClientsStream(RealmModel realm)
Returns a stream of clients that are expected to always show up in account console.
|
ClientModel |
getClientByClientId(RealmModel realm,
String clientId)
Exact search for a client by its public client identifier.
|
ClientModel |
getClientById(RealmModel realm,
String id)
Exact search for a client by its internal ID.
|
RoleModel |
getClientRole(ClientModel client,
String name)
Exact search for a client role by given name.
|
Stream<RoleModel> |
getClientRolesStream(ClientModel client,
Integer first,
Integer max)
Returns the client roles of the given client.
|
ClientScopeModel |
getClientScopeById(RealmModel realm,
String id)
Exact search for a client scope by its internal ID..
|
Map<String,ClientScopeModel> |
getClientScopes(RealmModel realm,
ClientModel client,
boolean defaultScope)
Return all default scopes (if
defaultScope is true) or all optional scopes (if defaultScope is false) linked with the client |
Stream<ClientScopeModel> |
getClientScopesStream(RealmModel realm)
Returns all the client scopes of the given realm as a stream.
|
long |
getClientsCount(RealmModel realm)
Returns number of clients in the given realm
|
Set<String> |
getClientSearchableAttributes() |
Stream<ClientModel> |
getClientsStream(RealmModel realm)
Returns all the clients of the given realm as a stream.
|
Stream<ClientModel> |
getClientsStream(RealmModel realm,
Integer firstResult,
Integer maxResults)
Returns the clients of the given realm as a stream.
|
GroupModel |
getGroupById(RealmModel realm,
String id)
Returns a group from the given realm with the corresponding id
|
Stream<GroupModel> |
getGroupsByRoleStream(RealmModel realm,
RoleModel role,
Integer firstResult,
Integer maxResults)
Returns groups with the given role in the given realm.
|
Long |
getGroupsCount(RealmModel realm,
Boolean onlyTopGroups)
Returns a number of groups/top level groups (i.e.
|
Long |
getGroupsCount(RealmModel realm,
Stream<String> ids,
String search)
Returns a number of groups that contains the search string in the name
|
Long |
getGroupsCountByNameContaining(RealmModel realm,
String search)
Returns number of groups with the given string in name for the given realm.
|
Stream<GroupModel> |
getGroupsStream(RealmModel realm)
Returns groups for the given realm.
|
Stream<GroupModel> |
getGroupsStream(RealmModel realm,
Stream<String> ids)
Returns a stream of groups with given ids.
|
Stream<GroupModel> |
getGroupsStream(RealmModel realm,
Stream<String> ids,
Integer first,
Integer max)
Returns a paginated stream of groups with given ids.
|
Stream<GroupModel> |
getGroupsStream(RealmModel realm,
Stream<String> ids,
String search,
Integer first,
Integer max)
Returns a paginated stream of groups with given ids and given search value in group names.
|
String |
getLocalizationTextsById(RealmModel realm,
String locale,
String key) |
MigrationModel |
getMigrationModel() |
RealmModel |
getRealm(String id)
Exact search for a realm by its internal ID.
|
RealmModel |
getRealmByName(String name)
Exact search for a realm by its name.
|
RoleModel |
getRealmRole(RealmModel realm,
String name)
Exact search for a role by given name.
|
Stream<RoleModel> |
getRealmRolesStream(RealmModel realm)
Returns all the realm roles of the given realm as a stream.
|
Stream<RoleModel> |
getRealmRolesStream(RealmModel realm,
Integer first,
Integer max)
Returns the realm roles of the given realm as a stream.
|
Stream<RealmModel> |
getRealmsStream()
Returns realms as a stream.
|
Stream<RealmModel> |
getRealmsWithProviderTypeStream(Class<?> providerType)
Returns stream of realms which has component with the given provider type.
|
RoleModel |
getRoleById(RealmModel realm,
String id)
Exact search for a role by its internal ID..
|
protected Stream<RoleModel> |
getRolesStream(javax.persistence.TypedQuery<RoleEntity> query,
RealmModel realm,
Integer first,
Integer max) |
Stream<GroupModel> |
getTopLevelGroupsStream(RealmModel realm)
Returns all top level groups (i.e.
|
Stream<GroupModel> |
getTopLevelGroupsStream(RealmModel realm,
Integer first,
Integer max)
Returns top level groups (i.e.
|
void |
moveGroup(RealmModel realm,
GroupModel group,
GroupModel toParent)
This method is used for moving groups in group structure, for example:
making an existing child group child group of some other group,
setting a top level group (i.e.
|
void |
preRemove(RealmModel realm,
RoleModel role) |
boolean |
removeClient(RealmModel realm,
String id)
Removes given client from the given realm.
|
void |
removeClients(RealmModel realm)
Removes all clients from the given realm.
|
void |
removeClientScope(RealmModel realm,
ClientModel client,
ClientScopeModel clientScope)
Unassign clientScope from the client.
|
boolean |
removeClientScope(RealmModel realm,
String id)
Removes client scope from the given realm.
|
void |
removeClientScopes(RealmModel realm)
Removes all client scopes from the given realm.
|
void |
removeExpiredClientInitialAccess()
Removes all expired client initial accesses from all realms.
|
boolean |
removeGroup(RealmModel realm,
GroupModel group)
Removes the given group for the given realm.
|
boolean |
removeRealm(String id)
Removes realm with the given id.
|
boolean |
removeRole(RoleModel role)
Removes given realm role from the given realm.
|
void |
removeRoles(ClientModel client)
Removes all roles from the given client.
|
void |
removeRoles(RealmModel realm)
Removes all roles from the given realm.
|
RoleContainerModel.RoleRemovedEvent |
roleRemovedEvent(RoleModel role) |
void |
saveLocalizationText(RealmModel realm,
String locale,
String key,
String text) |
void |
saveLocalizationTexts(RealmModel realm,
String locale,
Map<String,String> localizationTexts) |
Stream<ClientModel> |
searchClientsByAttributes(RealmModel realm,
Map<String,String> attributes,
Integer firstResult,
Integer maxResults) |
Stream<ClientModel> |
searchClientsByClientIdStream(RealmModel realm,
String clientId,
Integer firstResult,
Integer maxResults)
Case-insensitive search for clients that contain the given string in their public client identifier.
|
Stream<RoleModel> |
searchForClientRolesStream(ClientModel client,
String search,
Integer first,
Integer max)
Case-insensitive search for client roles that contain the given string in their name or description.
|
Stream<GroupModel> |
searchForGroupByNameStream(RealmModel realm,
String search,
Integer first,
Integer max)
Returns the group hierarchy with the given string in name for the given realm.
|
protected Stream<RoleModel> |
searchForRoles(javax.persistence.TypedQuery<RoleEntity> query,
RealmModel realm,
String search,
Integer first,
Integer max) |
Stream<RoleModel> |
searchForRolesStream(RealmModel realm,
String search,
Integer first,
Integer max)
Case-insensitive search for roles that contain the given string in their name or description.
|
boolean |
updateLocalizationText(RealmModel realm,
String locale,
String key,
String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClientRole, addClientRole, createClientInitialAccessModel, createGroup, createGroup, createGroup, decreaseRemainingCount, getAlwaysDisplayInConsoleClients, getClientByClientId, getClientById, getClientInitialAccessModel, getClientRole, getClientRoles, getClientRoles, getClients, getClients, getClientScopeById, getGroupById, getGroups, getGroupsByRole, getRealmRoles, getRealmRoles, getRealms, getRealmsWithProviderType, getRoleById, getTopLevelGroups, getTopLevelGroups, listClientInitialAccess, listClientInitialAccessStream, removeClient, removeClientInitialAccessModel, removeRole, searchClientsByClientId, searchForClientRoles, searchForGroupByName, searchForRolesaddClientScopegetClientRolesStreamprotected static final org.jboss.logging.Logger logger
protected javax.persistence.EntityManager em
public JpaRealmProvider(KeycloakSession session, javax.persistence.EntityManager em, Set<String> clientSearchableAttributes)
public MigrationModel getMigrationModel()
getMigrationModel in interface DeploymentStateProviderpublic RealmModel createRealm(String name)
RealmProvidercreateRealm in interface RealmProvidername - String name of the realmpublic RealmModel createRealm(String id, String name)
RealmProvidercreateRealm in interface RealmProviderid - Internal ID of the realm or null if one is to be created by the underlying storename - String name of the realmpublic RealmModel getRealm(String id)
RealmProvidergetRealm in interface RealmProviderid - Internal ID of the realm.public Stream<RealmModel> getRealmsWithProviderTypeStream(Class<?> providerType)
RealmProvidergetRealmsWithProviderTypeStream in interface RealmProviderproviderType - Class<?> Type of the provider.RealmModel. Never returns null.public Stream<RealmModel> getRealmsStream()
RealmProvidergetRealmsStream in interface RealmProviderRealmModel. Never returns null.public RealmModel getRealmByName(String name)
RealmProvidergetRealmByName in interface RealmProvidername - String name of the realmpublic boolean removeRealm(String id)
RealmProviderremoveRealm in interface RealmProviderid - of realm.true if the realm was successfully removed.public RoleModel addRealmRole(RealmModel realm, String name)
RoleProvidername to the given realm.
The internal ID of the role will be created automatically.addRealmRole in interface RealmProvideraddRealmRole in interface RoleProviderrealm - Realm owning this role.name - String name of the role.public RoleModel addRealmRole(RealmModel realm, String id, String name)
RoleProvidername to the given realm.addRealmRole in interface RealmProvideraddRealmRole in interface RoleProviderrealm - Realm owning this role.id - Internal ID of the role or null if one is to be created by the underlying storename - String name of the role.public RoleModel getRealmRole(RealmModel realm, String name)
RoleLookupProvidergetRealmRole in interface RealmProvidergetRealmRole in interface RoleLookupProviderrealm - Realm.name - String name of the role.null if no role is found.public RoleModel addClientRole(ClientModel client, String name)
RoleProvidername to the given client.
The internal ID of the role will be created automatically.addClientRole in interface RoleProviderclient - Client owning this role.name - String name of the role.public RoleModel addClientRole(ClientModel client, String id, String name)
RoleProvidername to the given client.addClientRole in interface RoleProviderclient - Client owning this role.id - Internal ID of the client role or null if one is to be created by the underlying store.name - String name of the role.public Stream<RoleModel> getRealmRolesStream(RealmModel realm)
RoleProvidergetRealmRolesStream(realm, null, null).getRealmRolesStream in interface RoleProviderrealm - Realm.null.public RoleModel getClientRole(ClientModel client, String name)
RoleLookupProvidergetClientRole in interface RoleLookupProviderclient - Client.name - String name of the role.null if no role is found.public Map<ClientModel,Set<String>> getAllRedirectUrisOfEnabledClients(RealmModel realm)
ClientProvidergetAllRedirectUrisOfEnabledClients in interface ClientProviderpublic Stream<RoleModel> getRealmRolesStream(RealmModel realm, Integer first, Integer max)
RoleProvidergetRealmRolesStream in interface RoleProviderrealm - Realm.first - First result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.null.public Stream<RoleModel> getClientRolesStream(ClientModel client, Integer first, Integer max)
RoleProvidergetClientRolesStream in interface RoleProviderclient - Client.first - First result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.null.protected Stream<RoleModel> getRolesStream(javax.persistence.TypedQuery<RoleEntity> query, RealmModel realm, Integer first, Integer max)
public Stream<RoleModel> searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max)
RoleLookupProvidersearchForClientRolesStream in interface RoleLookupProviderclient - Client.search - String to search by role's name or description.first - First result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.null.public Stream<RoleModel> searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)
RoleLookupProvidersearchForRolesStream in interface RoleLookupProviderrealm - Realm.search - Searched substring of the role's name or description.first - First result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.null.protected Stream<RoleModel> searchForRoles(javax.persistence.TypedQuery<RoleEntity> query, RealmModel realm, String search, Integer first, Integer max)
public boolean removeRole(RoleModel role)
RoleProviderremoveRole in interface RoleProviderrole - Role to be removed.true if the role existed and has been removed, false otherwise.public RoleContainerModel.RoleRemovedEvent roleRemovedEvent(RoleModel role)
public void removeRoles(RealmModel realm)
RoleProviderremoveRoles in interface RoleProviderrealm - Realm.public void removeRoles(ClientModel client)
RoleProviderremoveRoles in interface RoleProviderclient - Client.public RoleModel getRoleById(RealmModel realm, String id)
RoleLookupProvidergetRoleById in interface RoleLookupProviderrealm - Realm.id - Internal ID of the role.public GroupModel getGroupById(RealmModel realm, String id)
GroupLookupProvidergetGroupById in interface RealmProvidergetGroupById in interface GroupLookupProviderrealm - Realm.id - Id.public void moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)
GroupProvidermoveGroup in interface GroupProvidermoveGroup in interface RealmProviderrealm - Realm owning this group.group - Group to update.toParent - New parent group, or null if we are moving the group to top level group.public Stream<GroupModel> getGroupsStream(RealmModel realm)
GroupProvidergetGroupsStream in interface GroupProviderrealm - Realm.public Stream<GroupModel> getGroupsStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)
GroupProvidergetGroupsStream in interface GroupProviderrealm - Realm.ids - Stream of ids.search - Case insensitive string which will be searched for. Ignored if null.first - Index of the first result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.null.public Stream<GroupModel> getGroupsStream(RealmModel realm, Stream<String> ids, Integer first, Integer max)
GroupProvidergetGroupsStream(realm, ids, null, first, max).getGroupsStream in interface GroupProviderrealm - Realm.ids - Stream of ids.first - Index of the first result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.public Stream<GroupModel> getGroupsStream(RealmModel realm, Stream<String> ids)
GroupProvidergetGroupsStream(realm, ids, null, null, null).getGroupsStream in interface GroupProviderrealm - Realm.ids - Stream of ids.public Long getGroupsCount(RealmModel realm, Stream<String> ids, String search)
GroupProvidergetGroupsCount in interface GroupProviderrealm - Realm.ids - List of ids.search - Case insensitive string which will be searched for. Ignored if null.public Long getGroupsCount(RealmModel realm, Boolean onlyTopGroups)
GroupProvidergetGroupsCount in interface GroupProvidergetGroupsCount in interface RealmProviderrealm - Realm.onlyTopGroups - When true the function returns a count of top level groups only.public long getClientsCount(RealmModel realm)
ClientProvidergetClientsCount in interface ClientProvidergetClientsCount in interface RealmProviderrealm - Realm.public Long getGroupsCountByNameContaining(RealmModel realm, String search)
GroupProvidergetGroupsCountByNameContaining in interface GroupProvidergetGroupsCountByNameContaining in interface RealmProviderrealm - Realm.search - Case insensitive string which will be searched for.public Stream<GroupModel> getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
GroupProvidergetGroupsByRoleStream in interface GroupProviderrealm - Realm.role - Role.firstResult - First result to return. Ignored if negative or null.maxResults - Maximum number of results to return. Ignored if negative or null.null.public Stream<GroupModel> getTopLevelGroupsStream(RealmModel realm)
GroupProvidergetTopLevelGroupsStream in interface GroupProviderrealm - Realm.null.public Stream<GroupModel> getTopLevelGroupsStream(RealmModel realm, Integer first, Integer max)
GroupProvidergetTopLevelGroupsStream in interface GroupProviderrealm - Realm.first - First result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.null.public boolean removeGroup(RealmModel realm, GroupModel group)
GroupProviderremoveGroup in interface GroupProviderremoveGroup in interface RealmProviderrealm - Realm.group - Group.public GroupModel createGroup(RealmModel realm, String id, String name, GroupModel toParent)
GroupProvidercreateGroup in interface GroupProvidercreateGroup in interface RealmProviderrealm - Realm.id - Id, will be generated if null.name - Name.toParent - Parent group, or null if the group is top level grouppublic void addTopLevelGroup(RealmModel realm, GroupModel subGroup)
GroupProvideraddTopLevelGroup in interface GroupProvideraddTopLevelGroup in interface RealmProviderrealm - Realm.subGroup - Group.public void preRemove(RealmModel realm, RoleModel role)
public ClientModel addClient(RealmModel realm, String clientId)
ClientProviderclientId to the given realm.
The internal ID of the client will be created automatically.addClient in interface ClientProvideraddClient in interface RealmProviderrealm - Realm owning this client.clientId - String that identifies the client to the external parties.
Maps to client_id in OIDC or entityID in SAML.public ClientModel addClient(RealmModel realm, String id, String clientId)
ClientProviderclientId to the given realm.addClient in interface ClientProvideraddClient in interface RealmProviderrealm - Realm owning this client.id - Internal ID of the client or null if one is to be created by the underlying storeclientId - String that identifies the client to the external parties.
Maps to client_id in OIDC or entityID in SAML.public Stream<ClientModel> getClientsStream(RealmModel realm)
ClientProvidergetClientsStream(realm, null, null).getClientsStream in interface ClientProviderrealm - Realm.null.public Stream<ClientModel> getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)
ClientProvidergetClientsStream in interface ClientProviderrealm - Realm.firstResult - First result to return. Ignored if negative or null.maxResults - Maximum number of results to return. Ignored if negative or null.null.public Stream<ClientModel> getAlwaysDisplayInConsoleClientsStream(RealmModel realm)
ClientProvidergetAlwaysDisplayInConsoleClientsStream in interface ClientProviderrealm - Realm owning the clients.null.public ClientModel getClientById(RealmModel realm, String id)
ClientLookupProvidergetClientById in interface ClientLookupProviderrealm - Realm to limit the search.id - Internal IDnull if no client is found.public ClientModel getClientByClientId(RealmModel realm, String clientId)
ClientLookupProvidergetClientByClientId in interface ClientLookupProviderrealm - Realm to limit the search for clients.clientId - String that identifies the client to the external parties.
Maps to client_id in OIDC or entityID in SAML.null if no client is found.public Stream<ClientModel> searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)
ClientLookupProvidersearchClientsByClientIdStream in interface ClientLookupProviderrealm - Realm to limit the search for clients.clientId - Searched substring of the public client
identifier (client_id in OIDC or entityID in SAML.)firstResult - First result to return. Ignored if negative or null.maxResults - Maximum number of results to return. Ignored if negative or null.null.public Stream<ClientModel> searchClientsByAttributes(RealmModel realm, Map<String,String> attributes, Integer firstResult, Integer maxResults)
searchClientsByAttributes in interface ClientLookupProviderpublic void removeClients(RealmModel realm)
ClientProviderremoveClients in interface ClientProviderrealm - Realm.public boolean removeClient(RealmModel realm, String id)
ClientProviderremoveClient in interface ClientProviderrealm - Realm.id - Internal ID of the clienttrue if the client existed and has been removed, false otherwise.public ClientScopeModel getClientScopeById(RealmModel realm, String id)
ClientScopeLookupProvidergetClientScopeById in interface RealmProvidergetClientScopeById in interface ClientScopeLookupProviderrealm - Realm.id - Internal ID of the role.public Stream<ClientScopeModel> getClientScopesStream(RealmModel realm)
ClientScopeProvidergetClientScopesStream in interface ClientScopeProviderrealm - Realm.null.public ClientScopeModel addClientScope(RealmModel realm, String id, String name)
ClientScopeProvidername to the given realm.
Spaces in name will be replaced by underscore so that scope name
can be used as value of scope parameter.addClientScope in interface ClientScopeProviderrealm - Realm owning this client scope.id - Internal ID of the client scope or null if one is to be created by the underlying storename - String name of the client scope.public boolean removeClientScope(RealmModel realm, String id)
ClientScopeProviderremoveClientScope in interface ClientScopeProviderrealm - Realm.id - Internal ID of the client scopetrue if the client scope existed and has been removed, false otherwise.public void removeClientScopes(RealmModel realm)
ClientScopeProviderremoveClientScopes in interface ClientScopeProviderrealm - Realm.public void addClientScopes(RealmModel realm, ClientModel client, Set<ClientScopeModel> clientScopes, boolean defaultScope)
ClientProvideraddClientScopes in interface ClientProviderrealm - Realm.client - Client.clientScopes - to be assigneddefaultScope - if true the scopes are assigned as default, or optional in case of falsepublic void removeClientScope(RealmModel realm, ClientModel client, ClientScopeModel clientScope)
ClientProviderremoveClientScope in interface ClientProviderrealm - Realm.client - Client.clientScope - to be unassignedpublic Map<String,ClientScopeModel> getClientScopes(RealmModel realm, ClientModel client, boolean defaultScope)
ClientLookupProviderdefaultScope is true) or all optional scopes (if defaultScope is false) linked with the clientgetClientScopes in interface ClientLookupProviderrealm - Realmclient - ClientdefaultScope - if true default scopes, if false optional scopes, are returnedpublic Stream<GroupModel> searchForGroupByNameStream(RealmModel realm, String search, Integer first, Integer max)
GroupLookupProvidersearchForGroupByNameStream in interface GroupLookupProviderrealm - Realm.search - Case sensitive searched string.first - First result to return. Ignored if negative or null.max - Maximum number of results to return. Ignored if negative or null.null.public void removeExpiredClientInitialAccess()
RealmProviderremoveExpiredClientInitialAccess in interface RealmProviderpublic boolean updateLocalizationText(RealmModel realm, String locale, String key, String text)
updateLocalizationText in interface RealmProviderpublic void saveLocalizationText(RealmModel realm, String locale, String key, String text)
saveLocalizationText in interface RealmProviderpublic void saveLocalizationTexts(RealmModel realm, String locale, Map<String,String> localizationTexts)
saveLocalizationTexts in interface RealmProviderpublic boolean deleteLocalizationTextsByLocale(RealmModel realm, String locale)
deleteLocalizationTextsByLocale in interface RealmProviderpublic String getLocalizationTextsById(RealmModel realm, String locale, String key)
getLocalizationTextsById in interface RealmProviderpublic boolean deleteLocalizationText(RealmModel realm, String locale, String key)
deleteLocalizationText in interface RealmProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.