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 Hyper::Singleton::Context or points to Hyper::Application::Default.
[Class] application=Hyper::Application::Minimal
Private attribute needed for _set_from_cgi in Hyper::Control::Base
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 Hyper::Control::Base::_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 Hyper::Singleton::Context for your configuration.
[Global] namespace=YourNamespace [Class] application=Hyper.Application.Any
version
Class::Std
Storable
Hyper
Hyper::Functions
Hyper::Singleton::CGI
Hyper::Singleton::Context
Hyper::Singleton::Container::Validator::Group
Hyper::Singleton::Container::Validator::Single
$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>
<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.
To install Hyper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hyper
CPAN shell
perl -MCPAN -e shell install Hyper
For more information on module installation, please visit the detailed CPAN module installation guide.