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.
|
Object |
getAsActualType(String key)
Deprecated.
|
boolean |
getBoolean(String key)
Deprecated.
|
byte[] |
getData(String key)
Deprecated.
|
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.
|
Object |
getObject(String key)
Deprecated.
|
Properties |
getProperties(String key)
Deprecated.
|
com.opensymphony.module.propertyset.PropertySetSchema |
getSchema()
Deprecated.
|
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,
Object value)
Deprecated.
|
void |
setBoolean(String key,
boolean value)
Deprecated.
|
void |
setData(String key,
byte[] value)
Deprecated.
|
void |
setDate(String key,
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,
Object value)
Deprecated.
|
void |
setProperties(String key,
Properties value)
Deprecated.
|
void |
setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema)
Deprecated.
|
void |
setString(String key,
String value)
Deprecated.
|
void |
setText(String key,
String value)
Deprecated.
|
void |
setXML(String key,
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.PropertySetpublic 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.PropertySetcom.opensymphony.module.propertyset.PropertyException@Nullable public Object getAsActualType(String key) throws com.opensymphony.module.propertyset.PropertyException
getAsActualType in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setBoolean(String key, boolean value) throws com.opensymphony.module.propertyset.PropertyException
setBoolean in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic boolean getBoolean(String key) throws com.opensymphony.module.propertyset.PropertyException
getBoolean in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setData(String key, @Nullable byte[] value) throws com.opensymphony.module.propertyset.PropertyException
setData in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyException@Nullable public byte[] getData(String key) throws com.opensymphony.module.propertyset.PropertyException
getData in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setDate(String key, @Nullable Date value) throws com.opensymphony.module.propertyset.PropertyException
setDate in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyException@Nullable public Date getDate(String key) throws com.opensymphony.module.propertyset.PropertyException
getDate in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setDouble(String key, double value) throws com.opensymphony.module.propertyset.PropertyException
setDouble in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic double getDouble(String key) throws com.opensymphony.module.propertyset.PropertyException
getDouble in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setInt(String key, int value) throws com.opensymphony.module.propertyset.PropertyException
setInt in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic int getInt(String key) throws com.opensymphony.module.propertyset.PropertyException
getInt in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys() throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys(int type) throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys(String prefix) throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys(String prefix, int type) throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setLong(String key, long value) throws com.opensymphony.module.propertyset.PropertyException
setLong in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic long getLong(String key) throws com.opensymphony.module.propertyset.PropertyException
getLong in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setObject(String key, @Nullable Object value) throws com.opensymphony.module.propertyset.PropertyException
setObject in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyException@Nullable public Object getObject(String key) throws com.opensymphony.module.propertyset.PropertyException
getObject in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setProperties(String key, @Nullable Properties value) throws com.opensymphony.module.propertyset.PropertyException
setProperties in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyException@Nullable public Properties getProperties(String key) throws com.opensymphony.module.propertyset.PropertyException
getProperties in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema)
throws com.opensymphony.module.propertyset.PropertyException
setSchema in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic com.opensymphony.module.propertyset.PropertySetSchema getSchema()
throws com.opensymphony.module.propertyset.PropertyException
getSchema in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic boolean isSettable(String property)
isSettable in interface com.opensymphony.module.propertyset.PropertySetpublic void setString(String key, @Nullable String value) throws com.opensymphony.module.propertyset.PropertyException
setString in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyException@Nullable public String getString(String key) throws com.opensymphony.module.propertyset.PropertyException
getString in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setText(String key, @Nullable String value) throws com.opensymphony.module.propertyset.PropertyException
setText in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic String getText(String key) throws com.opensymphony.module.propertyset.PropertyException
getText in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic int getType(String key) throws com.opensymphony.module.propertyset.PropertyException
getType in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setXML(String key, @Nullable Document value) throws com.opensymphony.module.propertyset.PropertyException
setXML in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Document getXML(String key) throws com.opensymphony.module.propertyset.PropertyException
getXML in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic boolean exists(String key) throws com.opensymphony.module.propertyset.PropertyException
exists in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void remove(String key) throws com.opensymphony.module.propertyset.PropertyException
remove in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic boolean supportsType(int type)
supportsType in interface com.opensymphony.module.propertyset.PropertySetpublic boolean supportsTypes()
supportsTypes in interface com.opensymphony.module.propertyset.PropertySetCopyright © 2003–2018 Atlassian. All rights reserved.