Public Member Functions | |
take (Identifiable $object) | |
add (Identifiable $object) | |
save (Identifiable $object) | |
import (Identifiable $object) | |
Protected Member Functions | |
inject (InsertOrUpdateQuery $query, Identifiable $object) |
Definition at line 16 of file StorableDAO.class.php.
StorableDAO::take | ( | Identifiable $ | object | ) |
Definition at line 18 of file StorableDAO.class.php.
References Identifiable::getId(), and save().
StorableDAO::add | ( | Identifiable $ | object | ) |
Definition at line 26 of file StorableDAO.class.php.
References DBPool::getByDao(), GenericDAO::getSequence(), inject(), and OSQL::insert().
StorableDAO::save | ( | Identifiable $ | object | ) |
Definition at line 39 of file StorableDAO.class.php.
References Expression::eqId(), GenericDAO::getIdName(), inject(), and OSQL::update().
Referenced by take().
StorableDAO::import | ( | Identifiable $ | object | ) |
Definition at line 50 of file StorableDAO.class.php.
References inject(), and OSQL::insert().
StorableDAO::inject | ( | InsertOrUpdateQuery $ | query, | |
Identifiable $ | object | |||
) | [protected] |
Definition at line 59 of file StorableDAO.class.php.
References GenericDAO::checkObjectType(), InsertOrUpdateQuery::drop(), DBPool::getByDao(), Identifiable::getId(), GenericDAO::getIdName(), GenericDAO::getTable(), Identifiable::setId(), and GenericDAO::uncacheById().
Referenced by add(), import(), and save().