/** * load controllers * * @param values value for controllers * @return */ private boolean loadController(List<Person> values) { boolean retVal = false; if (values != null) { PersonController.getInstance().getValues().addAll(values); retVal = true; } return retVal; }
/** * get values from controllers * * @return */ private List<Person> getControllerValues() { return PersonController.getInstance().getValues(); }