The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Solstice::Model::Freezer - An interface for freeze/thaw based models.

SYNOPSIS

# See Solstice::Model.

DESCRIPTION

This module overrides _init and store, using a freeze/thaw mechanism as a data storage engine. It saves/loads everything that is in the accessor definition.

Export

No symbols exported.

Methods

new([$id])

Returns a new object. If an id if passed in, it will be initialized.

store()

Saves the object

delete()

Removes the object from the data store.

getAllIDs()

provides an Solstice::List of all the ids of this class

Private Functions

_getDBPath()

Returns the full path to the object store.

_initialize($id)

Loads the object from DBM::Deep

_getDB()

Returns the DBM::Deep object.

_generateID()

This will generate an id string, if an object doesn't have an existing id.

Modules Used

DBM::Deep, Solstice::Model.

AUTHOR

Catalyst Group, <catalyst@u.washington.edu>

VERSION

$Revision: 2393 $

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.