|
Last change
on this file since 128 was
127,
checked in by gav, 17 years ago
|
|
Logins now route through a welcome action to allow flash message and user environment setup. Session timeout now user configurable and defaults to 12 hours. Work on Planned Maintenance.
|
|
File size:
794 bytes
|
| Rev | Line | |
|---|
| [127] | 1 | class TaskAction { |
|---|
| 2 | Task task |
|---|
| [121] | 3 | MaintenancePolicy maintenancePolicy |
|---|
| [122] | 4 | SystemSection systemSection |
|---|
| [121] | 5 | Asset asset |
|---|
| 6 | AssetType assetType |
|---|
| 7 | Assembly assembly |
|---|
| 8 | SubAssembly subAssembly |
|---|
| 9 | ComponentItem componentItem |
|---|
| [127] | 10 | String action |
|---|
| [121] | 11 | String reasoning = "" |
|---|
| [127] | 12 | Integer stepNumber |
|---|
| [118] | 13 | boolean isActive = true |
|---|
| 14 | |
|---|
| [121] | 15 | // static hasMany = [] |
|---|
| 16 | |
|---|
| [127] | 17 | // static belongsTo = [] |
|---|
| [121] | 18 | |
|---|
| [122] | 19 | static constraints = { |
|---|
| 20 | systemSection(blank:true, nullable:true) |
|---|
| 21 | asset(blank:true, nullable:true) |
|---|
| 22 | assetType(blank:true, nullable:true) |
|---|
| 23 | assembly(blank:true, nullable:true) |
|---|
| 24 | subAssembly(blank:true, nullable:true) |
|---|
| 25 | componentItem(blank:true, nullable:true) |
|---|
| [127] | 26 | stepNumber(blank:true, nullable:true) |
|---|
| [122] | 27 | } |
|---|
| [118] | 28 | |
|---|
| 29 | String toString() { |
|---|
| [124] | 30 | "${this.action}" |
|---|
| [118] | 31 | } |
|---|
| 32 | } |
|---|
| 33 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.