protected function storeNode($path, $properties)
{
$nodeIdentifier = $this->getIdentifier($path, $properties);
$type = isset($properties['jcr:primaryType']) ? $properties['jcr:primaryType']->getValue() : "nt:unstructured";
$this->syncNode($nodeIdentifier, $path, $type, true, $properties);
return true;
}