Class Update


  • public class Update
    extends RequestSingle
    Update: { $query : query, $filter : multi, $action : action } or [ query, multi, action ]
    • Field Detail

      • actions

        protected java.util.List<Action> actions
    • Constructor Detail

      • Update

        public Update()
    • Method Detail

      • resetActions

        public final Update resetActions()
        Returns:
        this Update
      • setMult

        public final Update setMult​(boolean mult)
        Parameters:
        mult - True to act on multiple elements, False to act only on 1 element
        Returns:
        this Update
      • setMult

        public final Update setMult​(com.fasterxml.jackson.databind.JsonNode filterContent)
        Parameters:
        filterContent - json filter
        Returns:
        this Update
      • getFinalUpdateById

        public final com.fasterxml.jackson.databind.node.ObjectNode getFinalUpdateById()
        Returns:
        the Final Update by id containing one parts: actions
      • getFinalUpdate

        public final com.fasterxml.jackson.databind.node.ObjectNode getFinalUpdate()
        Returns:
        the Final Update containing all 4 parts: roots, queries array, filter and actions
      • getActions

        public final java.util.List<Action> getActions()
        Description copied from class: RequestSingle
        default implements of getActions
        Overrides:
        getActions in class RequestSingle
        Returns:
        the actions list