public ManagePassword(Usuario usuario, ApplicationView view) { setUsuario(usuario); this.validatorSenha = ValidatorFactory.newStrRangeLen(32, 3, true); this.validatorNovaSenha = ValidatorFactory.newStrRangeLen(32, 3, true); this.validatorNovaSenhaConfirma = ValidatorFactory.newStrRangeLen(32, 3, true); this.view = view; }
private void buildNameFilter() { Validator validator = ValidatorFactory.newStrRangeLen(100, 3, true); getFiltersMap().put("nomeFilter", buildBasicFilter("nomeFilter", "Nome", validator)); }