fssa-batch3 / fssa-batch3/sec_a_jayaprakash.jaisankar__corejava_project_2
Project | Delete
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### User Story
As a user, I need to be able to remove project from the project task's collection. When I identify a project that needs to be removed, I want to initiate the deletion process. If the project I intend to delete is not found, the system should provide a message indicating that the project is not available for deletion.
### Task
- [ ] Implement Data Access Object (DAO) Layer.
- [ ] Implement Service Layer.
### Create JUnit Test Cases.
- Ensure that the tests cases are passing.
- Write clear and concise comments in the code to explain complex logic.
### DAO
- [ ] deleteprojecttask()
### Service
- [ ] deleteprojecttask()
### Junit Test
- [ ] testValidDeleteprojecttask()
- [ ] testInvalidDeleteprojecttask()
### Estimation
3 hours
### Flow Chart:
``` mermaid
graph TD
A[[Start]] --> B(User Initiates Delete ProjectTask)
B --> C[(Search ProjectTask to Delete)]
C --> |ProjectTask Not Found| D{{Service Exception}}
D --> |Fail| E([Failed to Delete ProjectTask])
C --> |ProjectTask Found| G([Confirm Deletion])
G --> |Delete ProjectTask Record| F([ProjectTask Deleted Successfully])
E --> |Returns False|I[[End]]
F --> |Returns True|I
style F fill:#dfd,stroke:#333
style E fill:#fdd,stroke:#333
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.