예제 #1
0
  /**
   * 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;
  }
예제 #2
0
  /**
   * get values from controllers
   *
   * @return
   */
  private List<Person> getControllerValues() {

    return PersonController.getInstance().getValues();
  }