* Method that returns the global configuration and updates it if necessary.
*/
@Transient
public GlobalConfiguration getGlobalConfiguration(){
GlobalConfiguration returnval = new GlobalConfiguration();
returnval.loadData(getData());
return returnval;
}
/**
* Method that saves the global configuration to database.