final DocumentCommandValidator validator = new DocumentCommandValidator(documentCommand);
validateParentEntityType(documentCommand);
validator.validateForCreate();
final ContentRepository contentRepository = this.contentRepositoryFactory.getRepository();
final String fileLocation = contentRepository.saveFile(inputStream, documentCommand);