View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-workflows/trunk/reviewed-actions-workflow/src/workflow/ReviewedActionsWorkflow.xml
Revision: 4906
Committed: Thu Feb 8 11:12:19 2007 UTC (15 years, 3 months ago) by nvankampenhout
Content type: text/xml
File size: 22441 byte(s)
Log Message:
WFREVACT-5: added "move document" action

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE workflow PUBLIC "-//OpenSymphony Group//DTD OSWorkflow 2.7//EN" "http://www.opensymphony.com/osworkflow/workflow_2_7.dtd">
3 <workflow>
4 <meta name="queryDefinitions">ReviewedActionsQueries.xml</meta>
5 <meta name="authorizerClass">nl.hippo.cms.workflow.DocumentPermissionsBasedAuthorizer</meta>
6 <initial-actions>
7 <action name="start" id="1001">
8 <pre-functions>
9 <function type="class">
10 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreLocationFunction</arg>
11 </function>
12 <function type="class">
13 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreCreatorFunction</arg>
14 </function>
15 </pre-functions>
16 <results>
17 <unconditional-result old-status="n/a" status="n/a" step="2" />
18 </results>
19 </action>
20 </initial-actions>
21 <common-actions>
22 <action name="unpublishNow" id="1001">
23 <meta name="label">cms.workflows.reviewedactions.unpublishnow</meta>
24 <meta name="slideLocation">hippo-reviewed-actions</meta>
25 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
26 <restrict-to>
27 <conditions>
28 <condition type="class">
29 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.IsPublishedCondition</arg>
30 </condition>
31 </conditions>
32 </restrict-to>
33 <pre-functions>
34 <function type="class">
35 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
36 </function>
37 <function type="class">
38 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.VersionOnPublicationActionIfNeededFunction</arg>
39 <arg name="action">manual unpublication</arg>
40 <arg name="enablingProperty">createVersionOnUnpublication</arg>
41 <arg name="makeCopyOfLiveLocation">true</arg>
42 </function>
43 <function type="class">
44 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CancelPublicationTasksFunction</arg>
45 </function>
46 <function type="class">
47 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearPublicationDatesFunction</arg>
48 </function>
49 <function type="class">
50 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.RemoveObjectFromLiveRepositoryFunction</arg>
51 </function>
52 <function type="class">
53 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreLatestUnpublicationDateFunction</arg>
54 </function>
55 </pre-functions>
56 <results>
57 <unconditional-result old-status="n/a" status="n/a" step="-1" />
58 </results>
59 </action>
60 <action name="delete" id="1002">
61 <meta name="label">cms.workflows.reviewedactions.delete</meta>
62 <meta name="standardUIAction">hippo.cms.delete</meta>
63 <meta name="groupAction">hippo.cms.delete</meta>
64 <meta name="slideLocation">hippo-reviewed-actions</meta>
65 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
66 <pre-functions>
67 <function type="class">
68 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
69 </function>
70 <function type="class">
71 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CancelPublicationTasksFunction</arg>
72 </function>
73 <function type="class">
74 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.RemoveObjectFromLiveRepositoryFunction</arg>
75 </function>
76 </pre-functions>
77 <results>
78 <unconditional-result old-status="n/a" status="n/a" step="6" />
79 </results>
80 </action>
81 <action name="publish" id="1003">
82 <meta name="label">cms.workflows.reviewedactions.publish</meta>
83 <meta name="groupAction">hippo.cms.publish</meta>
84 <meta name="slideLocation">hippo-reviewed-actions</meta>
85 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
86 <meta name="inputSchema">PublicationRelatedInputSchema.xml</meta>
87 <meta name="inputForm">PublicationRelatedInputForm.xml</meta>
88 <meta name="initialDataRetrieverClass">nl.hippo.cms.workflows.reviewedactions.PublishInitialDataRetriever</meta>
89 <pre-functions>
90 <function type="class">
91 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
92 </function>
93 <function type="class">
94 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CancelPublicationTasksFunction</arg>
95 </function>
96 <function type="class">
97 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearScheduledPublicationDatesFunction</arg>
98 </function>
99 <function type="class">
100 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.DeterminePublicationDatesFunction</arg>
101 </function>
102 <function type="class">
103 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearRequestedPublicationDatesFunction</arg>
104 </function>
105 <function type="class">
106 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearLatestUnpublicationDateFunction</arg>
107 </function>
108 </pre-functions>
109 <results>
110 <result old-status="n/a" status="n/a" step="3">
111 <conditions>
112 <condition type="class">
113 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.PublicationDateAfterNowCondition</arg>
114 </condition>
115 </conditions>
116 <pre-functions>
117 <function type="class">
118 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreScheduledPublicationDatesFunction</arg>
119 </function>
120 <function type="class">
121 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StartPublicationTaskFunction</arg>
122 </function>
123 </pre-functions>
124 </result>
125 <unconditional-result old-status="n/a" status="n/a" step="2">
126 <pre-functions>
127 <function type="class">
128 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.VersionOnPublicationActionIfNeededFunction</arg>
129 <arg name="action">manual publication</arg>
130 <arg name="enablingProperty">createVersionOnPublication</arg>
131 <arg name="makeCopyOfLiveLocation">false</arg>
132 </function>
133 <function type="class">
134 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StorePublicationDatesFunction</arg>
135 </function>
136 <function type="class">
137 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CopyObjectToLiveRepositoryFunction</arg>
138 </function>
139 </pre-functions>
140 </unconditional-result>
141 </results>
142 <post-functions>
143 <function type="class">
144 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StartUnpublicationTaskFunction</arg>
145 </function>
146 </post-functions>
147 </action>
148 <action name="scheduledUnpublication" id="1004">
149 <meta name="visibility">internal</meta>
150 <pre-functions>
151 <function type="class">
152 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
153 </function>
154 <function type="class">
155 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.VersionOnPublicationActionIfNeededFunction</arg>
156 <arg name="action">scheduled unpublication</arg>
157 <arg name="enablingProperty">createVersionOnUnpublication</arg>
158 <arg name="makeCopyOfLiveLocation">true</arg>
159 </function>
160 <function type="class">
161 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearUnpublicationTaskIdFunction</arg>
162 </function>
163 <function type="class">
164 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearPublicationDatesFunction</arg>
165 </function>
166 <function type="class">
167 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.RemoveObjectFromLiveRepositoryFunction</arg>
168 </function>
169 <function type="class">
170 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreLatestUnpublicationDateFunction</arg>
171 </function>
172 </pre-functions>
173 <results>
174 <unconditional-result old-status="n/a" status="n/a" step="-1" />
175 </results>
176 </action>
177 <action name="saveDraft" id="1005">
178 <meta name="label">cms.workflows.reviewedactions.savedraft</meta>
179 <meta name="slideLocation">hippo-reviewed-actions</meta>
180 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
181 <meta name="inputSchema">SaveDraftInputSchema.xml</meta>
182 <meta name="inputForm">SaveDraftInputForm.xml</meta>
183 <pre-functions>
184 <function type="class">
185 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
186 </function>
187 <function type="class">
188 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.SaveDraftFunction</arg>
189 </function>
190 </pre-functions>
191 <results>
192 <unconditional-result old-status="n/a" status="n/a" step="-1" />
193 </results>
194 </action>
195
196 <!-- WFREVACT-5 move document action -->
197 <action name="moveDocument" id="1006">
198 <meta name="label">cms.workflows.reviewedactions.movedocument</meta>
199 <meta name="slideLocation">hippo-reviewed-actions</meta>
200 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
201 <meta name="inputSchema">MoveDocumentInputSchema.xml</meta>
202 <meta name="inputForm">MoveDocumentInputForm.xml</meta>
203 <pre-functions>
204 <function type="class">
205 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.MoveDocumentFunction</arg>
206 </function>
207 </pre-functions>
208 <results>
209 <unconditional-result old-status="n/a" status="n/a" step="2"/>
210 </results>
211 </action>
212
213 </common-actions>
214 <steps>
215 <!-- -->
216 <!-- Editable -->
217 <!-- -->
218 <step name="editable" id="2">
219 <actions>
220 <common-action id="1001" />
221 <common-action id="1002" />
222 <common-action id="1003" />
223 <common-action id="1004" />
224 <common-action id="1005" />
225
226 <!-- WFREVACT-5 move document action -->
227 <common-action id="1006" />
228
229 <action name="save" id="2003">
230 <meta name="label">cms.workflows.reviewedactions.save</meta>
231 <meta name="standardUIAction">hippo.cms.save</meta>
232 <meta name="groupAction">hippo.cms.save</meta>
233 <meta name="slideLocation">hippo-reviewed-actions</meta>
234 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
235 <pre-functions>
236 <function type="class">
237 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
238 </function>
239 <function type="class">
240 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreModifierFunction</arg>
241 </function>
242 </pre-functions>
243 <results>
244 <unconditional-result old-status="n/a" status="n/a" step="2" />
245 </results>
246 </action>
247 <action name="requestPublication" id="2005">
248 <meta name="label">cms.workflows.reviewedactions.requestpublication</meta>
249 <meta name="slideLocation">hippo-reviewed-actions</meta>
250 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
251 <meta name="inputSchema">PublicationRelatedInputSchema.xml</meta>
252 <meta name="inputForm">PublicationRelatedInputForm.xml</meta>
253 <meta name="initialDataRetrieverClass">nl.hippo.cms.workflows.reviewedactions.RequestPublicationInitialDataRetriever</meta>
254 <pre-functions>
255 <function type="class">
256 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
257 </function>
258 <function type="class">
259 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreLocationFunction</arg>
260 </function>
261 <function type="class">
262 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreRequestedPublicationDatesFunction</arg>
263 </function>
264 </pre-functions>
265 <results>
266 <unconditional-result old-status="n/a" status="n/a" step="4" />
267 </results>
268 </action>
269 <action name="requestDeletion" id="2007">
270 <meta name="label">cms.workflows.reviewedactions.requestdeletion</meta>
271 <meta name="slideLocation">hippo-reviewed-actions</meta>
272 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
273 <pre-functions>
274 <function type="class">
275 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
276 </function>
277 <function type="class">
278 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreLocationFunction</arg>
279 </function>
280 </pre-functions>
281 <results>
282 <unconditional-result old-status="n/a" status="n/a" step="5" />
283 </results>
284 </action>
285 </actions>
286 </step>
287 <!-- -->
288 <!-- Waiting for publication -->
289 <!-- -->
290 <step name="waitingForPublication" id="3">
291 <actions>
292 <common-action id="1001" />
293 <common-action id="1003" />
294 <common-action id="1004" />
295 <action name="scheduledPublication" id="3004">
296 <meta name="visibility">internal</meta>
297 <pre-functions>
298 <function type="class">
299 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
300 </function>
301 <function type="class">
302 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.VersionOnPublicationActionIfNeededFunction</arg>
303 <arg name="action">scheduled publication</arg>
304 <arg name="enablingProperty">createVersionOnPublication</arg>
305 <arg name="makeCopyOfLiveLocation">false</arg>
306 </function>
307 <function type="class">
308 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearPublicationTaskIdFunction</arg>
309 </function>
310 <function type="class">
311 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.MoveScheduledPublicationDateToPublicationDateFunction</arg>
312 </function>
313 <function type="class">
314 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CopyObjectToLiveRepositoryFunction</arg>
315 </function>
316 </pre-functions>
317 <results>
318 <unconditional-result old-status="n/a" status="n/a" step="2" />
319 </results>
320 </action>
321 <action name="cancelPublication" id="3005">
322 <meta name="label">cms.workflows.reviewedactions.cancelpublication</meta>
323 <meta name="slideLocation">hippo-reviewed-actions</meta>
324 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
325 <pre-functions>
326 <function type="class">
327 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
328 </function>
329 <function type="class">
330 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CancelPublicationTasksFunction</arg>
331 </function>
332 <function type="class">
333 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearScheduledPublicationDatesFunction</arg>
334 </function>
335 </pre-functions>
336 <results>
337 <unconditional-result old-status="n/a" status="n/a" step="2" />
338 </results>
339 </action>
340 <action name="cancelPublicationForEditor" id="3006">
341 <meta name="label">cms.workflows.reviewedactions.cancelpublication</meta>
342 <meta name="slideLocation">hippo-reviewed-actions</meta>
343 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
344 <pre-functions>
345 <function type="class">
346 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
347 </function>
348 <function type="class">
349 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CancelPublicationTasksFunction</arg>
350 </function>
351 <function type="class">
352 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearScheduledPublicationDatesFunction</arg>
353 </function>
354 </pre-functions>
355 <results>
356 <unconditional-result old-status="n/a" status="n/a" step="2" />
357 </results>
358 </action>
359 </actions>
360 </step>
361 <!-- -->
362 <!-- Waiting for publication review -->
363 <!-- -->
364 <step name="waitingForPublicationReview" id="4">
365 <actions>
366 <common-action id="1001" />
367 <common-action id="1003" />
368 <common-action id="1004" />
369 <common-action id="1005" />
370 <action name="saveForEditor" id="4003">
371 <meta name="label">cms.workflows.reviewedactions.save</meta>
372 <meta name="standardUIAction">hippo.cms.save</meta>
373 <meta name="slideLocation">hippo-reviewed-actions</meta>
374 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
375 <pre-functions>
376 <function type="class">
377 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
378 </function>
379 <function type="class">
380 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreModifierFunction</arg>
381 </function>
382 </pre-functions>
383 <results>
384 <unconditional-result old-status="n/a" status="n/a" step="4" />
385 </results>
386 </action>
387 <action name="cancelPublication" id="4005">
388 <meta name="label">cms.workflows.reviewedactions.cancelpublication</meta>
389 <meta name="slideLocation">hippo-reviewed-actions</meta>
390 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
391 <pre-functions>
392 <function type="class">
393 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
394 </function>
395 <function type="class">
396 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.ClearRequestedPublicationDatesFunction</arg>
397 </function>
398 </pre-functions>
399 <results>
400 <unconditional-result old-status="n/a" status="n/a" step="2" />
401 </results>
402 </action>
403 <action name="disapprovePublication" id="4006">
404 <meta name="label">cms.workflows.reviewedactions.disapprovepublication</meta>
405 <meta name="groupAction">hippo.cms.disapprovePublication</meta>
406 <meta name="slideLocation">hippo-reviewed-actions</meta>
407 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
408 <meta name="inputSchema">DisapprovalRelatedInputSchema.xml</meta>
409 <meta name="inputForm">DisapprovalRelatedInputForm.xml</meta>
410 <pre-functions>
411 <function type="class">
412 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
413 </function>
414 <function type="class">
415 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreDisapprovalReasonFunction</arg>
416 </function>
417 </pre-functions>
418 <results>
419 <unconditional-result old-status="n/a" status="publicationDisapproved" step="2" />
420 </results>
421 </action>
422 </actions>
423 </step>
424 <!-- -->
425 <!-- Waiting for deletion review -->
426 <!-- -->
427 <step name="waitingForDeletionReview" id="5">
428 <actions>
429 <common-action id="1001" />
430 <common-action id="1002" />
431 <common-action id="1004" />
432 <common-action id="1005" />
433 <action name="cancelDeletion" id="5005">
434 <meta name="label">cms.workflows.reviewedactions.canceldeletion</meta>
435 <meta name="slideLocation">hippo-reviewed-actions</meta>
436 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
437 <pre-functions>
438 <function type="class">
439 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
440 </function>
441 </pre-functions>
442 <results>
443 <unconditional-result old-status="n/a" status="n/a" step="2" />
444 </results>
445 </action>
446 <action name="disapproveDeletion" id="5006">
447 <meta name="label">cms.workflows.reviewedactions.disapprovedeletion</meta>
448 <meta name="groupAction">hippo.cms.disapproveDeletion</meta>
449 <meta name="slideLocation">hippo-reviewed-actions</meta>
450 <meta name="namespaceUri">http://hippo.nl/cms/workflows/reviewed-actions</meta>
451 <meta name="inputSchema">DisapprovalRelatedInputSchema.xml</meta>
452 <meta name="inputForm">DisapprovalRelatedInputForm.xml</meta>
453 <pre-functions>
454 <function type="class">
455 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.CheckConsistencyFunction</arg>
456 </function>
457 <function type="class">
458 <arg name="class.name">nl.hippo.cms.workflows.reviewedactions.StoreDisapprovalReasonFunction</arg>
459 </function>
460 </pre-functions>
461 <results>
462 <unconditional-result old-status="n/a" status="deletionDisapproved" step="2" />
463 </results>
464 </action>
465 </actions>
466 </step>
467 <step name="deleted" id="6"/>
468 </steps>
469 </workflow>