@Service(value="gh-propertyDao") public class PropertyDao extends Object
Constructor and Description |
---|
PropertyDao() |
Modifier and Type | Method and Description |
---|---|
void |
deleteProperty(String key)
Deletes the Long value for the given property key
|
Boolean |
getBooleanProperty(String key) |
Long |
getLongProperty(String key) |
Object |
getPropertyAsType(String key) |
String |
getStringProperty(String key) |
void |
setBooleanProperty(String key,
Boolean value)
Set the Boolean value for the given property key
|
void |
setLongProperty(String key,
Long value)
Set the Long value for the given property key
|
void |
setStringProperty(String key,
String value)
Set the Boolean value for the given property key
|
public static final String SERVICE
public Long getLongProperty(String key)
public void setLongProperty(String key, Long value)
public void deleteProperty(String key)
public Boolean getBooleanProperty(String key)
key
- the property keypublic void setBooleanProperty(String key, Boolean value)
key
- the keyvalue
- the valuepublic String getStringProperty(String key)
key
- the property keypublic void setStringProperty(String key, String value)
key
- the keyvalue
- the valueCopyright © 2007–2015 Atlassian. All rights reserved.