## Uses of Interface
org.keycloak.models.ApplicationModel

- Packages that use ApplicationModel
  Package | Description
  --- | ---
  org.keycloak.exportimport.util |
  org.keycloak.models |
  org.keycloak.models.cache |
  org.keycloak.models.cache.entities |
  org.keycloak.models.jpa |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.models.utils |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.resources.admin |
  org.keycloak.test.tools.jobs |

- - ### Uses of ApplicationModel in org.keycloak.exportimport.util

    Methods in org.keycloak.exportimport.util with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static ApplicationRepresentation` | ExportUtils.`exportApplication(ApplicationModel app)` Full export of application including claims and secret

  - ### Uses of ApplicationModel in org.keycloak.models

    Methods in org.keycloak.models that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmModel.`addApplication(String name)`
    `ApplicationModel` | RealmModel.`addApplication(String id, String name)`
    `ApplicationModel` | RealmModel.`getApplicationById(String id)`
    `ApplicationModel` | RealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmModel.`getApplicationByName(String name)`
    `ApplicationModel` | RealmModel.`getMasterAdminApp()`

    Methods in org.keycloak.models that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmModel.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmModel.`getApplications()`

    Methods in org.keycloak.models with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserModel.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmModel.`setMasterAdminApp(ApplicationModel app)`

  - ### Uses of ApplicationModel in org.keycloak.models.cache

    Classes in org.keycloak.models.cache that implement ApplicationModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ApplicationAdapter`

    Fields in org.keycloak.models.cache declared as ApplicationModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ApplicationModel` | ApplicationAdapter.`updated`

    Fields in org.keycloak.models.cache with type parameters of type ApplicationModel
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<String,ApplicationModel>` | DefaultCacheRealmProvider.`managedApplications`

    Methods in org.keycloak.models.cache that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmAdapter.`addApplication(String name)`
    `ApplicationModel` | RealmAdapter.`addApplication(String id, String name)`
    `ApplicationModel` | RealmAdapter.`getApplicationById(String id)`
    `ApplicationModel` | NoCacheRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | DefaultCacheRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmAdapter.`getApplicationByName(String name)`
    `ApplicationModel` | RealmAdapter.`getMasterAdminApp()`

    Methods in org.keycloak.models.cache that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmAdapter.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmAdapter.`getApplications()`

    Methods in org.keycloak.models.cache with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserAdapter.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmAdapter.`setMasterAdminApp(ApplicationModel app)`

  - ### Uses of ApplicationModel in org.keycloak.models.cache.entities

    Constructors in org.keycloak.models.cache.entities with parameters of type ApplicationModel
    Constructor and Description
    `CachedApplication(RealmCache cache, RealmProvider delegate, RealmModel realm, ApplicationModel model)`

  - ### Uses of ApplicationModel in org.keycloak.models.jpa

    Methods in org.keycloak.models.jpa that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmAdapter.`addApplication(String name)`
    `ApplicationModel` | RealmAdapter.`addApplication(String id, String name)`
    `ApplicationModel` | RealmAdapter.`getApplicationById(String id)`
    `ApplicationModel` | JpaRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmAdapter.`getApplicationByName(String name)`
    `ApplicationModel` | RealmAdapter.`getMasterAdminApp()`

    Methods in org.keycloak.models.jpa that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmAdapter.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmAdapter.`getApplications()`

    Methods in org.keycloak.models.jpa with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserAdapter.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmAdapter.`setMasterAdminApp(ApplicationModel app)`

  - ### Uses of ApplicationModel in org.keycloak.models.mongo.keycloak.adapters

    Methods in org.keycloak.models.mongo.keycloak.adapters that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmAdapter.`addApplication(String name)`
    `ApplicationModel` | RealmAdapter.`addApplication(String id, String name)`
    `ApplicationModel` | RealmAdapter.`getApplicationById(String id)`
    `ApplicationModel` | MongoRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmAdapter.`getApplicationByName(String name)`
    `ApplicationModel` | RealmAdapter.`getMasterAdminApp()`

    Methods in org.keycloak.models.mongo.keycloak.adapters that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmAdapter.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmAdapter.`getApplications()`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserAdapter.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmAdapter.`setMasterAdminApp(ApplicationModel app)`

  - ### Uses of ApplicationModel in org.keycloak.models.utils

    Methods in org.keycloak.models.utils that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static ApplicationModel` | RepresentationToModel.`createApplication(RealmModel realm, ApplicationRepresentation resourceRep, boolean addDefaultRoles)` Does not create scope or role mappings!
    `static ApplicationModel` | KeycloakModelUtils.`createApplication(RealmModel realm, String name)`

    Methods in org.keycloak.models.utils with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RepresentationToModel.`createApplicationRoleMappings(ApplicationModel applicationModel, UserModel user, List<String> roleNames)`
    `static void` | RepresentationToModel.`createApplicationScopeMappings(RealmModel realm, ApplicationModel applicationModel, List<ScopeMappingRepresentation> mappings)`
    `Set<RoleModel>` | UserModelDelegate.`getApplicationRoleMappings(ApplicationModel app)`
    `static ApplicationRepresentation` | ModelToRepresentation.`toRepresentation(ApplicationModel applicationModel)`
    `static void` | RepresentationToModel.`updateApplication(ApplicationRepresentation rep, ApplicationModel resource)`

    Method parameters in org.keycloak.models.utils with type arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static UserModel` | RepresentationToModel.`createUser(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep, Map<String,ApplicationModel> appMap)`

  - ### Uses of ApplicationModel in org.keycloak.services.managers

    Methods in org.keycloak.services.managers that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | ApplicationManager.`createApplication(RealmModel realm, String name)`

    Methods in org.keycloak.services.managers with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | ResourceAdminManager.`getManagementUrl(URI requestUri, ApplicationModel application)`
    `SessionStats` | ResourceAdminManager.`getSessionStats(URI requestUri, KeycloakSession session, RealmModel realm, ApplicationModel application, boolean users)`
    `SessionStats` | ResourceAdminManager.`getSessionStats(URI requestUri, KeycloakSession session, RealmModel realm, ApplicationModel application, boolean users, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client)`
    `UserStats` | ResourceAdminManager.`getUserStats(URI requestUri, RealmModel realm, ApplicationModel application, UserModel user)`
    `UserStats` | ResourceAdminManager.`getUserStats(URI requestUri, RealmModel realm, ApplicationModel application, UserModel user, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client)`
    `boolean` | Auth.`hasAppRole(ApplicationModel app, String role)`
    `boolean` | Auth.`hasOneOfAppRole(ApplicationModel app, String... roles)`
    `void` | ResourceAdminManager.`logoutApplication(URI requestUri, RealmModel realm, ApplicationModel resource, String user, String session)`
    `protected boolean` | ResourceAdminManager.`logoutApplication(URI requestUri, RealmModel realm, ApplicationModel resource, String user, String session, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client, int notBefore)`
    `void` | ResourceAdminManager.`pushApplicationRevocationPolicy(URI requestUri, RealmModel realm, ApplicationModel application)`
    `protected boolean` | ResourceAdminManager.`pushRevocationPolicy(URI requestUri, RealmModel realm, ApplicationModel resource, int notBefore, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client)`
    `boolean` | ApplicationManager.`removeApplication(RealmModel realm, ApplicationModel application)`
    `ApplicationManager.InstallationAdapterConfig` | ApplicationManager.`toInstallationRepresentation(RealmModel realmModel, ApplicationModel applicationModel, URI baseUri)`
    `String` | ApplicationManager.`toJBossSubsystemConfig(RealmModel realmModel, ApplicationModel applicationModel, URI baseUri)`

  - ### Uses of ApplicationModel in org.keycloak.services.resources

    Constructors in org.keycloak.services.resources with parameters of type ApplicationModel
    Constructor and Description
    `AccountService(RealmModel realm, ApplicationModel application, EventBuilder event)`

  - ### Uses of ApplicationModel in org.keycloak.services.resources.admin

    Fields in org.keycloak.services.resources.admin declared as ApplicationModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ApplicationModel` | ApplicationResource.`application`

    Methods in org.keycloak.services.resources.admin with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | RealmsAdminResource.`addRealmRep(List<RealmRepresentation> reps, RealmModel realm, ApplicationModel realmManagementApplication)`
    `boolean` | AdminAuth.`hasAppRole(ApplicationModel app, String role)`
    `boolean` | AdminAuth.`hasOneOfAppRole(ApplicationModel app, String... roles)`

    Constructors in org.keycloak.services.resources.admin with parameters of type ApplicationModel
    Constructor and Description
    `ApplicationResource(RealmModel realm, RealmAuth auth, ApplicationModel applicationModel, KeycloakSession session)`
    `RealmAuth(AdminAuth auth, ApplicationModel realmAdminApp)`

  - ### Uses of ApplicationModel in org.keycloak.test.tools.jobs

    Method parameters in org.keycloak.test.tools.jobs with type arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | CreateUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected void` | DeleteUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected void` | UpdateUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected abstract void` | UsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`

Copyright © 2014. All Rights Reserved.