Bric::Biz::Workflow

NAME

Bric::Biz::Workflow - Controls the progress of an asset through a series of desks.

VERSION

$LastChangedRevision$

DATE

$LastChangedDate$

SYNOPSIS

my $flow = new Bric::Biz::Workflow($param);

$id    = $flow->get_id;

$name  = $flow->get_name;
$flow  = $flow->set_name($name);

$site_id = $flow->get_site_id;
$flow    = $flow->set_site_id($site_id);

$desc  = $flow->get_description;
$flow  = $flow->set_description($desc);

$flow  = $flow->add_desk($param);

# Returns a list of allowed desks.
@desks = $flow->allowed_desks();

# Lists the required desks
@desks = $flow->required_desks();

DESCRIPTION

A workflow is something that guides an asset through a set of desks, where an asset is any kind of creative content (a story, an image, a sound file, etc) and a desk performs and kind of validation or transformation upon an asset needed before it can be published. Example desks might be a 'legal' desk where users can verify any legal issue for a particular asset, or an 'edit' desk where users can check consistancy and presentation for an asset.

A workflow might be as simple as a linear path through a set of desks or as complex as requiring certain desks be visited with other desks optional and a route through the desks that can be arbitrarily complex.

INTERFACE

Constructors

Destructors

Public Class Methods

Public Instance Methods

Private Methods

NONE.

Private Class Methods

NONE.

Private Instance Methods

Private Functions

NOTES

NONE

AUTHOR

Garth Webb

SEE ALSO

Bric, Bric::Biz::Workflow::Parts::Desk, perl