NAME

Bric::Biz::Asset::Business::Parts::Tile - Tile maps a particular Asset Part Data object to a formatting Asset

VERSION

$Revision: 1.9 $

DATE

$Date: 2003/02/25 05:12:22 $

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

($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

$meths = Bric::Biz::Asset::Business::Parts::Tile->my_meths
(@meths || $meths_aref) = Bric::Biz::Asset::BusinessParts::Tile->my_meths(TRUE)
my (@meths || $meths_aref) = Bric::Biz:::Asset::BusinessParts::Tile->my_meths(0, TRUE)

Returns an anonymous hash of introspection data for this object. If called with a true argument, it will return an ordered list or anonymous array of introspection data. If a second true argument is passed instead of a first, then a list or anonymous array of introspection data will be returned for properties that uniquely identify an object (excluding id, which is assumed).

Each hash key is the name of a property or attribute of the object. The value for a hash key is another anonymous hash containing the following keys:

Throws: NONE.

Side Effects: NONE.

Notes: NONE.

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

NON

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