public HashMap < String , String > loadConfig ( String node , String object ) { HashMap < String , String > data = Maps . newHashMap ( ) ; for ( ConfigRecord record : from ( ConfigRecord . class ) . where ( ConfigRecord . OBJECT . eq ( object ) , ConfigRecord . NODE . eq ( node ) ) . select ( ) ) { data . put ( record . field , record . value ) ; } return data ; }
Loads up the configuration data for the specified object .