fssa-batch3 / fssa-batch3/sec_b_boobalan.ravichandran__corejava_project_2

Delete Product

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Feature : Delete Product
>Change the product status in database.
#### Pre-requisites:
- [ ] Complete create feature
- [ ] Complete update feature
- [ ] Product DAO( delete )
- [ ] Product service ( delete )
#### Validations:
- [ ] Form Validation
* Id <= 0
- [ ] Business Validation
* Check whether the id is available or not

#### Messages:
* Invalid product id
* Product Id is not found

#### Flow:
```mermaid
graph TD;
A(Argument Passed to ProductService: Delete- Product id) --> B(Form Validation)
B--Valid--> C(Business Validation)
B--Invalid-->I(Throw Validation Exception)
C -- Valid --> E(Argument Passed to ProductDAO)
E --> F(Store Value in Database: inActive)
C -- Invalid --> H(Throw Validation Exception)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.