Java Code Examples for ims.configuration.gen.ConfigFlag.saveFlag()

The following are Jave code examples for showing how to use saveFlag() of the ims.configuration.gen.ConfigFlag class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: AvoinApotti   File: ConfigFlagsImpl.java   Source Code and License Vote up 6 votes
/**
* Saves a ConfigFlag
*/
public String saveConfigFlag(IFlag flag, String flagValue) throws DomainInterfaceException
{
	if(flag.getName().equals(ConfigFlag.GEN.QUARTZ_SERVER_URL.getName()))
		processQuartzFlag(flag, flagValue);
	
	try
	{
		ConfigFlag.saveFlag(flag, flag.getName(), flagValue);
	}
	catch (Exception e)
	{
		throw new DomainRuntimeException(e);
	}
	
	this.saveFlag(flag.getName(), flagValue);
	
	return "";
}