Package org.jitterbit.integration.data.entity

Examples of org.jitterbit.integration.data.entity.DependencyStore


    }

    private KList<Transformation> collectAffectedTransformations() {
        IntegrationEntity locatable = (IntegrationEntity) page.getLocatable();
        IntegrationProject project = ProjectUtils.getProject(locatable);
        DependencyStore dependencies = project.getCurrentDependencies();
        try {
            KList<Transformation> tfs = KList.newList();
            for (IntegrationEntity e : dependencies.getDependingObjects(locatable).keepAll(
                            EntityFilters.allOfType(EntityType.Transformation))) {
                Transformation tf = (Transformation) e;
                if (isTransformationAffected(tf)) {
                    tfs.add(tf);
                }
            }
            return tfs;
        } finally {
            dependencies.dispose();
        }
    }
View Full Code Here


    protected void runOnObject(IntegrationEntity object) {
        viewDependencies(object);
    }

    private void viewDependencies(IntegrationEntity entity) {
        DependencyStore deps = getDependencies(entity);
        DisposableCollection disposables = new DisposableCollection(deps);
        try {
            DependencyGraph ui = new DependencyGraph(entity, deps, new NodeUiFactoryImpl(entity));
            disposables.add(ui);
            ui.setPageDisplayer(pageDisplayer);
View Full Code Here

        }
        return items;
    }

    private void collectOperationItems(Operation op, Set<IntegrationEntity> bin) {
        DependencyStore deps = ProjectUtils.getProject(op).getCurrentDependencies();
        try {
            collectItems(op, deps, bin);
        } finally {
            deps.dispose();
        }
    }
View Full Code Here

            }
        });
    }

    private void displayRequiredItemsTree(IntegrationEntity startPoint) {
        DependencyStore deps = getDependencies(startPoint);
        if (deps != null) {
            try {
                RequiredObjectsTreeUi tree = new RequiredObjectsTreeUi(startPoint, deps);
                UiProviderDialogDisplayer.display(UiUtils.getActiveWindow(), tree, "Required Objects");
            } finally {
                deps.dispose();
            }
        } else {
            Alert.error("The selected object does not belong to a project.", "Error");
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.DependencyStore

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.