public interface NoteValidationStrategy
CommentModel via Notes2PageTranslatorService.
Validation may fail and throw a CometException.| Modifier and Type | Method and Description |
|---|---|
void |
validate(NoteInfo noteInfo,
CommentModel comment)
Validates
Note against the given CommentModel. |
void validate(NoteInfo noteInfo, CommentModel comment) throws CometException, CometValidationException
Note against the given CommentModel. NoteInfo may contain various information about the
conversion context including the Note. If validation fails, a CometException will be thrown.noteInfo - The NoteInfo containing all required information for validation and conversion.comment - The CommentModel where the note should be converted to.CometException - whenever a validation violation occurres.CometValidationException - if validation failed.Copyright © 2017 SAP SE. All Rights Reserved.