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 String
getAffiliationPrimaryTypeId()
boolean
getBoolean(String key)
protected AbstractRedisCacheProvider.CacheType
getCacheType()
String
getDefaultManagedSysId()
int
getInt(String key)
protected abstract String
getLanguageId()
PropertyValue
getProperty(String key)
PropertyValue
getPropertyValue(String key)
List<PropertyValue>
getPropertyValues(List<String> keys)
String
getString(String key)
String
getValue(String key)
boolean
isProvisioningEnabled()
boolean
isProvisioningEntitlementsEnabled()
-
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:
getProperty
in interfacePropertyValueCache
-
getValue
public String getValue(String key)
- Specified by:
getValue
in interfacePropertyValueCache
-
getPropertyValues
public List<PropertyValue> getPropertyValues(List<String> keys)
- Specified by:
getPropertyValues
in interfacePropertyValueCache
-
getPropertyValue
public PropertyValue getPropertyValue(String key)
-
getString
public String getString(String key)
- Specified by:
getString
in interfacePropertyValueCache
-
getBoolean
public boolean getBoolean(String key)
- Specified by:
getBoolean
in interfacePropertyValueCache
-
getInt
public int getInt(String key)
- Specified by:
getInt
in interfacePropertyValueCache
-
getDefaultManagedSysId
public String getDefaultManagedSysId()
- Specified by:
getDefaultManagedSysId
in interfacePropertyValueCache
-
getAffiliationPrimaryTypeId
public String getAffiliationPrimaryTypeId()
- Specified by:
getAffiliationPrimaryTypeId
in interfacePropertyValueCache
-
isProvisioningEnabled
public boolean isProvisioningEnabled()
- Specified by:
isProvisioningEnabled
in interfacePropertyValueCache
-
isProvisioningEntitlementsEnabled
public boolean isProvisioningEntitlementsEnabled()
- Specified by:
isProvisioningEntitlementsEnabled
in interfacePropertyValueCache
-
getCacheType
protected AbstractRedisCacheProvider.CacheType getCacheType()
- Specified by:
getCacheType
in classAbstractRedisCacheProvider
-
-