10 class Workflow extends \Workspace\Workflow
16 protected $namespace = __NAMESPACE__;
20 protected $parentFeature = 'Stock';
24 protected $rootEntity = 'Auction';
28 protected $rootIdField = 'auction';
32 protected $initState = 'Active';
36 protected $initTrigger = false;
40 protected $primaryEntity = 'Auction';
44 protected $entityMap = array(
45 'Auction' => '\Auction\Entity\Auction',
46 'Stock' => '\Stock\Entity\Stock',
47 'Bid' => '\Auction\Entity\Bid',
48 'AutoBid' => '\Auction\Entity\AutoBid'
53 protected $linkMap = array();
57 protected $listen = array();
61 protected $reclaim = array();
65 protected $stateLabel = array();
69 protected $stateMap = array(
72 'Auction.Grid' => array(),
73 'Auction.HistoricGrid' => array(),
74 'Auction.HistoricMakeSelectList' => array(),
75 'Auction.HistoricModelSelectList' => array(),
76 'Auction.HistoricTypeSelectList' => array(),
77 'Auction.HistoricYearSelectList' => array(),
78 'Auction.AdminGrid' => array(),
79 'Basket.Grid' => array(),
80 'Bid.Create' => array(),
81 'AutoBid.Create' => array(),
82 'Increment.List' => array(),
83 'Increment.Create' => array(),
84 'Increment.Update' => array(),
85 'PublicHoliday.List' => array(),
86 'PublicHoliday.Create' => array(),
87 'PublicHoliday.Update' => array(),
88 'PublicHoliday.Delete' => array(),
89 'OpenDay.List' => array(),
90 'OpenDay.Create' => array(),
91 'OpenDay.Update' => array(),
92 'OpenDay.Delete' => array(),
93 'Question.AskedGrid' => array(),
94 'Question.ToAnswerGrid' => array(),
95 'Auction.Count' => array(),
96 'Pdf.PrintPortal' => array(),
101 'Auction.View' => array(),
102 'Auction.Remove' => array(),
103 'Pdf.Print' => array(),
104 'Pdf.PrintPortal' => array(),
105 'Basket.Create' => array(),
106 'Basket.SetStatus' => array(),
107 'Bid.Grid' => array(),
108 'Bid.Create' => array(),
109 'AutoBid.Create' => array(),
110 'Question.View' => array(),
111 'Question.Create' => array(),
112 'Reply.Create' => array()
115 'Workflow.ReturnToStock' => array(
116 'Destination' => 'Stock.Handover'
122 'Auction.View' => array(),
123 'Bid.Grid' => array(),
124 'Pdf.Print' => array(),
125 'Pdf.PrintPortal' => array(),
128 'Workflow.Archive' => array(
129 'Destination' => 'This.Archived'
135 'Auction.View' => array(),
136 'Bid.Grid' => array(),
137 'Pdf.Print' => array(),
138 'Pdf.PrintPortal' => array(),
141 'Workflow.Archive' => array(
142 'Destination' => 'This.Archived'
148 'Auction.View' => array(),
149 'Auction.Undo' => array(),
150 'Bid.Grid' => array(),
151 'Pdf.Print' => array(),
152 'Pdf.PrintPortal' => array(),
155 'Workflow.Archive' => array(
156 'Destination' => 'This.Archived'
162 'Auction.View' => array(),
163 'Bid.Grid' => array(),
164 'Pdf.Print' => array(),
165 'Pdf.PrintPortal' => array(),
166 'AutoBid.Create' => array(),
167 'Bid.Create' => array(),