Bric::Biz::Asset::Business::Parts::Tile::Data - The tile class that contains the business data
$Revision: 1.2.2.4 $
$Date: 2001/11/06 23:18:33 $
# Creation of New Objects
$tile = Bric::Biz::Asset::Business::Parts::Tile::Data->new( $param)
$tile = Bric::Biz::Asset::Business::Parts::Tile::Data->lookup( { id => $id })
($tile_list, @tiles) = Bric::Biz::Asset::Business::Parts::Tile::Data->list
( $criteria )
# Retrieval of Object IDs
($id_list || @ids) = = Bric::Biz::Asset::Business::Parts::Tile::Data->list_ids
( $criteria )
# Manipulation of Data Field
$tile = $tile->set_data( $data_asset )
$data_asset = $tile->get_data()
This class holds the Business Asset Parts Data objects in a tile
This will create a new tile object with the given state defined by the optional initial state argument
Supported Keys:
active
obj_type (story || media)
obj_id
place
element_data_id
parent_id
throws:
NONE
side effects:
NONE
notes:
NONE
This will return an existing tile object that is defined by the given criteria
throws:
NONE
side effects:
NONE
notes:
NONE
This will return a list or list ref of tiles that match the given criteria
Supported Keys:
active
obj
obj_type
obj_id
ref_type
ref_id
place *
element_data_id
parent_id
throws:
NONE
side effects:
NONE
notes:
NONE
a dummy method to save auto load some time
This will return a list or list ref of tile ids that match the given criteria
Supported Keys:
throws:
NONE
side effects:
NONE
notes:
NONE
Returns the asset type data object associated with this data tile
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
This will create the attribute on the business asset and store it in this tile
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Returns the given business data from the tile
throws:
NONE
side effects:
NONE
notes:
NONE
Business Data has to clone its self from time to time. Since tiles store the business data, this method prepares them to be cloned. It will set the id to undef and will be updated with new info come save time
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Returns the fact that this is not a container tile
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Tells if this is an autopopulated tile
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
For tiles that are autopopulated, this will prevent the value from being autopopulated
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
unsets the lock val flag
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Returns if the tile has been locked
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Saves the chenges made to the database
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Called by list or list_ids this returns either a list of ids or a list of objects, depending on the caller
Throws:
"Object of type $obj_class not allowed to be tiled"
"improper args for list"
Side Effects:
NONE
Notes:
NONE
inserts the row into the database
Throws:
'Object must be a media or story to add tiles'
Side Effects:
NONE
Notes:
NONE
Updates the row in the database
Throws:
'Object must be a media or story to add tiles'
Side Effects:
NONE
Notes:
NONE
Returns the asset type data object
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Returns the sql type for this object.
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Returns the name of the table this object uses. This method can act as a class or instance method depending on how its called.
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
NONE
"Michael Soderstrom" <miraso@pacbell.net> Bricolage Engineering
perl, Bric, Bric::Biz::Asset, Bric::Biz::Asset::Business, Bric::Biz::Asset::Business::Parts::Tile
Hey! The above document had some coding errors, which are explained below:
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
You forgot a '=back' before '=head1'
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
'=item' outside of any '=over'