Package com.amashchenko.struts2.actionflow

Examples of com.amashchenko.struts2.actionflow.ActionFlowConfigBuilder


                // first action
                ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                        0, actionConfig.getName(),
                        ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME);
                ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
                actionFlows.put(ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME,
                        stepConfig);
            } else {
                prevActionVal = actionsStepMap.get(prevKey).getName();
            }

            ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                    index, nextActionVal, prevActionVal);
            ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
            actionFlows.put(actionConfig.getName(), stepConfig);

            prevKey = key;
            index++;
        }
View Full Code Here


                // first action
                ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                        0, actionConfig.getName(),
                        ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME);
                ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
                actionFlows.put(ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME,
                        stepConfig);
            } else {
                prevActionVal = actionsStepMap.get(prevKey).getName();
            }

            ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                    index, nextActionVal, prevActionVal);
            ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
            actionFlows.put(actionConfig.getName(), stepConfig);

            prevKey = key;
            index++;
        }
View Full Code Here

                // first action
                ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                        0, actionConfig.getName(),
                        ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME);
                ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
                actionFlows.put(ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME,
                        stepConfig);
            } else {
                prevActionVal = actionsStepMap.get(prevKey).getName();
            }

            ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                    index, nextActionVal, prevActionVal);
            ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
            actionFlows.put(actionConfig.getName(), stepConfig);

            prevKey = key;
            index++;
        }
View Full Code Here

                // first action
                ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                        0, actionConfig.getName(),
                        ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME);
                ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
                actionFlows.put(ActionFlowInterceptor.FIRST_FLOW_ACTION_NAME,
                        stepConfig);
            } else {
                prevActionVal = actionsStepMap.get(prevKey).getName();
            }

            ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                    index, nextActionVal, prevActionVal);
            ActionFlowStepConfig stepConfig = stepConfigBuilder.build();
            actionFlows.put(actionConfig.getName(), stepConfig);

            prevKey = key;
            index++;
        }
View Full Code Here

            for (ActionFlowStepConfig cfg : flowMap.values()) {
                if (cfg.getIndex() < flowMap.size() - 1) {
                    m.put(cfg.getIndex() + 1, cfg.getNextAction());
                }
            }
            flowStepsData = new ActionFlowStepsData(m);
        }
    }
View Full Code Here

                for (ActionFlowStepConfig cfg : flowMap.values()) {
                    if (cfg.getIndex() < flowMap.size() - 1) {
                        m.put(cfg.getIndex() + 1, cfg.getNextAction());
                    }
                }
                flowStepsData = new ActionFlowStepsData(m);
            }
        }

        indexCurrent = -1;
        Integer stepCount = 1;
View Full Code Here

                for (ActionFlowStepConfig cfg : flowMap.values()) {
                    if (cfg.getIndex() < flowMap.size() - 1) {
                        m.put(cfg.getIndex() + 1, cfg.getNextAction());
                    }
                }
                flowStepsData = new ActionFlowStepsData(m);
            }
        }

        Integer stepCount = 1;
View Full Code Here

TOP

Related Classes of com.amashchenko.struts2.actionflow.ActionFlowConfigBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.