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, getAuthenticationProviders, getDefaultRoles, getEmailTheme, getFailureFactor, getLdapServerConfig, getLoginTheme, getMaxDeltaTimeSeconds, getMaxFailureWaitSeconds, getMinimumQuickLoginWaitSeconds, getName, getNotBefore, getPasswordPolicy, getPrivateKeyPem, getPublicKeyPem, getQuickLoginCheckMilliSeconds, getRequiredCredentials, getSmtpConfig, getSocialConfig, getSsoSessionIdleTimeout, getSsoSessionMaxLifespan, getWaitIncrementSeconds, isAuditEnabled, isBruteForceProtected, isEnabled, isPasswordCredentialGrantAllowed, isRegistrationAllowed, isRememberMe, isResetPasswordAllowed, isSocial, isSslNotRequired, isUpdateProfileOnInitialSocialLogin, isVerifyEmail, setAccessCodeLifespan, setAccessCodeLifespanUserAction, setAccessTokenLifespan, setAccountTheme, setAdminAppId, setAdminTheme, setAuditEnabled, setAuditExpiration, setAuditListeners, setAuthenticationProviders, setBruteForceProtected, setDefaultRoles, setEmailTheme, setEnabled, setFailureFactor, setLdapServerConfig, setLoginTheme, setMaxDeltaTimeSeconds, setMaxFailureWaitSeconds, setMinimumQuickLoginWaitSeconds, setName, setNotBefore, setPasswordCredentialGrantAllowed, setPasswordPolicy, setPrivateKeyPem, setPublicKeyPem, setQuickLoginCheckMilliSeconds, setRegistrationAllowed, setRememberMe, setRequiredCredentials, setResetPasswordAllowed, setSmtpConfig, setSocial, setSocialConfig, setSslNotRequired, setSsoSessionIdleTimeout, setSsoSessionMaxLifespan, setUpdateProfileOnInitialSocialLogin, 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.models.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.