org.keycloak.models.mongo.api

## Interface MongoIdentifiableEntity

- All Superinterfaces:
    MongoEntity
  All Known Implementing Classes:
    MongoApplicationEntity, MongoOAuthClientEntity, MongoRealmEntity, MongoRoleEntity, MongoUserEntity, MongoUsernameLoginFailureEntity, MongoUserSessionEntity

      public interface MongoIdentifiableEntity
      extends MongoEntity

  Entity with Id
  Author:
    Marek Posolda

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `afterRemove(MongoStoreInvocationContext invocationContext)` Lifecycle callback, which is called after removal of this object from Mongo.
    `String` | `getId()`
    `void` | `setId(String id)`

- - ### Method Detail

    - #### getId

          String getId()

    - #### setId

          void setId(String id)

    - #### afterRemove

          void afterRemove(MongoStoreInvocationContext invocationContext)

      Lifecycle callback, which is called after removal of this object from Mongo. It may be useful for triggering removal of wired objects.

Copyright © 2014. All Rights Reserved.