Class CachedGroup
java.lang.Object
org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
org.keycloak.models.cache.infinispan.entities.CachedGroup
- All Implemented Interfaces:
org.keycloak.models.cache.CachedObject,InRealm,Revisioned
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
ConstructorsConstructorDescriptionCachedGroup(long revision, org.keycloak.models.RealmModel realm, org.keycloak.models.GroupModel group) -
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(org.keycloak.models.KeycloakSession session, Supplier<org.keycloak.models.GroupModel> group) Use this so the cache invalidation can retrieve any previously cached role mappings to determine if this items should be evicted.getName()getRealm()getRoleMappings(org.keycloak.models.KeycloakSession session, Supplier<org.keycloak.models.GroupModel> group) getSubGroups(org.keycloak.models.KeycloakSession session, Supplier<org.keycloak.models.GroupModel> group) org.keycloak.models.GroupModel.TypegetType()Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
getCacheTimestamp, getId, getRevision, setRevisionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.cache.infinispan.entities.Revisioned
getId, getRevision, setRevision
-
Constructor Details
-
CachedGroup
public CachedGroup(long revision, org.keycloak.models.RealmModel realm, org.keycloak.models.GroupModel group)
-
-
Method Details
-
getRealm
-
getAttributes
-
getRoleMappings
-
getCachedRoleMappings
Use this so the cache invalidation can retrieve any previously cached role mappings to determine if this items should be evicted. Will return an empty list if it hasn't been cached yet (and then no invalidation is necessary) -
getName
-
getCreatedTimestamp
-
getLastModifiedTimestamp
-
getDescription
-
getParentId
-
getSubGroups
-
getType
public org.keycloak.models.GroupModel.Type getType() -
getOrganizationId
-