Package br.com.visualmidia.ui.validator

Examples of br.com.visualmidia.ui.validator.TransactionDateValidator


        validators.add(new ResponsableValidator(responsableInfo.getResponsableText(), personalInfo.getBirthdateText(), screenMessageLabel, Validator.ERROR_REQUIRED_RESPONSABLENAME));
        validators.add(new CPFValidator(responsableInfo.getCPFText(), screenMessageLabel, Validator.ERROR_REQUIRED_CPF));

        validators.add(new EmptyValidator(employmentData.getBeginDateText(), screenMessageLabel, Validator.ERROR_REQUIRED_BEGINDATE));
        validators.add(new EmptyValidator(employmentData.getPositionCombo(), screenMessageLabel, Validator.ERROR_REQUIRED_POSITION));
    validators.add(new TransactionDateValidator(screenMessageLabel,Validator.ERROR_REQUIRED_DATA_TRANSACTION_INVALID));
      
    if (systemUser.getSelection()) {
            validators.add(new EmptyValidator(userInfo.getUsernameText(), screenMessageLabel, Validator.ERROR_REQUIRED_USERNAME));
            validators.add(new UserNameValidator(userInfo.getUsernameText(), idText, screenMessageLabel, Validator.ERROR_USERNAME_ALREADY_EXISTS));
            validators.add(new EmptyValidator(userInfo.getPasswordText(), screenMessageLabel, Validator.ERROR_REQUIRED_PASSWORD));
View Full Code Here


    validators.add(new EmptyValidator(addressInfo.getCityText(), screenMessageLabel, Validator.ERROR_REQUIRED_CITY));
    validators.add(new ResponsableValidator(responsableInfo.getResponsableText(), personalInfo.getBirthdateText(),screenMessageLabel, Validator.ERROR_REQUIRED_RESPONSABLENAME));
    validators.add(new CPFValidator(responsableInfo.getCPFText(),screenMessageLabel, Validator.ERROR_REQUIRED_CPF));
    validators.add(new AttendanceValidator(resourceInfo.getHowDoYouKnowVisualMidiaCombo(), screenMessageLabel,Validator.ERROR_REQUIRED_HOW_DO_YOU_KNOW_VISUAL_MIDIA));
    validators.add(new AttendanceValidator(attendanceInfo.getAttendanceResponsableCombo(), screenMessageLabel,Validator.ERROR_REQUIRED_ATTENDANCENAME));
    validators.add(new TransactionDateValidator(screenMessageLabel,Validator.ERROR_REQUIRED_DATA_TRANSACTION_INVALID));
    return validators;
  }
View Full Code Here

TOP

Related Classes of br.com.visualmidia.ui.validator.TransactionDateValidator

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.