69707172737475
* a specified set of fields * @param fields the fields to be visible * @return the masked object */ public Object view(String fields) { return new Viewer(this, fields).serialize(); }
818283848586878889
* @return the list containing masked objects */ public ArrayList<Object> view(ArrayList<? extends Table> list, String fields) { ArrayList<Object> result = new ArrayList<Object>(); for(Object obj: list) { result.add(new Viewer(obj, fields).serialize()); } return result; }