/**
* Creates a draft of existing defined role.
*
* Sets status to Role::STATUS_DRAFT on the new returned draft.
*
* @param mixed $roleId
*
* @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If role with defined status is not found
*
* @return \eZ\Publish\SPI\Persistence\User\Role
*/
public function createRoleDraft($roleId)
{
$createStruct = $this->mapper->createCreateStructFromRole($this->loadRole($roleId));
return $this->internalCreateRole($createStruct, $roleId);
}