|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.properties.PropertyDao
@Service(value="gh-propertyDao") public class PropertyDao
DAO layer for global GreenHopper properties. These are stored as one value per PropertySet record.
Field Summary | |
---|---|
static java.lang.String |
SERVICE
|
Constructor Summary | |
---|---|
PropertyDao()
|
Method Summary | |
---|---|
void |
deleteProperty(java.lang.String key)
Deletes the Long value for the given property key |
java.lang.Boolean |
getBooleanProperty(java.lang.String key)
|
java.lang.Long |
getLongProperty(java.lang.String key)
|
java.lang.Object |
getPropertyAsType(java.lang.String key)
|
java.lang.String |
getStringProperty(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 |
void |
setStringProperty(java.lang.String key,
java.lang.String value)
Set the Boolean value for the given property key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE
Constructor Detail |
---|
public PropertyDao()
Method Detail |
---|
public java.lang.Long getLongProperty(java.lang.String key)
public void setLongProperty(java.lang.String key, java.lang.Long value)
public void deleteProperty(java.lang.String key)
public java.lang.Boolean getBooleanProperty(java.lang.String key)
key
- the property key
public void setBooleanProperty(java.lang.String key, java.lang.Boolean value)
key
- the keyvalue
- the valuepublic java.lang.String getStringProperty(java.lang.String key)
key
- the property key
public void setStringProperty(java.lang.String key, java.lang.String value)
key
- the keyvalue
- the valuepublic java.lang.Object getPropertyAsType(java.lang.String key)
key
- the property key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |