Skip to content

Use Cases: Photographs

David Laycock edited this page Feb 15, 2018 · 7 revisions

Photographs

Use Case Name AddTaskPhotograph
Participating Actors Task Requester
Goal Task requester adds one or more photographs to a task
Trigger Task Requester chooses add photograph option
Precondition Task Requester has a photograph they wish to add to the task
Postcondition A photograph is added to the task
Basic Flow 1 Task Requester adds photograph(s) to be included with task
2 System adds chosen photographs to task
Exception 2 If the photograph exceeds the maximum size
2.1 System displays an error message
2.2 System returns to step 1
Related Artifacts US 09.01.01, US 09.03.01

Use Case Name ViewTaskPhotograph
Participating Actors Task Requester, Task Provider
Goal A list of photographs for a task is viewable
Trigger Task Requester or Task Provider chooses view photograph option
Precondition The task has at least one photograph to be viewed
Postcondition A photograph is displayed
Basic Flow 1 System displays the chosen photograph for a particular task
Related Artifacts US 09.02.01

Use Case Name AssertPhotographSize
Participating Actors System
Goal Any photograph added is below 65536 bytes in size
Trigger A photograph is added to a task
Precondition There exists a photo to be added to a task
Postcondition The photograph to be added did not exceed 65536 bytes
Basic Flow 1 System examines size of photograph
Exception 1 If the photograph is 65536 bytes or larger
1.1 System displays error message
Related Artifacts US 09.03.01
Clone this wiki locally