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

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

- - ### Uses of MongoStoreInvocationContext in org.keycloak.connections.mongo

    Methods in org.keycloak.connections.mongo that return MongoStoreInvocationContext
    Modifier and Type | Method and Description
    --- | ---
    `MongoStoreInvocationContext` | MongoConnectionProvider.`getInvocationContext()`
    `MongoStoreInvocationContext` | DefaultMongoConnectionProvider.`getInvocationContext()`

    Constructors in org.keycloak.connections.mongo with parameters of type MongoStoreInvocationContext
    Constructor and Description
    `DefaultMongoConnectionProvider(com.mongodb.DB db, MongoStore mongoStore, MongoStoreInvocationContext invocationContext)`
    `MongoKeycloakTransaction(MongoStoreInvocationContext invocationContext)`

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

    Methods in org.keycloak.connections.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.
    `<T extends MongoIdentifiableEntity> int` | MongoStore.`countEntities(Class<T> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `void` | MongoStore.`insertEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)` Insert new entity
    `<T extends MongoIdentifiableEntity> List<T>` | MongoStore.`loadEntities(Class<T> type, com.mongodb.DBObject query, com.mongodb.DBObject sort, int firstResult, int maxResults, MongoStoreInvocationContext context)`
    `<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.connections.mongo.impl

    Methods in org.keycloak.connections.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)`
    `<T extends MongoIdentifiableEntity> int` | MongoStoreImpl.`countEntities(Class<T> type, com.mongodb.DBObject query, MongoStoreInvocationContext context)`
    `void` | MongoStoreImpl.`insertEntity(MongoIdentifiableEntity entity, MongoStoreInvocationContext context)`
    `<T extends MongoIdentifiableEntity> List<T>` | MongoStoreImpl.`loadEntities(Class<T> type, com.mongodb.DBObject query, com.mongodb.DBObject sort, int firstResult, int maxResults, 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.connections.mongo.impl.context

    Classes in org.keycloak.connections.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(KeycloakSession session, RealmModel realm, MongoApplicationEntity applicationEntity, MongoStoreInvocationContext invContext)`
    `ClientAdapter(KeycloakSession session, RealmModel realm, T clientEntity, MongoStoreInvocationContext invContext)`
    `MongoRealmProvider(KeycloakSession session, MongoStore mongoStore, MongoStoreInvocationContext invocationContext)`
    `MongoUserProvider(KeycloakSession session, MongoStore mongoStore, MongoStoreInvocationContext invocationContext)`
    `OAuthClientAdapter(KeycloakSession session, RealmModel realm, MongoOAuthClientEntity oauthClientEntity, MongoStoreInvocationContext invContext)`
    `RealmAdapter(KeycloakSession session, MongoRealmEntity realmEntity, MongoStoreInvocationContext invocationContext)`
    `RoleAdapter(KeycloakSession session, RealmModel realm, MongoRoleEntity roleEntity, MongoStoreInvocationContext invContext)`
    `RoleAdapter(KeycloakSession session, RealmModel realm, MongoRoleEntity roleEntity, RoleContainerModel roleContainer, MongoStoreInvocationContext invContext)`
    `UserAdapter(KeycloakSession session, RealmModel realm, MongoUserEntity userEntity, 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` | MongoApplicationEntity.`afterRemove(MongoStoreInvocationContext context)`
    `void` | MongoRoleEntity.`afterRemove(MongoStoreInvocationContext invContext)`
    `void` | MongoRealmEntity.`afterRemove(MongoStoreInvocationContext context)`
    `void` | MongoOAuthClientEntity.`afterRemove(MongoStoreInvocationContext context)`
    `void` | MongoUserEntity.`afterRemove(MongoStoreInvocationContext invocationContext)`

  - ### 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)`

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

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

    Constructors in org.keycloak.models.sessions.mongo with parameters of type MongoStoreInvocationContext
    Constructor and Description
    `AbstractMongoAdapter(MongoStoreInvocationContext invocationContext)`
    `ClientSessionAdapter(KeycloakSession session, MongoUserSessionProvider provider, RealmModel realm, MongoClientSessionEntity entity, MongoUserSessionEntity userSessionEntity, MongoStoreInvocationContext invContext)`
    `MongoUserSessionProvider(KeycloakSession session, MongoStore mongoStore, MongoStoreInvocationContext invocationContext)`
    `UsernameLoginFailureAdapter(MongoStoreInvocationContext invocationContext, MongoUsernameLoginFailureEntity user)`
    `UserSessionAdapter(KeycloakSession keycloakSession, MongoUserSessionProvider provider, MongoUserSessionEntity entity, RealmModel realm, MongoStoreInvocationContext invContext)`

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

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

Copyright © 2015. All Rights Reserved.