Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuracoes (controller) #149

Open
3 of 4 tasks
Joao-Pedro-P-Holanda opened this issue Nov 7, 2023 · 0 comments
Open
3 of 4 tasks

Configuracoes (controller) #149

Joao-Pedro-P-Holanda opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@Joao-Pedro-P-Holanda
Copy link
Collaborator

Joao-Pedro-P-Holanda commented Nov 7, 2023

ConfiguracoesController

  • adicionar atributo
private User usuario;

em initialize

  • setar usuario para App.getUsuario();

  • adicionar método

public void alterarEmailESenha

que seta o autocommit para false, chama a operação de atualizar de UserDAO e realiza rollback em caso de SQLException. Setar autocommit para true. Verificar se o nome e o email nos textfields não é vazio

  • adicionar método que realiza a modificação da senha
public void alterarSenha;

que seta o autocommit para false, chama a operação de atualizar de UserDAO e realiza rollback em caso de SQLException. Setar autocommit para true. Verificar se a senha antiga é válida para o usuário, e separadamente, se a senha nova foi inserida corretamente nos campos de 'nova senha' e 'confirmar senha'

@Joao-Pedro-P-Holanda Joao-Pedro-P-Holanda self-assigned this Nov 7, 2023
@Joao-Pedro-P-Holanda Joao-Pedro-P-Holanda converted this from a draft issue Nov 7, 2023
@Joao-Pedro-P-Holanda Joao-Pedro-P-Holanda removed their assignment Nov 10, 2023
@Francisco-Paulino-Arruda-Filho Francisco-Paulino-Arruda-Filho moved this from Todo to Teste in SGEC Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Teste
Development

No branches or pull requests

2 participants