Package org.jitterbit.integration.client.entity.settings

Examples of org.jitterbit.integration.client.entity.settings.EntityResources


            row[2] = activityId;
            m_operationPipelines.add(new InterchangeDataRow(row));
        }

        // Add operation graph layout.
        final EntityResources rc = m_deployData.getEntityResources();
        final String layoutData = rc.getFileResource(operation, "GraphLayout.xml").read();
        if (layoutData != null) {
            try {
                String[] row = new String[2];
                row[0] = operationId;
                row[1] = ZipUtils.deflateAndBase64EncodeString(layoutData);
View Full Code Here


    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

    }

    private Persistor getOperationSettings(OperationGraph2D graph) {
        Operation op = graph.getModel().getModeledFlow().getStartPoint().getActivity();
        ManagedProject mp = ProjectUtils.getManagedProject(op);
        EntityResources rc = mp.getEntityResources();
        EntitySettings settings = rc.getSettings();
        return settings.getEntitySettings(op);
    }
View Full Code Here

        log("Zoom level restored.");
    }

    private Persistor getOperationSettings() {
        ManagedProject mp = ProjectUtils.getManagedProject(operation);
        EntityResources rc = mp.getEntityResources();
        EntitySettings settings = rc.getSettings();
        return settings.getEntitySettings(operation);
    }
View Full Code Here

        }

        private TransformationFileStore createFileStore(TransformationPage page) {
            Transformation tx = page.getObject();
            ManagedProject project = ProjectUtils.getManagedProject(tx);
            EntityResources resources = project.getEntityResources();
            return new TransformationFileStoreImpl(tx, resources);
        }
View Full Code Here

                        "the web service call \"" + copy.getName(), ex);
            }
        }

        public void handle(Operation copy) {
            EntityResources resources = project.getEntityResources();
            OperationGraphLayoutCopier layoutCopier = new OperationGraphLayoutCopier(resources, (Operation) original, copy);
            layoutCopier.copy();
        }
View Full Code Here

        createNewFolderIDs();
        createNewProjectID();
    }

    private void updateReferences() {
        EntityResources resources = ProjectUtils.getProjectResources(project);
        DeepEntityCopyMachine copier = new DeepEntityCopyMachine(new EntityCopyMachine(), resources,
                        project.getItemLookup());
        DeepCopyResult result = copier.cloneProjectWithoutSaving(project);
        result.replaceOriginalItems();
    }
View Full Code Here

        private final String preferenceKey;

        public PasswordLocationChecker() {
            ManagedProject project = ProjectUtils.getManagedProject(locatable);
            EntityResources rc = project.getEntityResources();
            preference = rc.getSettings().getEntitySettings(locatable);
            preferenceKey = "HidePassword";
        }
View Full Code Here

        }

        @Override
        public void run() {
            IntegrationProject project = view.getProject();
            EntityResources resources = ProjectUtils.getProjectResources(project);
            DeepCopyUi ui = new DeepCopyUi(project, resources);
            ui.setWaitService(view.getWindow());
            ui.setPageDisplayer(pageDisplayer);
            ui.setDeleteHandler(deleteHandler);
            ui.copy(object);
View Full Code Here

            this.object = object;
        }

        @Override
        public void run() {
            EntityResources resources = ProjectUtils.getProjectResources(view.getProject());
            SelectiveDeepCopyUi ui = new SelectiveDeepCopyUi(object, resources);
            ui.setWaitService(view.getWindow());
            ui.setPageDisplayer(pageDisplayer);
            ui.setDeleteHandler(deleteHandler);
            ui.start();
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.entity.settings.EntityResources

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.