Package org.jitterbit.integration.data.entity

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


        return getActivity().getContent();
    }

    @Override
    protected String getContentString() {
        WebServiceCall ws = getWebServiceCall();
        return ws != null ? ws.getName() : getActivity().getRole();
    }
View Full Code Here


    private static class WebServiceCallConfiguration implements Configuration {

        @Override
        public void configure(Transformation tx, ContentProviderContext context) {
            WebServicePipelineBrowser browser = new WebServicePipelineBrowser(context.getPipeline());
            WebServiceCall wsCall = browser.getWebServiceCall();
            if (wsCall == null) {
                return;
            }
            PipelineActivity activity = context.getActivity();
            if (activity == browser.getRequestActivity()) {
View Full Code Here

    private static class HostedWebServiceCallConfiguration implements Configuration {

        @Override
        public void configure(Transformation tx, ContentProviderContext context) {
            HostedWebServicePipelineBrowser browser = new HostedWebServicePipelineBrowser(context.getPipeline());
            WebServiceCall wsCall = browser.getWebServiceCall();
            if (wsCall == null) {
                return;
            }
            if (context.getActivity() == browser.getFirstTransformationActivity()) {
                configureFirstTransformation(tx, wsCall, browser);
View Full Code Here

    }

    @Override
    public void apply() throws IntegrationDataPanelException {
        super.apply();
        WebServiceCall wsCall = getDisplayedObject();
        detailsPanel.applyValuesTo(wsCall);
        securityPanel.applyValuesTo(wsCall);
        wsCall.setCallRestrictions(restrictionsPanel.getCallRestrictions(wsCall));
    }
View Full Code Here

        loadRequestAndResponseStructures();
    }
   
    private void loadRequestAndResponseStructures() {
        try {
            WebServiceCall ws = getObject();
            final MappingTreeStructure request = structureCache.getInputStructure(ws.getID());
            final MappingTreeStructure response = structureCache.getOutputStructure(ws.getID());
            if (request == null || response == null) {
                refreshTreeStructures();
            } else {
                WebServiceCallStructures structures = new WebServiceCallStructures() {
View Full Code Here

            }
        }.run();
    }

    private void executeImpl(OperationWrapperNode node) {
        WebServiceCall wsCall = getWebServiceCall(node);
        if (wsCall == null) {
            return;
        }
        selectSiblings(node, wsCall);
    }
View Full Code Here

    public EditedStructure edit(ApplicationWindow appWin, Wizard wizard) {
        WizardCallback callback = new WizardCallback();
        WebServiceSelectionWizard wsWizard = startWizard(appWin, wizard, callback);
        callback.waitUntilDone();
        if (!Thread.currentThread().isInterrupted()) {
            WebServiceCall newWs = wsWizard.getSelectedWebServiceCall();
            if (newWs != null && !newWs.getID().equals(toEdit.getWebServiceCallId())) {
                return new EditedStructureImpl(newWs);
            }
        }
        return null;
    }
View Full Code Here

            @Override
            public WebServiceSelectionWizard get() {
                WebServiceCallId wsCallId = toEdit.getWebServiceCallId();
                IntegrationEntityLookup lookup = explorerSupport.getProject().getItemLookup();
                WebServiceCall wsCall = lookup.getEntity(wsCallId, WebServiceCall.class);
                return new WebServiceSelectionWizard(wsCall, explorerSupport);
            }
        });
    }
View Full Code Here

        return ws != null ? ws.getName() : getActivity().getRole();
    }

    @Override
    protected String getContentToolTip() {
        WebServiceCall ws = getWebServiceCall();
        return (ws != null) ? ToolTipStringFactory.getToolTip(ws) : TOOLTIP_WHEN_EMPTY;
    }
View Full Code Here

    }

    private JComponent createWebServiceCallAsInputOrOutputMessage(WebServiceStructure struct, String io, String type) {
        // XXX: Techincally, itemLookup can be null here.
        WebServiceCallId wsCallId = struct.getWebServiceCallId();
        WebServiceCall wsCall = itemLookup.getEntity(wsCallId, WebServiceCall.class);
        JLabel label = TextStyles.AdminHint.makeLabel("");
        RendererUtils.decorateRenderer(label, wsCall, false);
        String message = MessageFormat.format("The {0} of the transformation is a {1} ", io, type);
        return BoxBuilder.horizontal().addAll(message, label).container();
    }
View Full Code Here

TOP

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

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.