NAME

Bric::Biz::ATType - A class to represent AssetType types.

VERSION

$Revision: 1.4.2.2 $

DATE

$Date: 2001/11/06 23:18:32 $

SYNOPSIS

use Bric::Biz::ATType;

DESCRIPTION

INTERFACE

Constructors

$obj = new Bric::Biz::ATType($init);

Keys for $init are:

Creates a new ATType object.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$obj = lookup Bric::Biz::ATType($key_id);

Retrieves an existing AT type from the database. Takes an AT Type ID.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

@objs = list Bric::Biz::ATType($param);

The possible keys to $param are the following;

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

(@ids || $ids) = Bric::Biz::Workflow->list_ids();

Return a list of IDs for all known at_type types.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

Destructors

$success = $attype->remove;

Deletes the AT type from the database.

Throws:

NONEEE

Side Effects:

NONE

Notes:

NONE

Public Class Methods

$val = my_meths->{$key}->[0]->($obj);

Introspect this object.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

Public Instance Methods

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

Get/Set the name of this AT type

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

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

Get/Set the description for this AT type.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$topl = $att->get_top_level();
$topl = $att->set_top_level(1 || 0);

Get/Set the top level flag.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$page = $att->get_paginated();
$page = $att->set_paginated(1 || 0);

Get/Set the paginated flag.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$att = $att->is_active;
$att = $att->activate;
$att = $att->deactivate;

Get/Set the active flag.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$att = $att->save;

Save the AT type and/or all changes to the database.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

Private Methods

Private Class Methods

NONE

Private Instance Methods

NONE

NOTES

NONE

AUTHOR

"Garth Webb" <garth@perijove.com> Bricolage Engineering

SEE ALSO

perl, Bric, Bric::Biz::AssetType

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 357:

You forgot a '=back' before '=head2'

Around line 368:

'=item' outside of any '=over'

Around line 400:

You forgot a '=back' before '=head2'

Around line 406:

'=item' outside of any '=over'

Around line 582:

You forgot a '=back' before '=head2'

Around line 588:

'=item' outside of any '=over'

Around line 759:

You forgot a '=back' before '=head2'

Around line 855:

=back without =over