Package org.jitterbit.integration.data.entity

Examples of org.jitterbit.integration.data.entity.Transformation


    private void startImport() {
        page.saveAndRun(new Runnable() {

            @Override
            public void run() {
                Transformation tf = page.getObject();
                MappingImporter exporter = MappingImporter.Factory.create(page.getView());
                exporter.importMultipleFolders(tf);
            }
        });
    }
View Full Code Here


                wait.release();
            }
        }

        public void start(final CallbackResult callback) {
            Transformation tf = getTransformation();
            DeployGate gate = deployFacade.newDeployGate();
            gate.setItemsToCheck(tf);
            gate.setJob(new Runnable() {

                @Override
View Full Code Here

    @Override
    public void testOperation(Operation op) {
        callback.beforeTestStarts();
        ServerTestCallback resultHandler = new TestOperationHandler(op, getTransformation(), callback);
        Transformation tf = page.getObject();
        TestOperationJob p = new TestOperationJob(op, tf, page.getView().getPlatformDebugService(), resultHandler);
        p.setUseProgressDialog(0);
        p.submit(page.getWaitService(), 0);
    }
View Full Code Here

        boolean enabled = isApplicable();
        setEnabled(enabled);
    }

    private boolean isApplicable() {
        Transformation tf = page.getObject();
        DataStructure output = tf.getOutputStructure();
        return (output instanceof DatabaseStructure);
    }
View Full Code Here

            decorateForWebService();
        }
    }

    private boolean isWebServiceResponse() {
        Transformation tf = page.getObject();
        DataStructure inputStructure = tf.getInputStructure();
        return (inputStructure != null) && (inputStructure.getStructureType() == DataStructureType.WebServiceResponse);
    }
View Full Code Here

        @Override
        public void redo() throws CannotRedoException {
            super.redo();
            updateTreeMapper(newMappings, newRenamedNodes);
            Transformation tf = treeMapper.getTransformation();
            TransformationVariables des = treeMapper.getDataElements();
            mappingDiff.redo(tf, des);
        }
View Full Code Here

        @Override
        public void undo() throws CannotUndoException {
            super.undo();
            updateTreeMapper(previousMappings, previousRenamedNodes);
            Transformation tf = treeMapper.getTransformation();
            TransformationVariables des = treeMapper.getDataElements();
            mappingDiff.undo(tf, des);
        }
View Full Code Here

        pageActions = Maps.newHashMap();
    }

    private MappingNodeFilterChangeReaction installNodeFilterListener() {
        MappingNodeFilterChangeReaction listener = new MappingNodeFilterChangeReaction(this);
        Transformation tx = getObject();
        tx.addPropertyChangeListener(Transformation.INPUT_NODE_FILTER, listener);
        tx.addPropertyChangeListener(Transformation.OUTPUT_NODE_FILTER, listener);
        return listener;
    }
View Full Code Here

        disposePageActions();
        super.prepareForRemoval(window);
    }

    private void uninstallNodeFilterListener() {
        Transformation tx = getObject();
        tx.removePropertyChangeListener(Transformation.INPUT_NODE_FILTER, nodeFilterChangeHandler);
        tx.removePropertyChangeListener(Transformation.OUTPUT_NODE_FILTER, nodeFilterChangeHandler);
    }
View Full Code Here

        tx.removePropertyChangeListener(Transformation.INPUT_NODE_FILTER, nodeFilterChangeHandler);
        tx.removePropertyChangeListener(Transformation.OUTPUT_NODE_FILTER, nodeFilterChangeHandler);
    }

    private void removeUncommitedDataElements() {
        Transformation tf = getObject();
        if (!tf.isDeleted()) {
            TransformationVariables des = getTreeMapper().getDataElements();
            des.scanTransformation(tf);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.Transformation

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.