Friday, July 15, 2011

RequestFactory: Client-side Methods in EntityProxy/ValueProxy

Is there a way to have methods that only exist in the client side
EntityProxy/ValueProxy object?

class Foo {
private Integer start;
private Integer end;
private Integer interval;

public Integer getStart() { return start; }
public Integer getEnd() { return end; }
public Integer getInterval() { return interval; }

public List<Integer> getIntervals() {
// Generate all intervals between start & end.
}

}

What would be the best way to have getIntervals() be translated and
run on the client side... ?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate