Examples of TextDocumentId


Examples of org.jitterbit.integration.data.entity.id.TextDocumentId

            collectedLinks.addAll(links);
        }
    }

    private void collectDocumentLinks() {
        TextDocumentId srcDocId = transformation.getSourceTextDocumentId();
        TextDocumentId tgtDocId = transformation.getTargetTextDocumentId();
        if (srcDocId == null && tgtDocId == null) {
            return;
        }
        TransformationDocumentLinkFactory factory = new TransformationDocumentLinkFactory(transformation, dataLookup);
        if (KongaID.areEqual(srcDocId, tgtDocId)) {
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.TextDocumentId

        // (or getOutputLink) will serve the purpose.
        return getInputLink();
    }

    public EntityLink getInputLink() {
        TextDocumentId docId = transformation.getSourceTextDocumentId();
        if (docId != null) {
            TextDocument doc = dataLookup.getEntity(docId, TextDocument.class);
            if (doc != null) {
                return new StrongEntityLink(doc, transformation);
            }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.TextDocumentId

        }
        return null;
    }

    public EntityLink getOutputLink() {
        TextDocumentId docId = transformation.getTargetTextDocumentId();
        if (docId != null) {
            TextDocument doc = dataLookup.getEntity(docId, TextDocument.class);
            if (doc != null) {
                return new StrongEntityLink(doc, transformation);
            }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.TextDocumentId

        processStructures();
        processMappings();
    }

    private void replaceTextDocuments() {
        TextDocumentId id = tf.getSourceTextDocumentId();
        if (id != null) {
            TextDocument replacement = (TextDocument) service.getReplacement(id);
            if (replacement != null) {
                tf.setSourceTextDocumentId(replacement.getID());
                tf.setInputStructure(replacement.getDataStructure());
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.TextDocumentId

        throw new WizardPageException(this, "The selected JMS message has an unknown payload type: " + payloadType +
                ". Please revisit the definition for the selected JMS message.");
    }
   
    private TextStructure getTextStructure(JmsMessage msg) throws WizardPageException {
        TextDocumentId docId = msg.getPayloadTextDocumentId();
        if (docId == null) {
            throw new WizardPageException(this, "The selected JMS message is defined to have a TEXT payload, " +
                    "but no text structure has been assigned to it. Please revisit the definition for the " +
                    "selected JMS message.");
        }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.TextDocumentId

        }
        return true;
    }

    private static TextStructure lookupTextStructure(Persistor p, IntegrationEntityLookup lookup) {
        TextDocumentId docId = null;
        try {
            docId = new TextDocumentId(p.getString(DOC_ID));
        } catch (RuntimeException ex) {
            throw new RuntimeException("Invalid persistor: missing or invalid DOC_ID field");
        }
        TextDocument doc = lookup.getEntity(docId, TextDocument.class);
        if (doc == null) {
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.