public class PickWinningRevisionCallable extends java.lang.Object implements SQLCallable<java.lang.Void>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GET_ALL_LEAFS |
static java.lang.String |
GET_NON_DELETED_LEAFS |
Constructor and Description |
---|
PickWinningRevisionCallable(long docNumericId)
Identify and set the winning revision for the document specified by the supplied internal
document ID.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
call(SQLDatabase db)
Execute the callable, selecting and marking the new winning revision.
|
public static final java.lang.String GET_NON_DELETED_LEAFS
public static final java.lang.String GET_ALL_LEAFS
public PickWinningRevisionCallable(long docNumericId)
docNumericId
- the numeric (internal) ID of the document to set the winning revision forpublic java.lang.Void call(SQLDatabase db) throws DatastoreException
call
in interface SQLCallable<java.lang.Void>
db
- the database to execute the callable againstDatastoreException