CachingOfBizPropertySet
(keyed as "ofbiz-cached" instead. Since v6.2.@Deprecated public class JiraCachingPropertySet extends Object implements com.opensymphony.module.propertyset.PropertySet
init(Map, Map) before use.
Similar to com.opensymphony.module.propertyset.cached.CachingPropertySet class but does more caching.
This class is threadsafe. It uses a Lock to co-ordinate concurrent access. This means that improper
publication is avoided as long as init(Map, Map) is called from the creating thread before use.
| Constructor and Description |
|---|
JiraCachingPropertySet()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Deprecated.
Clears any cached properties.
|
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.
Initialises this JiraCachingPropertySet.
|
boolean |
isSettable(String property)
Deprecated.
|
void |
remove()
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 setAsActualType(String key, Object value)
setAsActualType in interface com.opensymphony.module.propertyset.PropertySetpublic Object getAsActualType(String key)
getAsActualType in interface com.opensymphony.module.propertyset.PropertySetpublic void setBoolean(String key, boolean value)
setBoolean in interface com.opensymphony.module.propertyset.PropertySetpublic boolean getBoolean(String key)
getBoolean in interface com.opensymphony.module.propertyset.PropertySetpublic void setData(String key, byte[] value)
setData in interface com.opensymphony.module.propertyset.PropertySetpublic byte[] getData(String key)
getData in interface com.opensymphony.module.propertyset.PropertySetpublic void setDate(String key, Date value)
setDate in interface com.opensymphony.module.propertyset.PropertySetpublic Date getDate(String key)
getDate in interface com.opensymphony.module.propertyset.PropertySetpublic void setDouble(String key, double value)
setDouble in interface com.opensymphony.module.propertyset.PropertySetpublic double getDouble(String key)
getDouble in interface com.opensymphony.module.propertyset.PropertySetpublic void setInt(String key, int value)
setInt in interface com.opensymphony.module.propertyset.PropertySetpublic int getInt(String key)
getInt in interface com.opensymphony.module.propertyset.PropertySetpublic Collection getKeys()
getKeys in interface com.opensymphony.module.propertyset.PropertySetpublic Collection getKeys(int type)
getKeys in interface com.opensymphony.module.propertyset.PropertySetpublic Collection getKeys(String prefix)
getKeys in interface com.opensymphony.module.propertyset.PropertySetpublic Collection getKeys(String prefix, int type)
getKeys in interface com.opensymphony.module.propertyset.PropertySetpublic void setLong(String key, long value)
setLong in interface com.opensymphony.module.propertyset.PropertySetpublic long getLong(String key)
getLong in interface com.opensymphony.module.propertyset.PropertySetpublic void setObject(String key, Object value)
setObject in interface com.opensymphony.module.propertyset.PropertySetpublic Object getObject(String key)
getObject in interface com.opensymphony.module.propertyset.PropertySetpublic void setProperties(String key, Properties value)
setProperties in interface com.opensymphony.module.propertyset.PropertySetpublic Properties getProperties(String key)
getProperties in interface com.opensymphony.module.propertyset.PropertySetpublic void setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema)
setSchema in interface com.opensymphony.module.propertyset.PropertySetpublic com.opensymphony.module.propertyset.PropertySetSchema getSchema()
getSchema in interface com.opensymphony.module.propertyset.PropertySetpublic boolean isSettable(String property)
isSettable in interface com.opensymphony.module.propertyset.PropertySetpublic void setString(String key, String value)
setString in interface com.opensymphony.module.propertyset.PropertySetpublic String getString(String key)
getString in interface com.opensymphony.module.propertyset.PropertySetpublic void setText(String key, String value)
setText in interface com.opensymphony.module.propertyset.PropertySetpublic String getText(String key)
getText in interface com.opensymphony.module.propertyset.PropertySetpublic int getType(String key)
getType in interface com.opensymphony.module.propertyset.PropertySetpublic void setXML(String key, Document value)
setXML in interface com.opensymphony.module.propertyset.PropertySetpublic Document getXML(String key)
getXML in interface com.opensymphony.module.propertyset.PropertySetpublic boolean exists(String key)
exists in interface com.opensymphony.module.propertyset.PropertySetpublic void init(Map config, Map args)
The args parameter must always contain an entry of type PropertySet under the key "PropertySet".
If args contains a Boolean entry under the key of "bulkload" which is set to
true, then all the values in the underlying PropertySet will be preloaded into the cache.
init in interface com.opensymphony.module.propertyset.PropertySetconfig - Config from PropertySetConfigargs - Map of args passed to PropertySetManager.getInstance()PropertySet.init(java.util.Map, java.util.Map),
PropertySetManager.getInstance(String, java.util.Map)public void remove(String key)
remove in interface com.opensymphony.module.propertyset.PropertySetpublic boolean supportsType(int type)
supportsType in interface com.opensymphony.module.propertyset.PropertySetpublic boolean supportsTypes()
supportsTypes in interface com.opensymphony.module.propertyset.PropertySetpublic void remove()
throws com.opensymphony.module.propertyset.PropertyException
remove in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void clearCache()
PropertySet.Copyright © 2002-2019 Atlassian. All Rights Reserved.