private static void setIntProperty(String propertyName, Integer value) { if (value != null) { administrationService.setGlobalProperty(propertyName, value.toString()); } else { administrationService.setGlobalProperty(propertyName, ""); } }
private static void setStringProperty(String propertyName, String value) { if (value != null) { administrationService.setGlobalProperty(propertyName, value); } else { administrationService.setGlobalProperty(propertyName, ""); } }
private static void setBoolProperty(String propertyName, Boolean value) { if (Boolean.TRUE.equals(value)) { administrationService.setGlobalProperty(propertyName, Boolean.TRUE.toString()); } else { administrationService.setGlobalProperty(propertyName, Boolean.FALSE.toString()); } }