com.atlassian.greenhopper.service.properties
Class PropertyDao
java.lang.Object
com.atlassian.greenhopper.service.properties.PropertyDao
@Service(value="gh-propertyDao")
public class PropertyDao
- extends java.lang.Object
DAO layer for global GreenHopper properties. These are stored as one value per PropertySet record.
- Author:
- ahennecke
Field Summary |
static java.lang.String |
SERVICE
|
Method Summary |
java.lang.Boolean |
getBooleanProperty(java.lang.String key)
|
java.lang.Long |
getLongProperty(java.lang.String key)
|
void |
setBooleanProperty(java.lang.String key,
java.lang.Boolean value)
Set the Boolean value for the given property key |
void |
setLongProperty(java.lang.String key,
java.lang.Long value)
Set the Long value for the given property key |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE
public static final java.lang.String SERVICE
- See Also:
- Constant Field Values
PropertyDao
public PropertyDao()
getLongProperty
public java.lang.Long getLongProperty(java.lang.String key)
- Returns:
- the Long value for the given property key, or null
setLongProperty
public void setLongProperty(java.lang.String key,
java.lang.Long value)
- Set the Long value for the given property key
getBooleanProperty
public java.lang.Boolean getBooleanProperty(java.lang.String key)
- Parameters:
key
- the property key
- Returns:
- the Boolean value for the given property key, or null
setBooleanProperty
public void setBooleanProperty(java.lang.String key,
java.lang.Boolean value)
- Set the Boolean value for the given property key
- Parameters:
key
- the keyvalue
- the value
Copyright © 2007-2012 Atlassian. All Rights Reserved.