public function addDocumentType($postValues)
    {
        $documentTypeObject = DocumentTypeFactory::createDocumentTypeFromPostValues($postValues);

        $documentTypes = $this->repository->documentTypes;
        $documentTypes[] = $documentTypeObject;
        $this->repository->documentTypes = $documentTypes;

        $this->save();
    }