fssa-batch3 / fssa-batch3/sec_b_thamim.subansait__corejava_project_2
update User
- Dominant language
- Java
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
user Story
user details will successfully update and store in database
### Pre-requisites:-
- [ ] completed feature 1 - create user
- [ ] user dao (update)
- [ ] user service (update)
#### Validations:
- [ ] Form validator
* id (less than or equal to 0)
* name ( null, empty, pattern)
* password (null , empty, pattern)
* artist_name(null , empty)
- [ ] Business Validation
* Check whether the id exist
#### Messages :
* Invalid id
* Invalid name input
* Invalid password input
* User not found
#### Flow:
> Invalid When a user's email is not in use or when the input provided does not meet the criteria, users arise.
```mermaid
graph TD;
A(UserService - int id, String name) --> B(Form Validation) -- Valid --> C(Business Validation)
B -- Invalid --> H(Validation Exception)
C -- Valid --> D(Argument Passed to UserDAO)
D --> F(Store Value in Database)
C -- Invalid --> E(Validation Exception)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.