I'm trying to implement a Grid using RequestFactory. My GWT implementation was scaffolded using Spring Roo. My EmployeeRequest class has the following method:

Request<List<EmployeeProxy>> findEmployeeEntries(int firstResult, int maxResults)

I am looking at the RequestFactory Grid example and I cannot get the typing right for the following call:
req.getPosts(loadConfig.getOffset(), loadConfig.getLimit(), loadConfig.getSortInfo()).to(receiver);

The getPosts method should be the equivalent of my findEmployeeEntries method but I believe it returns a different type. I cannot find the example implementation of the "PostRequest" class used for the example.

How should I map my findEmployeeEntries function to this getPosts function so that i can call .to(receiver) correctly?

Thanks!