Package org.jitterbit.integration.data.entity

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


        browser = new TransformationPipelineBrowser(pipeline);
    }

    @Override
    public void validate() {
        Transformation tf = validateTransformation();
        if (tf != null) {
            validateSource(tf);
            validateTarget(tf);
        }
    }
View Full Code Here


            validateTarget(tf);
        }
    }
   
    private Transformation validateTransformation() {
        Transformation tf = browser.getTransformation();
        if (tf == null) {
            fatal("No transformation specified");
        }
        return tf;
    }
View Full Code Here

        return filter;
    }

    private EntityFilter getFilter(PipelineActivity activity) {
        if (activity instanceof TransformationActivity) {
            Transformation tf = ((TransformationActivity) activity).getContent();
            return new TransformationBasedFilter(tf);
        }
        return null;
    }
View Full Code Here

        return EntityFilters.allOfType(EntityType.Target);
    }

    private EntityFilter getFilter(PipelineActivity activity) {
        if (activity instanceof TransformationActivity) {
            Transformation tf = ((TransformationActivity) activity).getContent();
            return new TransformationBasedFilter(tf);
        }
        return null;
    }
View Full Code Here

            }
            return false;
        }

        private boolean isMatchWithRequestTransformation(WebServiceCall wsCall) {
            Transformation request = browser.getRequest();
            return (request == null) || wsCall.getInputStructure().equals(request.getOutputStructure());
        }
View Full Code Here

            Transformation request = browser.getRequest();
            return (request == null) || wsCall.getInputStructure().equals(request.getOutputStructure());
        }
       
        private boolean isMatchWithResponseTransformation(WebServiceCall wsCall) {
            Transformation response = browser.getResponse();
            return (response == null) || wsCall.getOutputStructure().equals(response.getInputStructure());
        }
View Full Code Here

        OperationPipelineBrowser browser = new TransformationPipelineBrowser(pipeline);
        Object content = a.getContent();
        if (!(content instanceof Transformation)) {
            return;
        }
        Transformation inserted = (Transformation) content;
        checkSource(browser, inserted, TransformationTemplate.SOURCE);
        checkTarget(browser, inserted);
    }
View Full Code Here

        WebServicePipelineBrowser browser = new WebServicePipelineBrowser(pipeline);
        Object content = a.getContent();
        if (!(content instanceof Transformation)) {
            return;
        }
        Transformation inserted = (Transformation) content;
        checkWsCall(inserted, a, browser);
        if (a == browser.getRequestActivity()) {
            checkSource(browser, inserted, WebServiceCallTemplate.SOURCE);
        }
        if (browser.getTarget() == null && a == browser.getResponseActivity()) {
View Full Code Here

    @Override
    public OperationFunctions collect(OperationPipeline pipeline) {
        List<Function> funcs = Lists.newArrayList();
        TransformationId tfId = null;
        WebServicePipelineBrowser browser = new WebServicePipelineBrowser(pipeline);
        Transformation request = browser.getRequest();
        if (request != null) {
            funcs.add(request);
            tfId = request.getID();
        }
        WebServiceCall wsCall = browser.getWebServiceCall();
        if (wsCall != null) {
            funcs.add(wsCall);
        }
        Transformation response = browser.getResponse();
        if (response != null) {
            funcs.add(response);
        }
        return new OperationFunctions(funcs, tfId);
    }
View Full Code Here

            pages = LdapStructurePageChain.newTargetChain(wizard, wizard.getEntityExplorerSupport());
            setPreselectedTarget(wizard);
        }

        private void setPreselectedTarget(TransformationWizard wizard) {
            Transformation tx = wizard.getTransformation();
            TargetId targetId = tx.getTargetId();
            if (targetId != null) {
                IntegrationEntityLookup itemLookup = wizard.getItemLookup();
                Target tgt = itemLookup.getEntity(targetId, Target.class);
                if (tgt != null) {
                    DataLocation location = tgt.getLocation();
View Full Code Here

TOP

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

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.