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::WFObject(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::WFObject(3)

OpenXPKI::Server::Workflow::WFObject

sub _get_data_ref : RESTRICTED { my ($self) = @_; return $data_ref{ ident $self }; }

sub _will_need_update : RESTRICTED { $need_update{ ident $self }++; } }

1;

__END__

OpenXPKI::Server::Workflow::WFObject

WFObject is the root class for the data objects like WFArray and WFHash. It is used to manage the basic attributes and serialization needed by the inheriting classes. It inherits from Class::Std.

  my $queue = OpenXPKI::Server::Workflow::WFObject::WFArray->new(
    { workflow => $workflow,
    context_key => 'my_queue' } );

  print "my queue contains ", $queue->count, " element(s).\n";

Default accessor methods are available for the supported properties, depending on how they are declared.
new
When creating a new instance, the named-parameter list with the keys "workflow" and "context_key" is passed. When creating a new parameter, use the corresponding data type (e.g.: WFArray). If the parameter already exists, WFObject will try to determine the current contents and return the correct object type.
get
The read accessor is available as the name of the property prepended with 'get_'. The current value of the property is returned.
set
The write accessor is available as the name of the property prepended with 'set_'. The new value is passed as a parameter.

A reference to the current workflow instance.

The name of the workflow context parameter where the data structure is (to be) stored.

The following subroutines are only available to the class itself.

Reads and deserializes the contents of the workflow context parameter.
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.