Bric::Biz::Workflow::Parts::Desk

Name

Bric::Biz::Workflow::Parts::Desk - Desks in Workflow

Synopsis

use Bric::Biz::Workflow::Parts::Desk;

my $desk = new Bric::Biz::Workflow::Parts::Desk($init);

my $desk = lookup Bric::Biz::Workflow::Parts::Desk($param);

my @dsks = list Bric::Biz::Workflow::Parts::Desk($param);

my $name = $desk->get_name;
my $desk = $desk->set_name($name);

my $dscr = $desk->get_description;
my $desk = $desk->set_description($dscr);

$desk    = $desk->link_desk($param)

$desk    = $desk->unlink_desk({});

$desk    = $desk->add_rule({'rule_pkg'  => $pkg,
                            'rule_name' => $name})

$desk    = $desk->del_rule({'rule_pkg'  => $pkg, 'rule_name' => $name});

# Return a list of assets on this desk.
@assets  = $desk->assets();

# Transfer a asset to a different desk.
$ret     = $desk->transfer($param);

# Accept a asset from another desk.
$ret     = $desk->accept($param);

$desk    = $desk->save;

Description

A desk is something that defines the steps in a workflow. Assets arrive at a desk and remain there until they are approved and moved to the next desk in the workflow.

A desk may have any number of assets associated with it at any time. Users may checkout copies of these assets from the desk, make changes to them and check them back into the desk. Users may also get read only copies.

Interface

Constructors

Destructors

Public Class Methods

Public Instance Methods

Private

Private Class Methods

NONE

Private Instance Methods

A few of these still need documenting.

Private Functions

Notes

NONE

Author

Garth Webb

See Also

Bric, Bric::Biz::Workflow, perl