public boolean exists( String key ) {
return getSettings().containsKey( key );
}
public void load() {
SystemSetting entry;
ResultSet result = driver.select( "systemsetting", null, null );
try {
while( result.next() ) {
entry = new SystemSetting();
entry.init( driver );
entry.populate( result );
getSettings().put( entry.getKey(), entry.getValue() );
}
} catch( SQLException e ) {
}
}