Package com.googlecode.richrest.util.validator

Examples of com.googlecode.richrest.util.validator.Validator.validate()


    Action<Serializable, Serializable> srcAction = ActionContext.getContext().getAction();
    if (srcAction instanceof Validatable) {
      Validatable validationAction = (Validatable)srcAction;
      Validator validator = validationAction.getValidator();
      if (validator != null)
        validator.validate(model);
    }
    return action.execute(model);
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.