public static void showEmployeesWithPhoneTypes(Context rootContext, EnumSet<PhoneType> phoneTypes, boolean useCriteria)
	{
		EmployeeService empService = rootContext.lookupService("EmployeeService", EmployeeService.class);
		
		List<Employee> employeesWithPhoneTypes = useCriteria ? empService.getEmployyeeWithPhoneKindsCriteria(phoneTypes) : empService.getEmployeesWithPhoneKinds(phoneTypes);
		
		System.out.println("Number of employees with phones of types " + phoneTypes + " is " + employeesWithPhoneTypes.size());
		
		for (Employee employee : employeesWithPhoneTypes)
		{
			Set<PhoneType> employeePhoneTypes = new HashSet<>(employee.getPhones().keySet());
			
			System.out.println(employee.getName() + "\t" + employeePhoneTypes );
		}
	}