public interface NoteValidationService
Note
against a CommentModel. The NoteInfo contains additional information about the
PageModel.| Modifier and Type | Method and Description |
|---|---|
void |
validate(NoteInfo noteInfo,
CommentModel comment)
|
void validate(NoteInfo noteInfo, CommentModel comment) throws CometException, CometValidationException
Note within the NoteInfo
against the given CommentModel. If validation fails, a CometValidationException will be thrown.noteInfo - The given validation context which contains the required
Note and
PageModel.comment - The comment to validate the given Note
against.CometException - whenever a severe error occurred.CometValidationException - if validation failed.Copyright © 2017 SAP SE. All Rights Reserved.