public class NotePageIndexValidationStrategy extends Object implements NoteValidationStrategy
| Constructor and Description |
|---|
NotePageIndexValidationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(NoteInfo ctx,
CommentModel comment)
Validates
Note against the given CommentModel. |
public void validate(NoteInfo ctx, CommentModel comment) throws CometException, CometValidationException
NoteValidationStrategyNote against the given CommentModel. NoteInfo may contain various information about the
conversion context including the Note. If validation fails, a CometException will be thrown.validate in interface NoteValidationStrategyctx - 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.