private class GroupedByHelper implements GroupByHandler
{
	private GroupedByHandler groupedByHandler;

	public GroupedByHelper(GroupedByHandler groupedByHandler)
	{
		this.groupedByHandler = groupedByHandler;
	}

	@Override
	public void onGroupBy(final GroupByEvent event)
	{
		final String[] fields = event.getFields();
		Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand()
		{
			@Override
			public void execute()
			{
				groupedByHandler.onGroupedBy(fields);
			}
		});
	}
}