Hello,
It seems that RequestFactory framework requires to store my object
access functions inside domain objects.
e.g

@Service(value = User.class, locator = MyServiceLocator.class)
public interface UserRequest extends RequestContext {
        Request<UserProxy> getCurrentUser();
}

@ProxyFor(value = User.class, locator = UserLocator.class)
public interface UserProxy extends EntityProxy {
        public String getName() ;
}

public class User {
...
        public String getName()  {...}
        public User getCurrentUser() {...}
}

Is it possible to move getCurrentUser() method to the UserLocator?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to