Package org.jitterbit.integration.data.entity.operation.flow

Examples of org.jitterbit.integration.data.entity.operation.flow.OperationWrapper


    public String getPresentationName() {
        return GraphResources.getString("OperationRenameEdit");
    }

    private void setName(String name) {
        OperationWrapper op = locateOperation();
        if (op != null) {
            if (controller.isChangeAllowed(op)) {
                op.setName(name);
            }
        } else {
            Alert.error("This change cannot be undone/redone.", "Not Undoable/Redoable");
        }
    }
View Full Code Here


    public String getPresentationName() {
        return GraphResources.format("NextOpEdit", type);
    }

    private void setNextOp(OperationId opId) {
        OperationWrapper start = locateStartOp();
        if (start != null) {
            if (type == RouteType.SUCCESS) {
                start.setSuccessOperationId(opId);
            } else {
                start.setFailureOperationId(opId);
            }
        } else {
            Alert.error("This change cannot be undone/redone.", "Not Undoable/Redoable");
        }
    }
View Full Code Here

    public String getPresentationName() {
        return GraphResources.getString("SchedulePolicyEdit");
    }

    private void setPolicy(SchedulePolicy policy) {
        OperationWrapper op = locateOperation();
        if (op != null) {
            if (controller.isChangeAllowed(op)) {
                op.setSchedulePolicy(policy);
            }
        } else {
            Alert.error("This change cannot be undone/redone.", "Not Undoable/Redoable");
        }
    }
View Full Code Here

    }

    @Override
    public void redo() throws CannotRedoException {
        super.redo();
        OperationWrapper op = locateOperation();
        if (op != null) {
            op.setScheduleId(newScheduleId);
        } else {
            alertNotRedoable();
        }
    }
View Full Code Here

    }

    @Override
    public void undo() throws CannotUndoException {
        super.undo();
        OperationWrapper op = locateOperation();
        if (op != null) {
            op.setScheduleId(prevScheduleId);
        } else {
            alertNotUndoable();
        }
    }
View Full Code Here

        super.undo();
        setSiblings(oldSiblings);
    }
    private void setSiblings(List<OperationId> opIds) {
        OperationWrapper op = locateOperation();
        if (op != null) {
            if (controller.isChangeAllowed(op)) {
                op.setSiblingIds(opIds);
            }
        } else {
            Alert.error("This change cannot be undone/redone.", "Not Undoable/Redoable");
        }
    }
View Full Code Here

    public String getPresentationName() {
        return GraphResources.format("NextEmailEdit", type);
    }

    private void setNextEmail(EmailMessageId opId) {
        OperationWrapper start = locateStartOp();
        if (start != null) {
            if (type == RouteType.SUCCESS) {
                start.setSuccessEmailId(opId);
            } else {
                start.setFailureEmailId(opId);
            }
        } else {
            Alert.error("This change cannot be undone/redone.", "Not Undoable/Redoable");
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.operation.flow.OperationWrapper

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.