Examples of IntegrationEntity


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

        if (items.isEmpty()) {
            return projectShell;
        }
        remainingItems = new LinkedList<IntegrationEntity>(items);
        while (!remainingItems.isEmpty()) {
            IntegrationEntity e = remainingItems.removeFirst();
            if (isProcessingRequred(e)) {
                new ParentChainBuilder(e).rebuild();
            }
        }
        projectShell.setLocationOnDisk(originalProject.getLocationOnDisk());
View Full Code Here

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

        public void rebuild() {
            while (currentParent != null) {
                entityLookup.addItem(currentEntity);
                if (items.contains(currentParent)) {
                    IntegrationEntity parentClone = attachToParent();
                    if (parentClone == null) {
                        return;
                    }
                    currentEntity = parentClone;
                    currentParent = currentParent.getParent();
View Full Code Here

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

                EntityType type = EntityUtils.getItemType(currentEntity);
                RootFolder rf = projectShell.getRootFolder(type);
                currentEntity.setParent(rf);
                return null;
            }
            IntegrationEntity parentClone = getParentClone(currentParent);
            currentEntity.setParent(parentClone);
            return parentClone;
        }
View Full Code Here

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

        }

        private IntegrationEntity getParentClone(IntegrationEntity originalParent) {
            // Check if we already have created a copy of the original_parent and inserted it
            // into the new projectShell:
            IntegrationEntity parentClone = entityLookup.getEntity(originalParent.getID());
            if (parentClone == null) {
                // This is the first time we encounter this parent, so we need to create a copy of it:
                parentClone = originalParent.clone();
            }
            return parentClone;
View Full Code Here

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

            EntityType type = EntityUtils.getItemType(e);
            typeMap.put(type, e);
            if (type.isWizardType()) {
                containsWizards = true;
            }
            IntegrationEntity parent = e.getParent();
            while (parent != null && !(parent instanceof RootFolder)) {
                typeMap.put(type, parent);
                parent = parent.getParent();
            }
        }
    }
View Full Code Here

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

    }

    @Override
    public void dispose() {
        for (int n = 0, rows = getRowCount(); n < rows; ++n) {
            IntegrationEntity e = (IntegrationEntity) getValueAt(n, 0);
            e.removePropertyChangeListener(IntegrationEntity.PROPERTY_NAME, entityListener);
            e.removeValidationListener(entityListener);
        }
    }
View Full Code Here

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

        }
    }

    @Override
    public LdapLocation getSelectedLdapLocation() {
        IntegrationEntity sel = getSelectedEntity();
        if (sel instanceof Target) {
            DataLocation loc = ((Target) sel).getLocation();
            return (LdapLocation) loc;
        }
        return null;
View Full Code Here

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

        panel.treeMapperLoaded();
    }

    @Override
    public IntegrationProject getProject() {
        IntegrationEntity tf = panel.getPage().getObject();
        return ProjectUtils.getProject(tf);
    }
View Full Code Here

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

        this.controller = controller;
    }

    public boolean setContent(OperationWrapperNode opNode, T activity, C content) {
        if (controller.isChangeAllowed(opNode)) {
            IntegrationEntity previous = activity.getContent();
            activity.setContent(content);
            controller.getGraph().fireActiveObjectsChanged();
            if (previous == null || !previous.getID().equals(content.getID())) {
                sendUndoableEdit(opNode, activity, content, previous);
            }
            return true;
        }
        return false;
View Full Code Here

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

        try {
            List items = (List) support.getTransferable().getTransferData(TransferableIntegrationEntities.ENTITIES_FLAVOR);
            if (items.size() != 1) {
                return false;
            }
            IntegrationEntity item = (IntegrationEntity) items.get(0);
            Transferable toInsert = new StringSelection(ScriptConstants.getProjectItemTagString(item));
            super.importData((JComponent) support.getComponent(), toInsert);
        } catch (Exception e) {
            e.printStackTrace();
        }
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.