Use Case Statement
By
Manuel Dennis III
Name |
Manage Assignment Attachment Section |
Description |
To allow users to attach small files to the assignment for storage in the specified file structure |
Dependencies |
An assignment must exist and an attachment file structure must be in place with the proper rights for the ASPNET user |
Scope |
To save and retrieve attached files for users related to the assignment |
Primary Actors |
|
Secondary Actors |
|
Pre Conditions |
· Assignments file structure must be configured |
Success End Conditions |
|
Failure End Conditions |
Document Revision # |
Action Taken, Notes |
When? |
By Whom? |
0.1 |
|
|
|
Use Case
# |
Action / Stimulus |
Reaction |
1 |
User clicks on an attachment |
The attachment should be accessed as if a file were being sent to the users browser. The user can opt to open the attachment, or save it to their local storage. |
2 |
User clicks create a new attachment |
The attachment is sent to the application for storing in the attachment file structure under a specific folder related to the assignment. See notes for further details. |
3 |
The application should present all attachments for the assignment and related request. Because requesters and approvers will likely include attachments at the request level. |
Alternative / Additional Scenario:
# |
Action / Stimulus |
Reaction |
A1 |
Remove attachment |
No facility will be included at this time to delete attachments. Attachments will only be visible in the folders file structure and could be deleted by Server administrators. |
A2 |
A record is kept in the attachment table of past attachments related to an assignment even if the file no longer exists in the structure. Some sort of indication should exist. |
|
A3 |
Alternative / Additional Scenario:
# |
Action / Stimulus |
Reaction |
B1 |
||
B2 |
||
B3 |
Alternative / Additional Scenario: Cancel
# |
Action / Stimulus |
Reaction |
C1 |
||
Notes:
The assignment file structure is defined as follows. The folder should be accessible from the ASPNET worker process user. The ASPNET user should have read and write access to this folder. The folder structure should resemble the following:
q
AttachmentShareo
Request·
Yearo
RequestNumber§
Attachment.FileExtension§
Attachment.#.FileExtension§
o
Assignment·
Yearo
AssignmentNumber§
Attachment.FileExtension§
Attachment.#.FileExtensiono
Solution·
Yearo
SolutionNumber§
Attachment.FileExtension§
Attachment.#.FileExtensionThe # is incase someone attaches multiple versions of a file with the same filename. This is strictly to keep track of different versions and nothing more.
Issues: