Task Management
TaskManager
¶
Use cases are implemented via Tasks. The TaskManager is responsible for navigation between different tasks. This section describes how the TaskManager works. For that we use the most standard use case model, a manage and select user:
The Manage User use case is responsible for managing a User entity and the Select User use case will enable you to select which user to maintain. The screen flow will look like this:
What happens when a user starts the use case Manage User by clicking a menu item is detailed in following sequence diagram:
On the main web page there is a menu for the actor Web User called WebUserMenu.ascx. It contains a menu item for maintaining users and when clicked it will start the Manage User use case.
This is how the code of the ManageUserTask looks like:
The code behind of the ManageUser page contains following lines:
(Note: The Bind() method is called from the Page_Load in the base class WebView)
On the other hand, the select use case SelectUserTask has the code...
... and the code behind of the SelectUser page: