@Override
 protected void checkParameters(final DocumentRequestCreateBean bean) {
   if (bean.getNumberOfCourseLoads() == null || bean.getNumberOfCourseLoads().intValue() == 0) {
     throw new DomainException("error.ExternalCourseLoadRequest.invalid.numberOfCourseLoads");
   }
   if (bean.getInstitution() == null) {
     throw new DomainException("error.ExternalCourseLoadRequest.invalid.institution");
   }
 }
  public ExternalCourseLoadRequest(final DocumentRequestCreateBean bean) {
    this();
    super.init(bean);

    checkParameters(bean);
    super.setNumberOfCourseLoads(bean.getNumberOfCourseLoads());
    super.setInstitution(bean.getInstitution());
  }