Class SessionEntityWrapper<S extends SessionEntity>

java.lang.Object
org.keycloak.models.sessions.infinispan.changes.SessionEntityWrapper<S>

@SerializeWith(ExternalizerImpl.class) public class SessionEntityWrapper<S extends SessionEntity> extends Object
Author:
Marek Posolda
  • Constructor Details

    • SessionEntityWrapper

      protected SessionEntityWrapper(UUID version, Map<String,String> localMetadata, S entity)
    • SessionEntityWrapper

      public SessionEntityWrapper(Map<String,String> localMetadata, S entity)
    • SessionEntityWrapper

      public SessionEntityWrapper(S entity)
  • Method Details

    • forTransport

      public static <S extends SessionEntity> SessionEntityWrapper<S> forTransport(S entity)
    • forTransport

      public SessionEntityWrapper<S> forTransport()
    • getVersion

      public UUID getVersion()
    • setVersion

      public void setVersion(UUID version)
    • getEntity

      public S getEntity()
    • getClientIfNeeded

      public ClientModel getClientIfNeeded(RealmModel realm)
    • getLocalMetadataNote

      public String getLocalMetadataNote(String key)
    • putLocalMetadataNote

      public void putLocalMetadataNote(String key, String value)
    • getLocalMetadataNoteInt

      public Integer getLocalMetadataNoteInt(String key)
    • putLocalMetadataNoteInt

      public void putLocalMetadataNoteInt(String key, int value)
    • getLocalMetadata

      public Map<String,String> getLocalMetadata()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object