up previous next contents
Up: Use Cases Previous: Clear Job Lock Next: Add a ACME Database   Contents


Exiting the Application

This use case defines the sequence of events that occurs when the user exits a session (Editor).

Notes

  1. The "Close All Editors" use case has been removed from this documentation. Each Editor must now be closed individually.

Actors

  1. External User
  2. Administrator

Pre-Conditions

  1. The ACME system is running on the user's system
  2. The user may have one or more ACME sessions running in separate ACME Editor frames

Basic Path: One Editor Frame is Open

  1. The user is using ACME, with one Editor frame open
  2. The user elects to "Close" the ACME Editor
  3. If there is no job in the Editor
    1. The system shuts itself down
  4. Else, if the job in the Editor is clean
    1. The system closes the ACME Editor frame (without prompting the user)
    2. The system removes any locks showing that this user had this job open
    3. The system shuts itself down
  5. Else, if the job in the Editor is dirty
    1. The system prompts the user that "The job 'JOBNAME' has been modified, save changes - y/n/cancel?"
      1. If the user selects "cancel", the shutdown operation will be stopped
      2. If the user selects "yes"
        1. The dirty job is saved
        2. Job module locks are released
        3. This ACME Editor is closed
        4. The system removes the database entry showing that this user had this job open
        5. The system shuts itself down
      3. If the user selects "no"
        1. The dirty job is not saved
        2. Job module locks are released
        3. This ACME Editor is closed
        4. The system removes the database entry showing that this user had this job open
        5. The system shuts itself down

Post-Conditions

  1. Job module locks are released (if they had been acquired)
  2. The informational lock on the job is released

"Used" Use Cases

N/A

Other Requirements

These are all new

  1. The option to close a ACME Editor shall be named "Close", and will appear under the "Job" menu
  2. Any time a job is closed:
    1. Locks on job modules shall be released
    2. The informational lock on the Job (proper) shall be released