NAME

Liz::TrackSet::Record - module for Record objects of the TrackSet


SYNOPSIS

 use Liz::TrackSet;
 $recordset = new Liz::TrackSet;

 $record = $recordset->Record;
 $record = $recordset->Record( $identifier );

 $record->update;


EXAMPLES


DESCRIPTION

Provide object oriented access to records in a TrackSet. Usually not accessed directly, but rather through the Liz::TrackSet object and its Record method.


BASIC METHODS


new

Create a new Record object from a TrackSet object.

Input Parameters

 1 Liz::TrackSet object
 2 ID to created Record object with
   (default: none = new record)
Output Parameters

 1 instantiated object
Note

It is not intended to call this method directly, but rather indirectly through the Liz::TrackSet module.

Example

 $recordset = new Liz::TrackSet;
 $record = $recordset->Record;
 $record = $recordset->Record( $identifier );


update

Update a Record object in the Liz::TrackSet database.

Output Parameters

 1 identifier with which the object was updated (undef = error)
Example

 $identifier = $record->update;


delete

Delete the Liz::TrackSet::Record object from the database.

Output Parameters

 1 flag: whether action was successful
Example

 $record->delete;


CONTENT METHODS

The following methods allow you to inspect and/or change certain fields of the Liz::TrackSet::Record object.


Created

Return the Created timestamp of the Liz::TrackSet::Record object.

Output Parameters

 1 current timestamp value of the Created date
Example

 $created = $record->Created;


Expired

Return or set the Expired timestamp of the Liz::TrackSet::Record object.

Input Parameters

 1 new timestamp of the Expired date
   (default: no change)
Output Parameters

 1 current/old timestamp value of the Expired date
Example

 $record->Expired( $expired );
 $expired = $record->Expired;


ExternalID

Return or set the ExternalID of the Liz::TrackSet::Record object.

Input Parameters

 1 new externalID
   (default: no change)
Output Parameters

 1 current/old externalID
Example

 $record->ExternalID( $externalID );
 $externalID = $record->ExternalID;


Identifier

Return the Identifier of the Liz::TrackSet::Record object.

Output Parameters

 1 current Identifier of the object
Example

 $identifier = $record->Identifier;


Options

Return or set the Options information of the Liz::TrackSet::Record object.

Input Parameters

 1 new name value of the Options
   (default: no change)
Output Parameters

 1 current/old name value of the Options
Example

 $record->Options( $options );
 $options = $record->Options;


Updated

Return the Updated timestamp of the Liz::TrackSet::Record object.

Output Parameters

 1 current timestamp value of the Updated date
Example

 $updated = $record->Updated;


AUTHOR

Elizabeth Mattijsen ( lizperl@INC.nl )


COPYRIGHT

(C) 1998-1999 International Network Consultants


HISTORY

Version 0.10, 30 September 1999

First version of this true Perl module. Copied from the Liz::EventSet::Event module.