public function getPropertiesForStoreDeletedNode()
{
if (!$this->isDeleted()) {
throw new InvalidItemStateException('You are not supposed to call this on a not deleted node');
}
$myProperty = $this->properties['jcr:primaryType'];
$myProperty->setClean();
$path = $this->getChildPath('jcr:primaryType');
$property = $this->factory->get('Property', array(array('type' => $myProperty->getType(), 'value' => $myProperty->getValue()), $path, $this->session, $this->objectManager));
$myProperty->setDeleted();
return array('jcr:primaryType' => $property);
}