Package org.jitterbit.integration.data.entity

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


    }

    private Set<Key> getRequiredObjects() {
        Set<Key> deps = Sets.newHashSet();
        for (Key k : initialObjects) {
            IntegrationEntity entity = k.getObject();
            Set<Key> newDeps = new RequiredObjectsCollector().collect(entity);
            deps.addAll(newDeps);
        }
        return deps;
    }
View Full Code Here


            processParents(entity);
            return required;
        }

        private void processParents(IntegrationEntity entity) {
            IntegrationEntity parent = entity.getParent();
            while (parent != null && !(parent instanceof RootFolder)) {
                process(parent);
                parent = parent.getParent();
            }
        }
View Full Code Here

            if (evt.getValueIsAdjusting()) {
                return;
            }
            List<IntegrationEntity> selected = getSelectedEntities();
            int size = selected.size();
            IntegrationEntity e = (size == 1) ? selected.get(0) : null;
            pathPublisher.publish(e);
            reviveAction.setEnabled(size > 0);
        }
View Full Code Here

        }
    }

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

     * Looks up the tested <code>IntegrationEntity</code> and, if the entity still exists, opens
     * it for display in the UI.
     */
    @Override
    protected void actOn(EntityTestResult selected) {
        IntegrationEntity e = entityLookup.getEntity(selected.getSubjectId());
        if (e != null) {
            pageDisplayer.openPage(e);
        }
    }
View Full Code Here

        private String getEntityName(IntegrationEntityId id) {
            IntegrationProject project = getProject();
            if (project == null) {
                return "";
            }
            IntegrationEntity entity = project.getItemLookup().getEntity(id);
            return (entity == null) ? "" : entity.getName();
        }
View Full Code Here

            }
        }
    }

    private void set(IntegrationEntityPipelineActivity<?> activity) {
        IntegrationEntity o = activity.getContent();
        if (o != null) {
            guid = o.getID().toString();
        } else {
            guid = null;
        }
        functionId = null;
    }
View Full Code Here

    InterchangeDataParser dataParser = new InterchangeDataParser(dataTable);

    InterchangeDataRow[] arrData = dataTable.getRows();
    for( InterchangeDataRow row : arrData ) {
      StringKeyValuePairs keyValues = dataParser.parse(row);
      IntegrationEntity entity = null;
      try {
        entity = entityHandler.createEntity(keyValues);
        if ( entity == null )
          continue;
      } catch (ItemCheckoutException e) {
View Full Code Here

        List<IntegrationEntity> applicableItems = getApplicableItems(fcn);
        if (applicableItems.isEmpty()) {
            return;
        }
        Dialog dialog = new Dialog(applicableItems, "Select Argument for " + fcn.getName(), tc);
        IntegrationEntity argument = dialog.select();
        if (argument != null) {
            insertItemTag(tc, argument);
        }
    }
View Full Code Here

    }

    @SuppressWarnings("unchecked")
    public void restore() {
        for (Map.Entry<IntegrationEntity, Object> m : mementos.entrySet()) {
            IntegrationEntity item = m.getKey();
            Object value = m.getValue();
            property.setValue(item, value);
            try {
                saver.save(item);
            } catch (InterchangeSavingException e) {
View Full Code Here

TOP

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

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.