Narrative
A client submits a request to the Registration action for a new User account for the username "trillian". The Action object queries the database to see if the user exists, and then obtains a new User object for "trillian". The Action stores the User object in the client's session, and returns "success". The system matches "success" with a result object that presents the "Menu" page.
Goal
Goal |
Execute Action |
Level |
Subfunction |
(User Goal, Summary, Subfunction) |
Trigger |
Dispatcher selects Mapping |
Primary Actor |
Framework |
Main Success Scenario (MSS)
Step |
Action |
1 |
Client submits a request for a resource handled by the framework. |
2 |
Framework matches location to an action mapping. |
3 |
Framework invokes Action class associated with action mapping. |
4 |
Action handles transaction and returns result ID. |
5 |
Framework matches result ID to result object. |
6 |
Framework invokes result object. |
7 |
Framework (via Container) transfers (or redirects) control to result resource. |
8 |
Resource renders response. |
Extensions
Step |
Branching Action |
|
|
1a |
|
.1 |
|
|
|
2a |
|
.1 |
|
|
Preconditions and Guarantees
Preconditions |
|
Minimal Guarantees |
|
Success Guarantees |
|
Stakeholders and Interests
Variations