public class RecalculateUserSegmentationsMembershipActionNode extends FlowNode
FlowNode.FlowNodeExecutionResult
Constructor and Description |
---|
RecalculateUserSegmentationsMembershipActionNode(org.json.JSONObject object,
FlowEntry flowEntry)
Creates a new instance from the given JSON object.
|
RecalculateUserSegmentationsMembershipActionNode(String id,
String name,
Collection<String> userSegmentationIds,
boolean recalculateAllUserSegmentations,
FlowNode nextNode)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
FlowNode.FlowNodeExecutionResult |
execute(FlowContext flowContext)
Executes this node and returns the next node to be executed.
|
Collection<FlowNode> |
getFollowUps()
Returns all possible follow up nodes.
|
org.json.JSONObject |
toJSONObject()
Returns the JSON representation of this node.
|
boolean |
validateStateAndLog(boolean checkAllNextNodes)
To permit edition when JSON flow is saved incorrectly in data base, the flow node constructor by JSON parameter need allows to load flow node variables
without exception when something already is wrong.
|
getAndValidateNotAnonymousUser, getFlowEntry, getId, getName, getNodeLogLabel, init, logError, logError
protected final FlowNode nextNode
public RecalculateUserSegmentationsMembershipActionNode(String id, String name, Collection<String> userSegmentationIds, boolean recalculateAllUserSegmentations, FlowNode nextNode)
id
- the node identifiername
- the node nameuserSegmentationIds
- the user segmentation identifiers (ignored if
recalculateAllUserSegmentations
is true
)recalculateAllUserSegmentations
- indicates whether all user segmentations should be recalculatednextNode
- the next nodepublic RecalculateUserSegmentationsMembershipActionNode(org.json.JSONObject object, FlowEntry flowEntry)
object
- the JSON object.flowEntry
- the flow entry this node belongs to.public boolean validateStateAndLog(boolean checkAllNextNodes)
FlowNode
validateStateAndLog
in class FlowNode
checkAllNextNodes
- check all next nodes nodes.public org.json.JSONObject toJSONObject()
FlowNode
#FlowNode(JSONObject)
constructor.public FlowNode.FlowNodeExecutionResult execute(FlowContext flowContext) throws PortalException
FlowNode
execute
in class FlowNode
flowContext
- the flow contextPortalException
public Collection<FlowNode> getFollowUps()
FlowNode
getFollowUps
in class FlowNode
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.