fssa-batch3 / fssa-batch3/sec_b_mohammedirfan.rahamathulla__corejava_project_2
Update user
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
User story :
User details successfully updated and stored in database.
### Pre-requisites:-
- [ ] completed feature 1 - update user
- [ ] User model
- [ ] User DAO (update)
- [ ] User SERVICE (update)
#### Form Validations:
- [ ] id(<0)
- [ ] password( null, empty, pattern )
- [ ] first name( null, empty, pattern )
- [ ] last name( null, empty, pattern )
- [ ] area( null, empty, pattern )
- [ ] city( null, empty, pattern )
- [ ] address(null, empty, pattern)
#### Business Validation:
- user id exists
### Messages :
* User object can not be null.
* id can not be .
* name cannot be null or empty.
* Name does not match the pattern.
* first name cannot be null or empty.
* First Name does not match the pattern.
* last name cannot be null or empty.
* Last Name does not match the pattern.
* Address can not be null or empty.
* Area does not match the pattern.
* Area can not be null or empty.
* City can not be null or empty.
* city does not match with the pattern
```mermaid
graph TD;A(User Service - Object user) --> 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.