daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Mar 8th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. List objects = new ArrayList();
  2.     objects.add(new PersonRpc("a name", new Integer(1), "a date", "a city", "a country"));
  3.     objects.add(new PersonRpc("2nd name", new Integer(2), "2nd date", "2nd city", "2nd country"));
  4.        
  5.     Clickinator click = new Clickinator(){
  6.  
  7.         public Replicated getReplicated() {
  8.             return (Replicated) GWT.create(PersonRpc.class);
  9.         }};
  10.     HashMap customHeaders = new HashMap();
  11.     customHeaders.put("Name", "Nyaaame Boiii");
  12.     click.setCustomHeaders(customHeaders);
  13.     List excludedColumns = new ArrayList();
  14.     excludedColumns.add("date");
  15.     excludedColumns.add("city");
  16.     excludedColumns.add("country");
  17.     click.update(objects, excludedColumns);
  18.     RootPanel.get().add(click);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top