CachingConfluenceUserPropertySetFactory
.@Deprecated public class CacheAwarePropertySet extends Object implements com.opensymphony.module.propertyset.PropertySet
Originally cloned from CacheAwarePropertySet
so that it could be converted to VCache
Constructor and Description |
---|
CacheAwarePropertySet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CacheAwarePropertySet |
create(String cacheKeyPrefix,
com.opensymphony.module.propertyset.PropertySet underlyingPropertySet,
com.atlassian.vcache.VCacheFactory cacheFactory,
String cacheName)
Deprecated.
|
boolean |
exists(String key)
Deprecated.
|
@Nullable Object |
getAsActualType(String key)
Deprecated.
|
boolean |
getBoolean(String key)
Deprecated.
|
@Nullable byte[] |
getData(String key)
Deprecated.
|
@Nullable Date |
getDate(String key)
Deprecated.
|
double |
getDouble(String key)
Deprecated.
|
int |
getInt(String key)
Deprecated.
|
Collection |
getKeys()
Deprecated.
|
Collection |
getKeys(int type)
Deprecated.
|
Collection |
getKeys(String prefix)
Deprecated.
|
Collection |
getKeys(String prefix,
int type)
Deprecated.
|
long |
getLong(String key)
Deprecated.
|
@Nullable Object |
getObject(String key)
Deprecated.
|
@Nullable Properties |
getProperties(String key)
Deprecated.
|
com.opensymphony.module.propertyset.PropertySetSchema |
getSchema()
Deprecated.
|
@Nullable String |
getString(String key)
Deprecated.
|
String |
getText(String key)
Deprecated.
|
int |
getType(String key)
Deprecated.
|
Document |
getXML(String key)
Deprecated.
|
void |
init(Map config,
Map args)
Deprecated.
|
boolean |
isSettable(String property)
Deprecated.
|
void |
remove(String key)
Deprecated.
|
void |
setAsActualType(String key,
@Nullable Object value)
Deprecated.
|
void |
setBoolean(String key,
boolean value)
Deprecated.
|
void |
setData(String key,
@Nullable byte[] value)
Deprecated.
|
void |
setDate(String key,
@Nullable Date value)
Deprecated.
|
void |
setDouble(String key,
double value)
Deprecated.
|
void |
setInt(String key,
int value)
Deprecated.
|
void |
setLong(String key,
long value)
Deprecated.
|
void |
setObject(String key,
@Nullable Object value)
Deprecated.
|
void |
setProperties(String key,
@Nullable Properties value)
Deprecated.
|
void |
setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema)
Deprecated.
|
void |
setString(String key,
@Nullable String value)
Deprecated.
|
void |
setText(String key,
@Nullable String value)
Deprecated.
|
void |
setXML(String key,
@Nullable Document value)
Deprecated.
|
boolean |
supportsType(int type)
Deprecated.
|
boolean |
supportsTypes()
Deprecated.
|
public void init(Map config, Map args)
init
in interface com.opensymphony.module.propertyset.PropertySet
public static CacheAwarePropertySet create(String cacheKeyPrefix, com.opensymphony.module.propertyset.PropertySet underlyingPropertySet, com.atlassian.vcache.VCacheFactory cacheFactory, String cacheName)
public void setAsActualType(String key, @Nullable Object value) throws com.opensymphony.module.propertyset.PropertyException
setAsActualType
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public @Nullable Object getAsActualType(String key) throws com.opensymphony.module.propertyset.PropertyException
getAsActualType
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setBoolean(String key, boolean value) throws com.opensymphony.module.propertyset.PropertyException
setBoolean
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean getBoolean(String key) throws com.opensymphony.module.propertyset.PropertyException
getBoolean
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setData(String key, @Nullable byte[] value) throws com.opensymphony.module.propertyset.PropertyException
setData
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public @Nullable byte[] getData(String key) throws com.opensymphony.module.propertyset.PropertyException
getData
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setDate(String key, @Nullable Date value) throws com.opensymphony.module.propertyset.PropertyException
setDate
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public @Nullable Date getDate(String key) throws com.opensymphony.module.propertyset.PropertyException
getDate
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setDouble(String key, double value) throws com.opensymphony.module.propertyset.PropertyException
setDouble
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public double getDouble(String key) throws com.opensymphony.module.propertyset.PropertyException
getDouble
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setInt(String key, int value) throws com.opensymphony.module.propertyset.PropertyException
setInt
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public int getInt(String key) throws com.opensymphony.module.propertyset.PropertyException
getInt
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public Collection getKeys() throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public Collection getKeys(int type) throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public Collection getKeys(String prefix) throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public Collection getKeys(String prefix, int type) throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setLong(String key, long value) throws com.opensymphony.module.propertyset.PropertyException
setLong
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public long getLong(String key) throws com.opensymphony.module.propertyset.PropertyException
getLong
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setObject(String key, @Nullable Object value) throws com.opensymphony.module.propertyset.PropertyException
setObject
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public @Nullable Object getObject(String key) throws com.opensymphony.module.propertyset.PropertyException
getObject
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setProperties(String key, @Nullable Properties value) throws com.opensymphony.module.propertyset.PropertyException
setProperties
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public @Nullable Properties getProperties(String key) throws com.opensymphony.module.propertyset.PropertyException
getProperties
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema) throws com.opensymphony.module.propertyset.PropertyException
setSchema
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public com.opensymphony.module.propertyset.PropertySetSchema getSchema() throws com.opensymphony.module.propertyset.PropertyException
getSchema
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean isSettable(String property)
isSettable
in interface com.opensymphony.module.propertyset.PropertySet
public void setString(String key, @Nullable String value) throws com.opensymphony.module.propertyset.PropertyException
setString
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public @Nullable String getString(String key) throws com.opensymphony.module.propertyset.PropertyException
getString
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setText(String key, @Nullable String value) throws com.opensymphony.module.propertyset.PropertyException
setText
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public String getText(String key) throws com.opensymphony.module.propertyset.PropertyException
getText
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public int getType(String key) throws com.opensymphony.module.propertyset.PropertyException
getType
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void setXML(String key, @Nullable Document value) throws com.opensymphony.module.propertyset.PropertyException
setXML
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public Document getXML(String key) throws com.opensymphony.module.propertyset.PropertyException
getXML
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean exists(String key) throws com.opensymphony.module.propertyset.PropertyException
exists
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public void remove(String key) throws com.opensymphony.module.propertyset.PropertyException
remove
in interface com.opensymphony.module.propertyset.PropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean supportsType(int type)
supportsType
in interface com.opensymphony.module.propertyset.PropertySet
public boolean supportsTypes()
supportsTypes
in interface com.opensymphony.module.propertyset.PropertySet
Copyright © 2003–2020 Atlassian. All rights reserved.