GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::Workflow::Persister::DBI(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::Persister::DBI(3)

OpenXPKI::Server::Workflow::Persister::DBI

Implements the OpenXPKI Workflow persister using the OpenXPKI DBI infrastructure. We do not subclass the Workflow::Persister::DBI here because we'd like to have a single SQL abstraction layer in the main DBI module.

For a description of the exported functions please refer to the Workflow module documentation.

Initializes the persister (assigns sequence generators).

Creates a workflow instance object.

Fetches a workflow instance object from the persistant storage.

Fetches a workflow's context from persistant storage.

Updates a workflow instance object in persistant storage.

Limitation: Context values must consist of valid Unicode characters. NULL bytes are explicitly not allowed. Binary data storage is NOT possible.

Limitation: The maximum length of context values is 32 KByte.

Limitation: If the parameter value is 'undef' the parameter will not be persisted. After restoring the workflow instance from persistent storage the corresponding entry will not exist.

Volatile Context Parameters

Context parameters starting with an underscore '_' will NOT be saved persistently in the database. You can use such parameters for storing truly temporary data that does not need to be stored in the database (and that will NOT survive saving and retrieving the workflow instance from the database!) or e. g. for caching objects that can also be retrieved from the database.

Such volatile context parameters can have arbitrary size, may contain arbitrary Perl data structures (including Object references) or arbitrary binary data.

Creates a workflow history entry.

Fetches a workflow history object from the persistant storage.

Tries to update the "proc_state" in the database to $new_state.

Returns 1 on success and 0 if e.g. another parallel process already changed the given $old_state.

2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.