Package org.jitterbit.integration.server.implementation.webservice.interchange.deploy.client

Examples of org.jitterbit.integration.server.implementation.webservice.interchange.deploy.client.InterchangeDataRow


   
    InterchangeDataRow[] rows = new InterchangeDataRow[pipelinePlugins.size()];
    int i = 0;
    for( EntityPipelinePlugin plugin : pipelinePlugins ) {
     
      InterchangeDataRow row = new InterchangeDataRow();
      row.setFields(getFields(plugin));
      rows[i++] = row;
    }
    retval.setRows(rows);
    return retval;
  }
View Full Code Here


        // Don't include folder items that don't have a parent folder.
        String[] fields = FolderItem.getPropertyValues(parentFolder, integrationEntity);
        if (fields[0] == null || fields[0].isEmpty() || fields[0] == "0")
            return;

        InterchangeDataRow row = getInterchangeDataRow(fields);
        m_updatedFolderItems.add(row);
    }
View Full Code Here

        if (siblingOperations != null && siblingOperations.length > 0) {
            for (OperationId siblingOperation : siblingOperations) {
                String[] row = new String[2];
                row[0] = operationId;
                row[1] = siblingOperation.toString();
                m_commonSourceOperations.add(new InterchangeDataRow(row));
            }
        }

        // Add "operation pipeline".
        final DeployPipelineActivityVisitor pipelinePartVisitor = new DeployPipelineActivityVisitor();
        for (PipelineActivity activity : operation.getPipeline().getActivities()) {
            pipelinePartVisitor.visit(activity);
            String activityId = pipelinePartVisitor.getGuid();
            if (activityId == null)
                continue; // The activity is empty or we don't need to include it in deploy (see
                          // DeployPipelinePartVisitor).

            int activityTypeId = activity.getType().getActivityTypeId();
            String[] row = new String[3];
            row[0] = operationId;
            row[1] = Integer.toString(activityTypeId);
            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);
                m_operationGraphLayout.add(new InterchangeDataRow(row));
            } catch (IOException e) {
                // It's unlikely that this should happen, but if it does we can ignore it
                // since it only means that the graph layout will not be deployed.
                e.printStackTrace();
            }
View Full Code Here

                    fields[0] = transformationId;
                    fields[1] = isSource ? "0" : "1";
                    fields[2] = entry.getOid().toString();
                    fields[3] = entry.getAttributesAsString();
                    fields[4] = entry.getAuxiliaryClassesAsString();
                    m_updatedLdapStructureEntry.add(new InterchangeDataRow(fields));
                }
            }
        }
    }
View Full Code Here

            fields[2] = path;
            fields[3] = filter;
            fields[4] = Integer.toString(scope);
            fields[5] = oid.toString();

            m_updatedLdapSearchParameters.add(new InterchangeDataRow(fields));
        }
    }
View Full Code Here

        m_updatedRows = Lists.newArrayList();
        m_deletedIds = Lists.newArrayList();
    }

    private InterchangeDataRow getInterchangeDataRow(String[] fields) {
        InterchangeDataRow row = new InterchangeDataRow();
        row.setFields(fields);
        return row;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.implementation.webservice.interchange.deploy.client.InterchangeDataRow

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.