Package org.jitterbit.integration.client.project

Examples of org.jitterbit.integration.client.project.ManagedProject


        structureCache = getStructureCache(wsCall);
        setHelpId("Create_a_Web_Service_Method");
    }
   
    private InputAndOutputMappingTreeStructureCache getStructureCache(WebServiceCall wsCall) {
        ManagedProject project = ProjectUtils.getManagedProject(wsCall);
        return project.getWebServiceMappingStructureCache();
    }
View Full Code Here


        EntitySettings settings = getTransformationSettings();
        return new PluginSettingsStoreImpl(tx, settings);
    }

    private EntitySettings getTransformationSettings() {
        ManagedProject project = ProjectUtils.getManagedProject(tx);
        if (project == null) {
            throw new IllegalArgumentException("tf must belong to a managed project");
        }
        return project.getEntityResources().getSettings();
    }
View Full Code Here

        private final CallbackResult externalCallback;

        public LoadSourceHandler(TransformationPage page, CallbackResult externalCallback) {
            tx = page.getObject();
            this.externalCallback = externalCallback;
            ManagedProject project = ProjectUtils.getManagedProject(tx);
            history = project.getTestHistory().getLoadSourceHistory();
        }
View Full Code Here

        createWizardDisplayer(wizard, EntityType.WebServiceCall);
        return wizard;
    }

    private WebServiceWizard createWizardImpl(WebServiceCall wsCall, Folder parent) {
        ManagedProject mp = getManagedProject();
        WsdlFileStore wsdls = new WsdlFileStore(mp.getFileStore());
        WebServiceWizard wizard = new WebServiceWizard(wsCall, parent, wsdls, mp.getWebServiceMappingStructureCache());
        wizard.addWizardListener(new EntityWizardCompleter<WebServiceCall>(
                        wizard, getProject(), getProjectPersistor(), parent));
        return wizard;
    }
View Full Code Here

        @Override
        protected Void doInBackground() throws Exception {
            IntegrationProjectLock.acquire();
            try {
                ManagedProject mp = ProjectUtils.getManagedProject(backup);
                mp.saveIntegrationEntity(backup);
                return null;
            } finally {
                IntegrationProjectLock.release();
            }
        }
View Full Code Here

        RecentProjects rpm = projectManager.getRecentProjects();
        rpm.addProjectLocation(loc);
    }

    private ProjectLocation getProjectLocation(IntegrationProject project) {
        ManagedProject mp = project.getExtensionObject(ManagedProject.class);
        ProjectLocation loc = new ProjectLocation(project.getName(), mp.getLocation());
        return loc;
    }
View Full Code Here

            return tree;
        }
       
        private CROM_Tree findCachedTree() {
            try {
                ManagedProject mp = ProjectUtils.getManagedProject(tx);
                InputAndOutputMappingTreeStructureCache cache = mp.getTransformationMappingStructureCache();
                MappingTreeStructure jtr = cache.getInputStructure(tx.getID());
                if (jtr != null) {
                    return CROM_Tree.fromMappingStructure(jtr);
                }
            } catch (CromTreeException e) {
View Full Code Here

     * Creates a <code>GraphLayoutStore</code> for storing the layout of the graph for the given
     * <code>Operation</code>.
     *
     */
    public GraphLayoutFileStore(Operation op) {
        ManagedProject project = ProjectUtils.getManagedProject(op);
        if (project == null) {
            throw new IllegalArgumentException("op is not part of a project");
        }
        EntityResources rc = project.getEntityResources();
        layoutFile = rc.getFileResource(op, LAYOUT_FILE_NAME);
        scrollPositionFile = rc.getFileResource(op, SCROLL_POSITION_FILE_NAME);
    }
View Full Code Here

        }

        @Override
        public void projectOpened(ProjectManagerEvent evt) {
            IntegrationProject project = evt.getProject();
            ManagedProject mp = project.getExtensionObject(ManagedProject.class);
            displayer.setModel(mp.getValidationModel());
        }
View Full Code Here

        operationPage.setGraphLayoutStore(layoutStore);
        operationPage.setGraphSaver(graphSaver);
    }

    private EdiPluginSaver createEdiPluginSaver(Operation op) {
        ManagedProject p = ProjectUtils.getManagedProject(op);
        return new EdiPluginSaver(p);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.ManagedProject

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.