Package com.atlassian.confluence.user
Class DebugLoggingPropertySet
- java.lang.Object
-
- com.atlassian.confluence.user.DebugLoggingPropertySet
-
- All Implemented Interfaces:
com.opensymphony.module.propertyset.PropertySet,Serializable
public final class DebugLoggingPropertySet extends Object implements com.opensymphony.module.propertyset.PropertySet, Serializable
Adds debug logging when accessing the wrappedPropertySet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DebugLoggingPropertySet(com.opensymphony.module.propertyset.PropertySet delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(String key)ObjectgetAsActualType(String key)booleangetBoolean(String key)byte[]getData(String key)DategetDate(String key)doublegetDouble(String key)intgetInt(String key)CollectiongetKeys()CollectiongetKeys(int type)CollectiongetKeys(String prefix)CollectiongetKeys(String prefix, int type)longgetLong(String key)ObjectgetObject(String key)PropertiesgetProperties(String key)com.opensymphony.module.propertyset.PropertySetSchemagetSchema()StringgetString(String key)StringgetText(String key)intgetType(String key)DocumentgetXML(String key)voidinit(Map config, Map args)booleanisSettable(String property)voidremove(String key)voidsetAsActualType(String key, Object value)voidsetBoolean(String key, boolean value)voidsetData(String key, byte[] value)voidsetDate(String key, Date value)voidsetDouble(String key, double value)voidsetInt(String key, int value)voidsetLong(String key, long value)voidsetObject(String key, Object value)voidsetProperties(String key, Properties value)voidsetSchema(com.opensymphony.module.propertyset.PropertySetSchema schema)voidsetString(String key, String value)voidsetText(String key, String value)voidsetXML(String key, Document value)booleansupportsType(int type)booleansupportsTypes()StringtoString()
-
-
-
Method Detail
-
setSchema
public void setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema) throws com.opensymphony.module.propertyset.PropertyException- Specified by:
setSchemain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getSchema
public com.opensymphony.module.propertyset.PropertySetSchema getSchema() throws com.opensymphony.module.propertyset.PropertyException- Specified by:
getSchemain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setAsActualType
public void setAsActualType(String key, Object value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setAsActualTypein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getAsActualType
public Object getAsActualType(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getAsActualTypein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setBoolean
public void setBoolean(String key, boolean value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setBooleanin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getBoolean
public boolean getBoolean(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getBooleanin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setData
public void setData(String key, byte[] value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setDatain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getData
public byte[] getData(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getDatain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setDate
public void setDate(String key, Date value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setDatein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getDate
public Date getDate(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getDatein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setDouble
public void setDouble(String key, double value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setDoublein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getDouble
public double getDouble(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getDoublein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setInt
public void setInt(String key, int value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setIntin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getInt
public int getInt(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getIntin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
public Collection getKeys() throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
public Collection getKeys(int type) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
public Collection getKeys(String prefix) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
public Collection getKeys(String prefix, int type) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setLong
public void setLong(String key, long value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setLongin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getLong
public long getLong(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getLongin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setObject
public void setObject(String key, Object value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setObjectin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getObject
public Object getObject(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getObjectin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setProperties
public void setProperties(String key, Properties value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setPropertiesin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getProperties
public Properties getProperties(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getPropertiesin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
isSettable
public boolean isSettable(String property)
- Specified by:
isSettablein interfacecom.opensymphony.module.propertyset.PropertySet
-
setString
public void setString(String key, String value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setStringin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getString
public String getString(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getStringin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setText
public void setText(String key, String value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setTextin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getText
public String getText(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getTextin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getType
public int getType(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getTypein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setXML
public void setXML(String key, Document value) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
setXMLin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getXML
public Document getXML(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
getXMLin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
exists
public boolean exists(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
existsin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
init
public void init(Map config, Map args)
- Specified by:
initin interfacecom.opensymphony.module.propertyset.PropertySet
-
remove
public void remove(String key) throws com.opensymphony.module.propertyset.PropertyException
- Specified by:
removein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
supportsType
public boolean supportsType(int type)
- Specified by:
supportsTypein interfacecom.opensymphony.module.propertyset.PropertySet
-
supportsTypes
public boolean supportsTypes()
- Specified by:
supportsTypesin interfacecom.opensymphony.module.propertyset.PropertySet
-
-