Package org.openiam.cache
Class AbstractPropertyValueRedisCache
- java.lang.Object
-
- org.openiam.cache.AbstractRedisCacheProvider
-
- org.openiam.cache.AbstractPropertyValueRedisCache
-
- All Implemented Interfaces:
PropertyValueCache
- Direct Known Subclasses:
PropertyValueCacheImpl
public abstract class AbstractPropertyValueRedisCache extends AbstractRedisCacheProvider implements PropertyValueCache
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openiam.cache.AbstractRedisCacheProvider
AbstractRedisCacheProvider.CacheType, AbstractRedisCacheProvider.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.data.redis.core.RedisTemplate<String,PropertyValue>cache-
Fields inherited from class org.openiam.cache.AbstractRedisCacheProvider
log
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyValueRedisCache()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetAffiliationPrimaryTypeId()booleangetBoolean(String key)protected AbstractRedisCacheProvider.CacheTypegetCacheType()StringgetDefaultManagedSysId()intgetInt(String key)protected abstract StringgetLanguageId()PropertyValuegetProperty(String key)PropertyValuegetPropertyValue(String key)List<PropertyValue>getPropertyValues(List<String> keys)StringgetString(String key)StringgetValue(String key)booleanisProvisioningEnabled()booleanisProvisioningEntitlementsEnabled()-
Methods inherited from class org.openiam.cache.AbstractRedisCacheProvider
buildCacheKey, buildCacheKey, getContext
-
-
-
-
Field Detail
-
cache
@Autowired @Qualifier("propertyValueRedisTemplate") protected org.springframework.data.redis.core.RedisTemplate<String,PropertyValue> cache
-
-
Method Detail
-
getLanguageId
protected abstract String getLanguageId()
-
getProperty
public PropertyValue getProperty(String key)
- Specified by:
getPropertyin interfacePropertyValueCache
-
getValue
public String getValue(String key)
- Specified by:
getValuein interfacePropertyValueCache
-
getPropertyValues
public List<PropertyValue> getPropertyValues(List<String> keys)
- Specified by:
getPropertyValuesin interfacePropertyValueCache
-
getPropertyValue
public PropertyValue getPropertyValue(String key)
-
getString
public String getString(String key)
- Specified by:
getStringin interfacePropertyValueCache
-
getBoolean
public boolean getBoolean(String key)
- Specified by:
getBooleanin interfacePropertyValueCache
-
getInt
public int getInt(String key)
- Specified by:
getIntin interfacePropertyValueCache
-
getDefaultManagedSysId
public String getDefaultManagedSysId()
- Specified by:
getDefaultManagedSysIdin interfacePropertyValueCache
-
getAffiliationPrimaryTypeId
public String getAffiliationPrimaryTypeId()
- Specified by:
getAffiliationPrimaryTypeIdin interfacePropertyValueCache
-
isProvisioningEnabled
public boolean isProvisioningEnabled()
- Specified by:
isProvisioningEnabledin interfacePropertyValueCache
-
isProvisioningEntitlementsEnabled
public boolean isProvisioningEntitlementsEnabled()
- Specified by:
isProvisioningEntitlementsEnabledin interfacePropertyValueCache
-
getCacheType
protected AbstractRedisCacheProvider.CacheType getCacheType()
- Specified by:
getCacheTypein classAbstractRedisCacheProvider
-
-