Examples of ManagedProject


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

    }

    public final void refresh() {
        Transformation tf = page.getObject();
        log("Received request to refresh the structures for the transformation \"" + tf.getName() + "\"");
        ManagedProject project = ProjectUtils.getManagedProject(tf);
        TransformationStructureRefresher refresher = new TransformationStructureRefresher(project);
        refresher.setLogger(logger);
        refresher.refreshInputAndOuputStructures(tf, new CallbackImpl());
    }
View Full Code Here

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

    private void startRefreshJob() {
        Runnable job = new ApplicationWorker.SafeRunnable() {

            @Override
            public void run() {
                ManagedProject project = getManagedProject();
                List<Transformation> tfs = getTransformations(project);
                TransformationsRefresher refresher = new TransformationsRefresher(appWin, project);
                refresher.refresh(tfs);
            }
        };
View Full Code Here

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

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

        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

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

        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

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

        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

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

        @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

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

        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

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

            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

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

     * 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
TOP
Copyright © 2018 www.massapi.com. 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.