NAME

Bric::Biz::Asset::Business::Parts::Tile

Tile maps a particular Asset Part Data object to a formatting Asset

VERSION

$Revision: 1.6 $

DATE

$Date: 2001/12/04 18:17:44 $

SYNOPSIS

($tile_list,@tiles) = Bric::Biz::Asset::Business::Parts::Tile->list($criteria)

$id = $tile->get_id()

$tile = $tile->activate()

$tile = $tile->deactivate()

(undef || 1) $tile->is_active()

$tile = $tile->save()

DESCRIPTION

Tile maps the asset part to a particular formatting asset. There are data tiles which map to the particular data points and container tiles that contain other tiles.

INTERFACE

Constructors

$tile = Bric::Biz::Asset::Business::Parts::Tile->new( {format => $fa})

This will return a new Tile object with the optional initial state of format and data

Supported Keys:

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

lookup - Method not supported

To look up a particular tile object go to it's class directly

Throws:

"Method not implemented"

Side Effects:

NONE

Notes:

NONE

($tile_list, @tiles) = Bric::Biz::Asset::Business::Parts::Tile->list ( $criteria )

This will return a list ( or list ref) of tile objects that match the given criteria

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

Destructors

$self->DESTROY

this is a dummy method to save time going through auto load

Public Class Methods

list_ids - Method not implemented

If you want to get a list of objects just use list, if you only want the ids go the the objects themselves

Throws:

"Method Not Implemented"

Side Effects:

NONE

Notes:

NONE

Public Instance Methods

(1 || 0) = $tile->has_name($name);

Test to see whether this tile has a name matching the argument $name. Returns 1 if the name is a match and 0 otherwise.

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$id = $tile->get_id()

Returns the database id of the tile object

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$tile = $tile->activate()

Makes the tile active if it was deactivated

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

$tile = $tile->deactivate()

Makes the tile inactive (deleted )

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

($tile || undef) $tile->is_active()

Returns 1 if the tile is active or undef if it has been deactivated

Throws:

NONE

Side Effects:

NONE

Notes:

NONE

PRIVATE

Private Class Methods

NONE

Private Instance Methods

NONE

NOTES

NONE

AUTHOR

michael soderstrom ( miraso@pacbell.net )

SEE ALSO

perl,Bric,Bric::Biz::Asset::Business::Story,Bric::Biz::Asset_type, Bric::Biz::Asset_type::Parts::Data,Bric::Biz::Asset::Business::Media

POD ERRORS

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

Around line 243:

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

Around line 245:

'=item' outside of any '=over'

Around line 258:

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

Around line 262:

'=item' outside of any '=over'

Around line 291:

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

Around line 297:

'=item' outside of any '=over'

Around line 435:

You forgot a '=back' before '=head1'