## Uses of Interface
org.keycloak.models.mongo.api.context.MongoStoreInvocationContext

- Packages that use MongoStoreInvocationContext
  Package | Description
  --- | ---
  org.keycloak.models.mongo.api |
  org.keycloak.models.mongo.impl |
  org.keycloak.models.mongo.impl.context |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.models.mongo.keycloak.entities |
  org.keycloak.models.mongo.utils |

- - ### Uses of MongoStoreInvocationContext in org.keycloak.models.mongo.api

    Methods in org.keycloak.models.mongo.api with parameters of type MongoStoreInvocationContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | MongoIdentifiableEntity.`afterRemove(MongoStoreInvocationContext invocationContext)` Lifecycle callback, which is called after removal of this object from Mongo.
    `void` | MongoStore.`insertEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)` Insert new entity
    `<T extends MongoIdentifiableEntity> List<T>` | MongoStore.`loadEntities(Class<T> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `<T extends MongoIdentifiableEntity> T` | MongoStore.`loadEntity(Class<T> type, String id, MongoStoreInvocationContext context)`
    `<T extends MongoIdentifiableEntity> T` | MongoStore.`loadSingleEntity(Class<T> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `<S> boolean` | MongoStore.`pullItemFromList(MongoIdentifiableEntity entity, String listPropertyName, S itemToPull, MongoStoreInvocationContext context)`
    `<S> boolean` | MongoStore.`pushItemToList(MongoIdentifiableEntity entity, String listPropertyName, S itemToPush, boolean skipIfAlreadyPresent, MongoStoreInvocationContext context)`
    `boolean` | MongoStore.`removeEntities(Class<? extends MongoIdentifiableEntity> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `boolean` | MongoStore.`removeEntity(Class<? extends MongoIdentifiableEntity> type, String id, MongoStoreInvocationContext context)`
    `boolean` | MongoStore.`removeEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)`
    `void` | MongoStore.`updateEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)` Update existing entity

  - ### Uses of MongoStoreInvocationContext in org.keycloak.models.mongo.impl

    Methods in org.keycloak.models.mongo.impl with parameters of type MongoStoreInvocationContext
    Modifier and Type | Method and Description
    --- | ---
    `protected <T extends MongoIdentifiableEntity> List<T>` | MongoStoreImpl.`convertCursor(Class<T> type, com.mongodb.DBCursor cursor, MongoStoreInvocationContext context)`
    `protected <T extends MongoIdentifiableEntity> T` | MongoStoreImpl.`convertDBObjectToEntity(Class<T> type, com.mongodb.DBObject dbObject, MongoStoreInvocationContext context)`
    `void` | MongoStoreImpl.`insertEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)`
    `<T extends MongoIdentifiableEntity> List<T>` | MongoStoreImpl.`loadEntities(Class<T> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `<T extends MongoIdentifiableEntity> T` | MongoStoreImpl.`loadEntity(Class<T> type, String id, MongoStoreInvocationContext context)`
    `<T extends MongoIdentifiableEntity> T` | MongoStoreImpl.`loadSingleEntity(Class<T> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `<S> boolean` | MongoStoreImpl.`pullItemFromList(MongoIdentifiableEntity entity, String listPropertyName, S itemToPull, MongoStoreInvocationContext context)`
    `<S> boolean` | MongoStoreImpl.`pushItemToList(MongoIdentifiableEntity entity, String listPropertyName, S itemToPush, boolean skipIfAlreadyPresent, MongoStoreInvocationContext context)`
    `boolean` | MongoStoreImpl.`removeEntities(Class<? extends MongoIdentifiableEntity> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `boolean` | MongoStoreImpl.`removeEntity(Class<? extends MongoIdentifiableEntity> type, String id, MongoStoreInvocationContext context)`
    `boolean` | MongoStoreImpl.`removeEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)`
    `void` | MongoStoreImpl.`updateEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)`

  - ### Uses of MongoStoreInvocationContext in org.keycloak.models.mongo.impl.context

    Classes in org.keycloak.models.mongo.impl.context that implement MongoStoreInvocationContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SimpleMongoStoreInvocationContext` Context, which is not doing any postponing of tasks and does not cache anything
    `class` | `TransactionMongoStoreInvocationContext` Invocation context, which has some very basic support for transactions, and is able to cache loaded objects.

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

    Fields in org.keycloak.models.mongo.keycloak.adapters declared as MongoStoreInvocationContext
    Modifier and Type | Field and Description
    --- | ---
    `protected MongoStoreInvocationContext` | AbstractMongoAdapter.`invocationContext`

    Constructors in org.keycloak.models.mongo.keycloak.adapters with parameters of type MongoStoreInvocationContext
    Constructor and Description
    `AbstractMongoAdapter(MongoStoreInvocationContext invocationContext)`
    `ApplicationAdapter(RealmAdapter realm, MongoApplicationEntity applicationEntity, MongoStoreInvocationContext invContext)`
    `ClientAdapter(RealmAdapter realm, T clientEntity, MongoStoreInvocationContext invContext)`
    `MongoKeycloakTransaction(MongoStoreInvocationContext invocationContext)`
    `OAuthClientAdapter(RealmAdapter realm, MongoOAuthClientEntity oauthClientEntity, MongoStoreInvocationContext invContext)`
    `RealmAdapter(MongoRealmEntity realmEntity, MongoStoreInvocationContext invocationContext)`
    `RoleAdapter(RealmAdapter realm, MongoRoleEntity roleEntity, MongoStoreInvocationContext invContext)`
    `RoleAdapter(RealmAdapter realm, MongoRoleEntity roleEntity, RoleContainerModel roleContainer, MongoStoreInvocationContext invContext)`
    `UserAdapter(MongoUserEntity userEntity, MongoStoreInvocationContext invContext)`
    `UsernameLoginFailureAdapter(MongoStoreInvocationContext invocationContext, MongoUsernameLoginFailureEntity user)`
    `UserSessionAdapter(MongoUserSessionEntity entity, RealmAdapter realm, MongoStoreInvocationContext invContext)`

  - ### Uses of MongoStoreInvocationContext in org.keycloak.models.mongo.keycloak.entities

    Methods in org.keycloak.models.mongo.keycloak.entities with parameters of type MongoStoreInvocationContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | MongoUserSessionEntity.`afterRemove(MongoStoreInvocationContext context)`
    `void` | MongoUsernameLoginFailureEntity.`afterRemove(MongoStoreInvocationContext invocationContext)`
    `void` | MongoUserEntity.`afterRemove(MongoStoreInvocationContext invocationContext)`
    `void` | MongoRoleEntity.`afterRemove(MongoStoreInvocationContext invContext)`
    `void` | MongoRealmEntity.`afterRemove(MongoStoreInvocationContext context)`
    `void` | MongoOAuthClientEntity.`afterRemove(MongoStoreInvocationContext context)`
    `void` | MongoApplicationEntity.`afterRemove(MongoStoreInvocationContext context)`

  - ### Uses of MongoStoreInvocationContext in org.keycloak.models.mongo.utils

    Methods in org.keycloak.models.mongo.utils with parameters of type MongoStoreInvocationContext
    Modifier and Type | Method and Description
    --- | ---
    `static List<MongoRoleEntity>` | MongoModelUtils.`getAllRolesOfUser(UserModel user, MongoStoreInvocationContext invContext)`
    `static List<MongoRoleEntity>` | MongoModelUtils.`getAllScopesOfClient(ClientModel client, MongoStoreInvocationContext invContext)`

Copyright © 2014. All Rights Reserved.