fssa-batch3 / fssa-batch3/sec_b_thamim.subansait__corejava_project_2

delete existing track

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

Description

user Story

user will successfully delete the tracks

### Pre-requisites:-

- [ ] Completed feature 1 - create user
- [ ] completed feature 4 - upload track
- [ ] track model
- [ ] track dao (delete)
- [ ] track service(delete)

#### Validations:

- [ ] Form validator
* id (greater than 0)
- [ ] Business Validation

* Check whether the id exist

#### Exceptions:
* Invalid id

#### Flow:

> Invalid When a track details or image / audio format and name is null or when the input provided does not meet the criteria, users arise.

```mermaid

graph TD;

A(track service argument track id)-->B(Form validation)--valid-->D(Business Validation)
B--Invalid-->C(validation Exception)
D--valid-->E(track dao)
D--Invalid-->F(validation Exception)
E-->G(change the is_active to false)

```

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.