Hyper::Workflow::Default - Default Workflow for Hyper |
Hyper::Workflow::Default - Default Workflow for Hyper
This document describes Hyper::Workflow::Default 0.02
use Hyper::Workflow::Default; my $workflow = Hyper::Workflow::Default->new(); $workflow->work();
Default is configurable via the Hyper::Singleton::Context manpage or points to the Hyper::Application::Default manpage.
[Class] application=Hyper::Application::Minimal
Private attribute needed for _set_from_cgi in the Hyper::Control::Base manpage
Private attribute needed for _set_from_cgi in the Hyper::Control::Base manpage
Set application class with data from config attribute if it's false.
Start a the workflow.
Create new cache for persistence or get existant cache. The CGI param uuid is used as cache id.
Get service from cgi param s(ervice) or from the cache if existant.
Get usecase from cgi param u(secase) or from the cache if existant.
Start a hyper workflow (Default, Single Validation, Group Validation)
my $base_control = Hyper::Control::Base::BPushButton->new(); $workflow->set_show_state($base_control);
Sets show state of $base_control in the current workflow viewstate. This is used to do the Hyper::Control::Base manpage::_set_from_cgi on thaw only if this element was shown in an viestate (see get_show_state).
my $base_control = Hyper::Control::Base::BPushButton->new(); my $was_shown = $workflow->get_show_state($base_control);
Indicates if a Base Control was shown in current viewstate.
Use the Hyper::Singleton::Context manpage for your configuration.
[Global] namespace=YourNamespace
[Class] application=Hyper.Application.Any
Storable
$Author: ac0v $
$Id: Default.pm 528 2009-01-11 05:43:02Z ac0v $
$Revision: 528 $
$Date: 2009-01-11 06:43:02 +0100 (So, 11 Jan 2009) $
$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/tags/0.05/lib/Hyper/Workflow/Default.pm $
Andreas Specht <ACID@cpan.org>
Copyright (c) 2007, Andreas Specht <ACID@cpan.org>
.
All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Hyper::Workflow::Default - Default Workflow for Hyper |