com.atlassian.greenhopper.service.properties
Class PropertyDao

java.lang.Object
  extended by 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
           
 
Constructor Summary
PropertyDao()
           
 
Method Summary
 java.lang.Long getLongProperty(java.lang.String 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
 

Field Detail

SERVICE

public static final java.lang.String SERVICE
See Also:
Constant Field Values
Constructor Detail

PropertyDao

public PropertyDao()
Method Detail

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



Copyright © 2007-2011 Atlassian. All Rights Reserved.