class ConfigurationCommands implements Converter {

	static int compareConfigurations(Configuration a, Configuration b) {
		String factoryA = a.getFactoryPid();
		String factoryB = b.getFactoryPid();

		int result = 0;

		if (factoryA != null) {
			if (factoryB == null)
				result = -1;
			else
				result = factoryA.compareTo(factoryB);
		} else {
			if (factoryB == null)
				result = 0;
			else
				result = 1;
		}

		if (result == 0)
			result = a.getPid().compareTo(b.getPid());

		return result;
	}

	public  ConfigurationCommands(ConfigurationAdmin configAdmin);

}