Here you will find all the expected paths the programm will have to go, to fulfill the all the requirements.
UC01: Add a feed
see UC01
preconditions: program is running (UC02)
- The user opens the configuration panel from the sytem tray
- The user fill in a form with the following infos:
- Feed Name
- Feed URL
- Monitor intervall
- checkbox if currently is monitored (default: true)
- The user presses the add button
- the user presses the cancel button
- the configuration panel discards
- The system checks if the url is a valid RSS or ATOM feed.
- If it is not a valid feed, besides the field of the URL a warning in red letters will appear and the user has a chance to adjust his input.
- If it is a valid feed, the configuration file will be expanded and saved in the file system
- The feed information will display in the table of feeds
UC02: Start the tool
see UC02
- The user starts the tool at his system
- A splashscreen is shown
- The config file will be restored
- If there is no config file, a default config file will be created
- The feedinfo(entitys) will be restored
- If there is no feedinfo file, a empty feedinfo file will be created
- The tool opens directly in the systray
- Monitoring will be started
UC03: Stop the tool
see UC03
preconditions: program is running (UC02)
- The user stops the tool at the menu in the systemtray
- Monitoring will be stoped
- Due to the direct-save-policy no config or feedinfo has to be stored at this moment
- the tool will unload itself
UC04: Edit feed information
see UC04
- The user opens the configuration panel from the sytem tray
- The user selects an existing feed
- The user press the config button
- The user has now the possibility to change each property of this feed
- The user can fill in a form with the following infos:
- Feed Name
- Feed URL
- Monitor intervall
- checkbox if currently is monitored (default: true)
- The user presses the save button
- the user presses the cancel button
- the edit modus will stop
- The system checks if the url is a valid RSS or ATOM feed.
- If it is not a valid feed, besides the field of the URL a warning in red letters will appear and the user has a chance to adjust his input.
- If it is a valid feed, the configuration file will be updated and saved in the file system
- The feed information will be displayed in the table of feeds
UC05: Delete a feed
see UC05
- The user opens the configuration panel from the sytem tray
- The user selects an existing feed
- The user press the delete button
- The user will be asked if he is sure
- The user presses the Yes button
- the user presses the cancel button
- nothing will happen to the feed
- The system removes the feed from the list.
- The configuration file will be updated and saved in the file system
- The remaining feed information will be displayed in the table of feeds
UC06: Set the time frames
see UC06
- The user opens the configuration panel from the sytem tray
- The user selects the set time frames button
- The user is now able to enter information in three lines
- define a vacation – dropdownbox with startdate and enddate
- set days of week – 7 checkboxes for each day
- set start and end time for a single day within a textfield (e.g. „0800-1200 1400-1635“)
- The user presses the ok button
- the user presses the cancel button
- nothing will happen to time frames
- The system displayes the new time frames
- The configuration file will be updated and saved in the file system
UC07: Display an entry
see UC07
- The tool monitores the feeds within the selected time frames an in the selected intervall
- The tool has to check a url due to reaching an intervall or to user activation
- The opens a connection and retrieves following information
- Entity Title
- Entity URL
- Entity Date
- The tool checks if this combination is allready in the Entity-Database
- The tool has not found it and therefore it creats a new entry.
- The tool found the entity and checks the displaycount
- the tool displayes the entity in a tray balloon for about 10 seconds
- If fhe displaycounts is equal or bigger than the displaycount the entity will not be shown
- The tool increases the displaycount of the entity by one
- It sets the latest updatetime to sysdate if the displaycount is at least as high as the max for shown entities
- In the case of displaying the entity: Offer the User 3 possibilities:
- ignore entity -> sets the displaycount to the max
- open entity -> opens the entityurl in the system defined standard browser
- mark to read later -> reduces the displaycount of the entity by one and the displaycount is set to the max
- at the end of the complete check the database is checked for old entitys (their displaycount has not been updated for at least 2 month) and removes them from the database
- after the complete check the database is stored to the file system till the next check.
UC08: Manage monitored feeds
see UC08
- The user opens the configuration panel from the sytem tray
- The user can use checkboxes to select the monitored feeds
- The user presses the save button
- the user presses the cancel button
- the configuration panel will disappear
- The configuration file will be updated and saved in the file system
- The selected feeds will only be monitored then
UC09: Set display count
see UC09
- The user opens the configuration panel from the sytem tray
- The user can use a textfield to set the display count of entries
- The user presses the save button
- the user presses the cancel button
- the configuration panel will disappear
- Entries displayed as often as the count was before will be set to the new count.
- The configuration file will be updated and saved in the file system
- The selected entries will only be shown as often as definedthen
UCSY: System behaviour
see UCSY
see requirements of the use case
Schreibe einen Kommentar