/**
  * Load item by registry id and product id
  *
  * @param Enterprise_GiftRegistry_Model_Item $object
  * @param int $registryId
  * @param int $productId
  * @return Enterprise_GiftRegistry_Model_Resource_Item
  */
 public function loadByProductRegistry($object, $registryId, $productId)
 {
     $adapter = $this->_getReadAdapter();
     $select = $adapter->select()->from($this->getMainTable())->where('entity_id = :entity_id')->where('product_id = :product_id');
     $bind = array(':entity_id' => (int) $registryId, ':product_id' => (int) $productId);
     $data = $adapter->fetchRow($select, $bind);
     if ($data) {
         $object->setData($data);
     }
     $this->_afterLoad($object);
     return $this;
 }