Package org.jitterbit.integration.client.ui.interchange.delete

Examples of org.jitterbit.integration.client.ui.interchange.delete.Dependencies


                }
            }
        }

        public boolean isGreenLight() {
            Dependencies deps = getDependencies(toBeDeleted);
            boolean greenLight;
            try {
                greenLight = true;
                if (!deps.isEmpty()) {
                    greenLight = confirmSave(deps);
                }
                if (greenLight) {
                    collectEntitiesToSave(deps);
                    collectAllItemsThatWillBeDeleted(deps);
                    WizardItemDeleteChecker wim = new WizardItemDeleteChecker(allItemsThatWillBeDeleted, deps);
                    greenLight = wim.isGreenlighted();
                    if (greenLight) {
                        orphansToDelete = wim.getOrphansToDelete();
                    }
                }
            } finally {
                deps.dispose();
            }
            return greenLight;
        }
View Full Code Here


            }
            return greenLight;
        }

        private Dependencies getDependencies(Collection<IntegrationEntity> toBeDeleted) {
            Dependencies deps = new Dependencies(project.getCurrentDependencies());
            deps.addDependencies(toBeDeleted);
            return deps;
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.interchange.delete.Dependencies

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.