public static class DBSTransactionState.ChangeTokenUpdater extends Object
This may be called several times for a single DBS document update, because the low-level storage may need several database updates for a single high-level update in some cases.
| Modifier and Type | Field and Description |
|---|---|
protected DBSDocumentState |
docState |
protected Long |
oldToken |
| Constructor and Description |
|---|
ChangeTokenUpdater(DBSDocumentState docState) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Serializable> |
getConditions()
Gets the conditions to use to match a change token.
|
Map<String,Serializable> |
getUpdates()
Gets the updates to make to write the updated change token.
|
protected final DBSDocumentState docState
public ChangeTokenUpdater(DBSDocumentState docState)
public Map<String,Serializable> getConditions()
public Map<String,Serializable> getUpdates()
Copyright © 2019 Nuxeo. All rights reserved.