Package hirondelle.web4j.model

Examples of hirondelle.web4j.model.ModelFromRequest


  }

  /** Attempt to build a {@link Prediction} out of user input. */
  protected void validateUserInput() {
    try {
      ModelFromRequest builder = new ModelFromRequest(getRequestParser());
      fPrediction = builder.build(Prediction.class, ID, PREDICTION_LIST_ID, TEXT, REMARK, OUTCOME);
    }
    catch (ModelCtorException ex){
      addError(ex);
    }   
  }
View Full Code Here


  }
 
  /** Try to build a {@link PredictionList} from user input. */
  @Override protected void validateUserInput() {
    try {
      ModelFromRequest builder = new ModelFromRequest(getRequestParser());
      fPredictionList = builder.build(PredictionList.class, ID, TITLE, fUserId);
      fLogger.fine(fPredictionList.toString());
    }
    catch (ModelCtorException ex){
      addError(ex);
    }   
View Full Code Here

TOP

Related Classes of hirondelle.web4j.model.ModelFromRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.