public class Update extends RequestSingle
Modifier and Type | Field and Description |
---|---|
protected List<Action> |
actions |
query
filter, projection
Constructor and Description |
---|
Update() |
Modifier and Type | Method and Description |
---|---|
Update |
addActions(Action... action) |
List<Action> |
getActions()
default implements of getActions
|
com.fasterxml.jackson.databind.node.ObjectNode |
getFinalUpdate() |
com.fasterxml.jackson.databind.node.ObjectNode |
getFinalUpdateById() |
Update |
reset() |
Update |
resetActions() |
Update |
setFilter(com.fasterxml.jackson.databind.JsonNode filterContent) |
Update |
setMult(boolean mult) |
Update |
setMult(com.fasterxml.jackson.databind.JsonNode filterContent) |
String |
toString() |
getAllProjection, getData, getDatas, getFinal, getNbQueries, getProjection, getQueries, getQuery, getRoots, resetQuery, setQuery
addHintFilter, addHintFilter, getFilter, parseFilter, parseHintFilter, resetFilter, resetHintFilter, selectAddOrderByAscFilter, selectAddOrderByDescFilter, selectAddOrderByFilter, selectAddProjection, selectAddUnusedProjection, selectAddUsedProjection, selectGetAllProjection, selectGetFinalSelect, selectGetProjection, selectParseLimitFilter, selectParseOrderByFilter, selectParseProjection, selectReset, selectResetLimitFilter, selectResetOrderByFilter, selectResetUsedProjection, selectSetFilter, selectSetLimitFilter, selectSetLimitFilter, selectSetProjection, selectSetScrollFilter
public final Update resetActions()
public final Update reset()
reset
in class RequestSingle
public final Update setMult(boolean mult)
mult
- True to act on multiple elements, False to act only on 1 elementpublic final Update setMult(com.fasterxml.jackson.databind.JsonNode filterContent)
filterContent
- json filterpublic final Update setFilter(com.fasterxml.jackson.databind.JsonNode filterContent) throws InvalidParseOperationException
setFilter
in class AbstractRequest
filterContent
- json filterInvalidParseOperationException
- when query is not validpublic final Update addActions(Action... action) throws InvalidCreateOperationException
action
- listInvalidCreateOperationException
- when action is not validpublic final com.fasterxml.jackson.databind.node.ObjectNode getFinalUpdateById()
public final com.fasterxml.jackson.databind.node.ObjectNode getFinalUpdate()
public final List<Action> getActions()
RequestSingle
getActions
in class RequestSingle
public String toString()
toString
in class RequestSingle
Copyright © 2018 Vitam. All rights reserved.