Examples of DataLocation


Examples of org.jitterbit.integration.data.location.DataLocation

        Source source = getSource();
        if (source == null) {
            Alert.error("The operation does not have a source.", "No Source");
            return false;
        }
        DataLocation location = source.getLocation();
        if (!location.isFileBased()) {
            Alert.error("The operation source is not file based.", "Not File Based");
            return false;
        }
        return true;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

     */
    public TargetPage(Target target) {
        super(new IntegrationEntityPageModel(target));
        iconPrefListener = new IconPreferenceListener();
        setHelpId(DEFAULT_HELP_ID);
        DataLocation loc = target.getLocation();
        if (loc != null) {
            setCurrentLocationType(loc.getDataLocationType());
        }
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        protected boolean preDefaultProcessing(IntegrationEntity entity, PostDeployProcessingManager manager) {
            if (entity instanceof SystemTarget) {
                return false;
            }
            blankOutPasswordsIfRequired(entity, FileLocation.PROPERTY_PASSWORD, manager);
            DataLocation location = ((Target) entity).getLocation();
            PostDeployLocationProcessor processor = new PostDeployLocationProcessor(manager);
            processor.process(location);
            return true;
        }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

            }
        }.runInBackgroundThread();
    }

    private void doExportImpl(Target target, List<? extends IntegrationEntity> availableDestinations) {
        DataLocation original = target.getLocation();
        helper.doExport(original, availableDestinations);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    public PostDeployStructureProcessor(PostDeployLocationProcessor locationProcessor) {
        this.locationProcessor = locationProcessor;
    }

    public void process(DataStructure s) {
        DataLocation location = null;
        if (s instanceof DatabaseStructure) {
            location = ((DatabaseStructure) s).getUnprotectedDbLocation();
        } else if (s instanceof LdapStructure) {
            location = ((LdapStructure) s).getLdapLocation();
            location = ((LdapStructure) s).getUnprotectedLdapLocation();
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    private static final class DbLookupFilter implements EntityFilter {

        @Override
        public boolean apply(IntegrationEntity entity) {
            if (entity instanceof Locatable) {
                DataLocation loc = ((Locatable) entity).getLocation();
                return loc instanceof DatabaseLocation;
            }
            return false;
        }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    }

    private void setLocatable(Locatable locatable) {
        this.locatable = locatable;
        topPanel.setLocatable(locatable);
        DataLocation loc = locatable.getLocation();
        if (loc != null) {
            DataLocationPanel panel = panelFactory.getPanel(loc);
            locationDisplayer.showDataLocationPanel(panel);
            fireTypeSelectionChange(loc.getDataLocationType());
        } else {
            fireTypeSelectionChange(null);
        }
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        typeComboBox.setSelectedLocationType(null);
        return typeComboBox;
    }

    public final void setLocatable(Locatable locatable) {
        DataLocation loc = locatable.getLocation();
        typeComboBox.setSelectedLocationType((loc == null) ? null : loc.getDataLocationType());
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        }
        return true;
    }

    private DataLocationType getCurrentType() {
        DataLocation loc = page.getLocatable().getLocation();
        return loc != null ? loc.getDataLocationType() : null;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

            return FtpTransferType.class;
        }

        @Override
        public FtpTransferType getValue(IntegrationEntity entity) {
            DataLocation location = ((Locatable) entity).getLocation();
            return ((FtpLocation) location).getTransferType();
        }
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.