1Workflow::Persister::SPUOsPeSr(3C)ontributed Perl DocumeWnotraktfiloonw::Persister::SPOPS(3)
2
3
4
6 Workflow::Persister::SPOPS - Persist workflows using SPOPS
7
9 <persister name="SPOPSPersister"
10 class="Workflow::Persister::SPOPS"
11 workflow_class="My::Persist::Workflow"
12 history_class="My::Persist::History"/>
13
15 Overview
16
17 Use a SPOPS classes to persist your workflow and workflow history
18 information. Configuration is simple: just specify the class names and
19 everything else is done.
20
21 We do not perform any class initialization, so somewhere in your
22 server/process startup code you should have something like:
23
24 my $config = get_workflow_and_history_config();
25 SPOPS::Initialize->process({ config => $config });
26
27 This will generate the classes named in the persister configuration.
28
29 SPOPS Configuration
30
31 NOTE: The configuration for your workflow history object must use the
32 SPOPS::Tool::DateConvert to translate the 'history_date' field into a
33 DateTime object. We assume when we fetch the history object that this
34 has already been done.
35
36 METHODS
37
38 #=head3 init
39
40 #=head3 create_workflow
41
42 #=head3 fetch_workflow
43
44 #=head3 update_workflow
45
46 #=head3 create_history
47
48 #=head3 fetch_history
49
51 Workflow::Persister
52
53 SPOPS
54
55 SPOPS::Tool::DateConvert
56
58 Copyright (c) 2003-2004 Chris Winters. All rights reserved.
59
60 This library is free software; you can redistribute it and/or modify it
61 under the same terms as Perl itself.
62
64 Chris Winters <chris@cwinters.com>
65
66
67
68perl v5.8.8 2007-04-25 Workflow::Persister::SPOPS(3)