Modifier and Type | Method and Description |
---|---|
MongoStoreInvocationContext |
MongoConnectionProvider.getInvocationContext() |
MongoStoreInvocationContext |
DefaultMongoConnectionProvider.getInvocationContext() |
Constructor and Description |
---|
DefaultMongoConnectionProvider(com.mongodb.DB db,
MongoStore mongoStore,
MongoStoreInvocationContext invocationContext) |
MongoKeycloakTransaction(MongoStoreInvocationContext invocationContext) |
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> |
MongoStore.countEntities(Class<T> type,
com.mongodb.DBObject query,
MongoStoreInvocationContext context) |
void |
MongoStore.insertEntity(MongoIdentifiableEntity entity,
MongoStoreInvocationContext context)
Insert new entity
|
<T extends MongoIdentifiableEntity> |
MongoStore.loadEntities(Class<T> type,
com.mongodb.DBObject query,
com.mongodb.DBObject sort,
int firstResult,
int maxResults,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
MongoStore.loadEntities(Class<T> type,
com.mongodb.DBObject query,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
MongoStore.loadEntity(Class<T> type,
String id,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
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
|
Modifier and Type | Method and Description |
---|---|
protected <T extends MongoIdentifiableEntity> |
MongoStoreImpl.convertCursor(Class<T> type,
com.mongodb.DBCursor cursor,
MongoStoreInvocationContext context) |
protected <T extends MongoIdentifiableEntity> |
MongoStoreImpl.convertDBObjectToEntity(Class<T> type,
com.mongodb.DBObject dbObject,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
MongoStoreImpl.countEntities(Class<T> type,
com.mongodb.DBObject query,
MongoStoreInvocationContext context) |
void |
MongoStoreImpl.insertEntity(MongoIdentifiableEntity entity,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
MongoStoreImpl.loadEntities(Class<T> type,
com.mongodb.DBObject query,
com.mongodb.DBObject sort,
int firstResult,
int maxResults,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
MongoStoreImpl.loadEntities(Class<T> type,
com.mongodb.DBObject query,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
MongoStoreImpl.loadEntity(Class<T> type,
String id,
MongoStoreInvocationContext context) |
<T extends MongoIdentifiableEntity> |
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) |
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.
|
Modifier and Type | Field and Description |
---|---|
protected MongoStoreInvocationContext |
AbstractMongoAdapter.invocationContext |
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) |
Modifier and Type | Method and Description |
---|---|
static List<MongoRoleEntity> |
MongoModelUtils.getAllRolesOfUser(UserModel user,
MongoStoreInvocationContext invContext) |
static List<MongoRoleEntity> |
MongoModelUtils.getAllScopesOfClient(ClientModel client,
MongoStoreInvocationContext invContext) |
Modifier and Type | Field and Description |
---|---|
protected MongoStoreInvocationContext |
AbstractMongoAdapter.invocationContext |
Constructor and Description |
---|
AbstractMongoAdapter(MongoStoreInvocationContext invocationContext) |
ClientSessionAdapter(KeycloakSession session,
MongoUserSessionProvider provider,
RealmModel realm,
MongoClientSessionEntity entity,
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) |
Modifier and Type | Method and Description |
---|---|
void |
MongoUserSessionEntity.afterRemove(MongoStoreInvocationContext context) |
void |
MongoClientSessionEntity.afterRemove(MongoStoreInvocationContext context) |
void |
MongoUsernameLoginFailureEntity.afterRemove(MongoStoreInvocationContext invocationContext) |
Copyright © 2015. All rights reserved.