Page History: Example Code
Compare Page Revisions
Page Revision: 2010/12/09 19:05
Example Code - Unit Tests
The Jetfire download contains example code contained in two projects, JetfireCoreExampleTests and
JetfireCode.
The core examples demonstrate use of the Jetfire code through documented unit tests.
Complete Applications
Hello World
===='ToDo' List====
The ToDo Workflows consist of:
- ToDoItem: something that is to be done by a user
- ToDoList: a list of ToDoItems. (It also has a Subject and ToolTip.)
Notes
- The ToDoList is a nicety that provides a mechanism for grouping ToDoItems.
- At the GUI, the user can access the ToDoList, track the status of individual ToDoItems.
- ToDoItem states: Started, Scheduled, Cancelled, Completed.
- ToDoList states: Started, Locked, Completed.
- Anyone can change anything in a Started object.
- Once the ToDoList is 'Locked', only the Owner (the logged user who created the object) can change properties in the ToDo List.
- Once the ToDoItem is 'Scheduled', only the Owner (the logged user who created the object) can change properties in the ToDo Item.
- Note the use of an access property to track who and when properties can be set and methods can be executed.