org.keycloak.models.cache.infinispan.entities

## Class AbstractRevisioned

- java.lang.Object
- - org.keycloak.models.cache.infinispan.entities.AbstractRevisioned

- All Implemented Interfaces:
    Serializable, Revisioned
  Direct Known Subclasses:
    CachedClient, CachedClientTemplate, CachedFederatedIdentityLinks, CachedGroup, CachedRealm, CachedRole, CachedUser, CachedUserConsents, ClientListQuery, GroupListQuery, RealmListQuery, RoleListQuery, UserListQuery

      public class AbstractRevisioned
      extends Object
      implements Revisioned, Serializable

  Version:
    $Revision: 1 $
  Author:
    Bill Burke
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractRevisioned(Long revision, String id)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()`
    `Long` | `getRevision()`
    `void` | `setRevision(Long revision)`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractRevisioned

          public AbstractRevisioned(Long revision,
                                    String id)

  - ### Method Detail

    - #### getId

          public String getId()

      Specified by:
        `getId` in interface `Revisioned`

    - #### getRevision

          public Long getRevision()

      Specified by:
        `getRevision` in interface `Revisioned`

    - #### setRevision

          public void setRevision(Long revision)

      Specified by:
        `setRevision` in interface `Revisioned`

Copyright © 2016 JBoss by Red Hat. All rights reserved.