Package org.jitterbit.integration.server.db.trandb

Examples of org.jitterbit.integration.server.db.trandb.TransformationsTabRow


        this.connection = connection;
    }

    @Override
    public File getSourceXsd(long txId) throws Exception {
        TransformationsTabRow row = queryTransformation(txId);
        String relativePath = getRelativePathForSourceXsd(txId, row);
        File xsd = createAbsolutePath(relativePath);
        return xsd;
    }
View Full Code Here


        return xsd;
    }

    private TransformationsTabRow queryTransformation(long txId) throws SQLException {
        TransformationsTab table = new TransformationsTab(connection);
        TransformationsTabRow row = table.query(txId);
        if (row == null) {
            throw new IllegalArgumentException("Unknown Transformation ID: " + txId);
        }
        return row;
    }
View Full Code Here

        return new File(serverHome, relativePath);
    }

    @Override
    public synchronized File getTargetXsd(long txId) throws Exception {
        TransformationsTabRow row = queryTransformation(txId);
        String relativePath = getRelativePathForTargetXsd(txId, row);
        File xsd = createAbsolutePath(relativePath);
        return xsd;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.db.trandb.TransformationsTabRow

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.