[[メンバ/Muhammad Asifur Rahman/Private/eL4BoP/Use Case Model]]
** Use case name [#wdf7f207]
Add new content
** Summary [#l814c26d]
Uploaded contents are stored into a temporary database. This prescheduled module add those contents into the main database.
** Actors [#e67ce450]
Timer
** Dependency [#u31975c5]
** Precondition [#k13a7ee4]
This event is prescheduled so that timer can initiate at the right time.
** Description [#vb76d30e]
+ Timer initiate the module.
+ Look for new row in the temporary database.
+ Take first row to add the related content into the content database.
+ Insert all relevant information into the appropriate table.
+ Move the related files (Video, Audio, Graphics) to the appropriate folders.
+ Mark the new content as "To be distributed". So that later the content distribution module can distribute this content to the appropriate village information centers.
+ Delete the rwo from the temporary database. Also delete all related files from the appropriate folders.
+ Repeat steps 3 ~ 7 for each row in the temporary table.
+ Exit
** Alternatives [#d235f047]
Line 2: If there is no row in the temporary table, then exit.
** Variation points [#fa05d062]
** Post Condition [#xb9d188e]
+ New contents are added to the contents database.
+ Rows in the temporary database for uploaded contents are deleted.
** Outstanding questions [#x8964da8]