Package org.jitterbit.integration.data.validation

Examples of org.jitterbit.integration.data.validation.EntityCollectionValidationResult


        @Override
        public void valueChanged(TreeSelectionEvent e) {
            selectedEntity = getSelectedEntity();
            if (selectedEntity != null) {
                EntityCollectionValidationResult result = model.getCompoundValidationState(selectedEntity);
                if (result.status() != ValidationStatus.VALID) {
                    populateList(result);
                    return;
                }
            }
            clearList();
View Full Code Here


        IntegrationProject project = ProjectUtils.getProject(e);
        return project.getExtensionObject(ManagedProject.class);
    }

    private boolean validateItems(ManagedProject project, Collection<IntegrationEntity> items) {
        EntityCollectionValidationResult result = validateImpl(project, items);
        if (result.isFatal()) {
            showInvalidItems(result);
            return false;
        } else if (result.status() == ValidationStatus.WARNING) {
            EntityCollectionValidationResult warnings = DataValidationUtils.extractWarningsOnly(result);
            return warningsStrategy.allowDeploy(warnings);
        }
        return true;
    }
View Full Code Here

        public void projectWasValidated(ValidationModelEvent evt) {
            updateIndicator();
        }
       
        private void updateIndicator() {
            EntityCollectionValidationResult result = model.getCompoundValidationState(entity);
            new IndicatorUpdator().accept(result);
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.validation.EntityCollectionValidationResult

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.