@ServiceName(value = "com.masteriti.manager.server.access.PersonDao",
locator = "com.masteriti.manager.server.locator.DaoServiceLocator")
public interface PersonRequest extends RequestContext {
Request<List<PersonProxy>> listAll();
Request<Void> save(PersonProxy person);
Request<PersonProxy> saveAndReturn(PersonProxy person);
Request<Void> delete(PersonProxy person);
}
The other thing I noticed looking around demo source code is that hardly anyone uses @Embedded objects in their entities. Even the DynaTableRF source doesn't use the @Embedded notation as shown in Google's RequestFactory Tutorial, instead it simply has
private Address address = new Address();
I'll try that today and see if it works, but any other suggestions would be welcome!
Marco
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xkDH2eCm9dcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment