org.keycloak.models.mongo.keycloak.entities

## Class MongoRealmEntity

- java.lang.Object
- - org.keycloak.models.entities.AbstractIdentifiableEntity
  - - org.keycloak.models.entities.RealmEntity
    - - org.keycloak.models.mongo.keycloak.entities.MongoRealmEntity

- All Implemented Interfaces:
    MongoEntity, MongoIdentifiableEntity

      @MongoCollection(collectionName="realms")
      @MongoIndex(fields="name",
                  unique=true)
      public class MongoRealmEntity
      extends RealmEntity
      implements MongoIdentifiableEntity

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MongoRealmEntity()`

  - ### Method Summary

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

    - ### Methods inherited from class org.keycloak.models.entities.RealmEntity

      `getAccessCodeLifespan, getAccessCodeLifespanUserAction, getAccessTokenLifespan, getAccountTheme, getAdminAppId, getAdminTheme, getAuditExpiration, getAuditListeners, getBrowserSecurityHeaders, getDefaultRoles, getEmailTheme, getFailureFactor, getLoginTheme, getMaxDeltaTimeSeconds, getMaxFailureWaitSeconds, getMinimumQuickLoginWaitSeconds, getName, getNotBefore, getPasswordPolicy, getPrivateKeyPem, getPublicKeyPem, getQuickLoginCheckMilliSeconds, getRequiredCredentials, getSmtpConfig, getSocialConfig, getSslRequired, getSsoSessionIdleTimeout, getSsoSessionMaxLifespan, getUserFederationProviders, getWaitIncrementSeconds, isAuditEnabled, isBruteForceProtected, isEnabled, isPasswordCredentialGrantAllowed, isRegistrationAllowed, isRememberMe, isResetPasswordAllowed, isSocial, isUpdateProfileOnInitialSocialLogin, isVerifyEmail, setAccessCodeLifespan, setAccessCodeLifespanUserAction, setAccessTokenLifespan, setAccountTheme, setAdminAppId, setAdminTheme, setAuditEnabled, setAuditExpiration, setAuditListeners, setBrowserSecurityHeaders, setBruteForceProtected, setDefaultRoles, setEmailTheme, setEnabled, setFailureFactor, setLoginTheme, setMaxDeltaTimeSeconds, setMaxFailureWaitSeconds, setMinimumQuickLoginWaitSeconds, setName, setNotBefore, setPasswordCredentialGrantAllowed, setPasswordPolicy, setPrivateKeyPem, setPublicKeyPem, setQuickLoginCheckMilliSeconds, setRegistrationAllowed, setRememberMe, setRequiredCredentials, setResetPasswordAllowed, setSmtpConfig, setSocial, setSocialConfig, setSslRequired, setSsoSessionIdleTimeout, setSsoSessionMaxLifespan, setUpdateProfileOnInitialSocialLogin, setUserFederationProviders, setVerifyEmail, setWaitIncrementSeconds`

    - ### Methods inherited from class org.keycloak.models.entities.AbstractIdentifiableEntity

      `equals, getId, hashCode, setId, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.keycloak.connections.mongo.api.MongoIdentifiableEntity

      `getId, setId`

- - ### Constructor Detail

    - #### MongoRealmEntity

          public MongoRealmEntity()

  - ### Method Detail

    - #### afterRemove

          public void afterRemove(MongoStoreInvocationContext context)

      Description copied from interface: `MongoIdentifiableEntity`
      Lifecycle callback, which is called after removal of this object from Mongo. It may be useful for triggering removal of wired objects.
      Specified by:
        `afterRemove` in interface `MongoIdentifiableEntity`

Copyright © 2014. All Rights Reserved.