protected function deleteDocuments()
{
$this->document->delete();
unset($this->document);
$this->homeDocument->delete();
unset($this->homeDocument);
$this->parentDocument->delete();
unset($this->parentDocument);
$this->view->delete();
unset($this->view);
$this->layout->delete();
unset($this->layout);
$this->documentType->delete();
unset($this->documentType);
$this->user->delete();
unset($this->user);
}