/* (non-Javadoc)
* @see com.dotmarketing.plugin.business.PluginAPI#saveProperty(java.lang.String, java.lang.String, java.lang.String)
*/
public void saveProperty(String pluginId, String key, String value) throws DotDataException {
PluginProperty pp = pluginFac.loadProperty(pluginId, key);
if(pp != null && UtilMethods.isSet(pp.getPluginId())){
pp.setOriginalValue(pp.getCurrentValue());
pp.setCurrentValue(value);
}else{
pp = new PluginProperty();
pp.setPropkey(key);
pp.setPluginId(pluginId);
pp.setOriginalValue(value);
pp.setCurrentValue(value);
}
pluginFac.saveProperty(pp);
}