Class SetAction
- java.lang.Object
-
- fr.gouv.vitam.common.database.builder.query.action.Action
-
- fr.gouv.vitam.common.database.builder.query.action.SetAction
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.database.builder.query.action.Action
currentAction, currentObject, currentUPDATEACTION, ready
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SetAction()
SetAction(com.fasterxml.jackson.databind.node.ObjectNode updateData)
Set Action constructor from ObjectNodeSetAction(java.lang.String variableName, boolean value)
Set Action constructorSetAction(java.lang.String variableName, double value)
Set Action constructorSetAction(java.lang.String variableName, long value)
Set Action constructorSetAction(java.lang.String variableName, java.lang.String value)
Set Action constructorSetAction(java.lang.String variableName, java.util.Date value)
Set Action constructorSetAction(java.lang.String variableName, java.util.List<?> value)
Set Action constructorSetAction(java.util.Map<java.lang.String,?> variableNameValue)
Set Action constructor from Map
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetAction
add(java.lang.String variableName, boolean value)
Add other Set sub actions to Set QuerySetAction
add(java.lang.String variableName, double value)
Add other Set sub actions to Set QuerySetAction
add(java.lang.String variableName, long value)
Add other Set sub actions to Set QuerySetAction
add(java.lang.String variableName, java.lang.String value)
Add other Set sub actions to Set QuerySetAction
add(java.lang.String variableName, java.util.Date value)
Add other Set sub actions to Set QuerySetAction
add(java.lang.String variableName, java.util.List<?> values)
Add other Set sub actions to Set Query-
Methods inherited from class fr.gouv.vitam.common.database.builder.query.action.Action
clean, createActionValueArrayVariable, createActionVariables, createActionVariableValue, createActionVariableValue, createActionVariableValue, createActionVariableValue, createActionVariableValue, createActionVariableValue, getCurrentAction, getCurrentObject, getUPDATEACTION, isReady, setReady, toString
-
-
-
-
Constructor Detail
-
SetAction
protected SetAction()
-
SetAction
public SetAction(java.lang.String variableName, java.lang.String value) throws InvalidCreateOperationException
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(java.lang.String variableName, java.util.List<?> value) throws InvalidCreateOperationException
Set Action constructor- Parameters:
variableName
- key namevalue
- key value as a list of values- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(java.util.Map<java.lang.String,?> variableNameValue) throws InvalidCreateOperationException
Set Action constructor from Map- Parameters:
variableNameValue
- map of key and Value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(com.fasterxml.jackson.databind.node.ObjectNode updateData) throws InvalidCreateOperationException
Set Action constructor from ObjectNode- Parameters:
updateData
- ObjectNode natively- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(java.lang.String variableName, long value) throws InvalidCreateOperationException
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(java.lang.String variableName, boolean value) throws InvalidCreateOperationException
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(java.lang.String variableName, double value) throws InvalidCreateOperationException
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(java.lang.String variableName, java.util.Date value) throws InvalidCreateOperationException
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
-
Method Detail
-
add
public final SetAction add(java.lang.String variableName, java.lang.String value) throws InvalidCreateOperationException
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(java.lang.String variableName, boolean value) throws InvalidCreateOperationException
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(java.lang.String variableName, long value) throws InvalidCreateOperationException
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(java.lang.String variableName, double value) throws InvalidCreateOperationException
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(java.lang.String variableName, java.util.Date value) throws InvalidCreateOperationException
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(java.lang.String variableName, java.util.List<?> values) throws InvalidCreateOperationException
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalues
- values as list- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
-