public interface ValidationContext
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getChangedKeys()
Gets the keys whose values have changed between the current and new Revisions
|
SavedRevision |
getCurrentRevision()
The contents of the current revision of the document, or nil if this is a new document.
|
void |
reject()
Rejects the new Revision.
|
void |
reject(java.lang.String message)
Rejects the new Revision.
|
boolean |
validateChanges(ChangeValidator changeValidator)
Calls the ChangeValidator for each key/value that has changed, passing both the old
and new values.
|
SavedRevision getCurrentRevision()
java.util.List<java.lang.String> getChangedKeys()
void reject()
void reject(java.lang.String message)
boolean validateChanges(ChangeValidator changeValidator)