Package org.jitterbit.integration.data.persist

Examples of org.jitterbit.integration.data.persist.ProjectPersistor.save()


    @Override
    public void save(Transformation tf) {
        try {
            ProjectPersistor persistor = getView().getProjectPersistor();
            persistor.save(tf);
        } catch (InterchangeSavingException ex) {
            ErrorLog.attention(TreeMapperContainerImpl.class, "The transformation \"" + tf.getName()
                            + "\" could not be saved: " + ex.getMessage(), ex);
        }
    }
View Full Code Here


    private void saveDirtyOperations(OperationFlow flow, Map<OperationWrapper, Exception> errors) {
        ProjectPersistor writer = getProjectPersistor();
        for (OperationWrapper w : flow.getDirtyOperations()) {
            try {
                w.applyToOperation();
                writer.save(w.getActivity());
                ediPluginSaver.applyPluginIfNeeded(w.getPipeline());
            } catch (IllegalNameException ex) {
                errors.put(w, ex);
            } catch (InterchangeSavingException ex) {
                errors.put(w, ex);
View Full Code Here

        DeployLog.LOG.fine("Saving all deployed items");
        ProjectPersistor saver = currentProject.getProjectPersistor();
        for (IntegrationEntity e : partialProject.getAllEntities()) {
            IntegrationEntity realEntity = currentProject.getProject().getItemLookup().getEntity(e.getID());
            if (realEntity != null) {
                saver.save(realEntity);
            }
        }
        updateProject();
        saveProjectFile();
        DeployLog.LOG.fine("processPartialDeploy() completed successfully.");
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.