Package org.jitterbit.integration.data.location

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


        restored.restoreFrom(xml);
        assertTrue(original.equals(restored));
    }
   
    private LdapLocation createLocation() {
        LdapLocation loc = new LdapLocation();
        loc.setSourceId(new SourceId());
        return loc;
    }
View Full Code Here


    public static void main(String[] args) {
        new LdapLocationPanelTest().run();
    }

    public void run() {
        LdapLocation loc = new LdapLocation();
        LdapLocationPanel panel = new LdapLocationPanel(loc, SourceTarget.Target);
        QuickFrame.show(panel.getUi(), "LdapLocationPanelTest");
    }
View Full Code Here

                                ftp.getFileFilter().getFilter(), ftp.getRenameFileTo().getFileName());
            case HTTP:
                HttpLocation http = (HttpLocation) dl;
                return KList.fromItems(http.getUrl(), http.getLogin());
            case LDAP:
                LdapLocation ldap = (LdapLocation) dl;
                return KList.fromItems(ldap.getLogin(), ldap.getBaseName(), ldap.getServer());
            case Database:
                DatabaseLocation db = (DatabaseLocation) dl;
                return KList.fromItems(
                                db.getDriverName(), db.getServer(), db.getDatabase(), db.getConnectionString(),
                                db.getManualConnectionString(), db.getLogin());
View Full Code Here

        return (LdapLocation) super.getDisplayedObject();
    }

    @Override
    public void apply() throws IntegrationDataPanelException {
        LdapLocation loc = getDisplayedObject();
        for (LdapLocationPanelPart part : parts) {
            part.applyTo(loc);
        }
        if (cache != null) {
            cache.update(loc);
View Full Code Here

        }
    }

    @Override
    public void reset() {
        LdapLocation loc = getDisplayedObject();
        for (LdapLocationPanelPart part : parts) {
            part.reset(loc);
        }
    }
View Full Code Here

        // HACK: This is part of a hack described in more detail in the DatabaseStructure class:
        dbStruct.setSourceId(src.getID());
    }

    private void collectSourceLdapLocationAndStructureLink(Source src) {
        LdapLocation loc = (LdapLocation) src.getLocation();
        LdapStructure struct = (LdapStructure) transformation.getInputStructure();
        struct.setLdapLocation(loc);
        // HACK: This is part of a hack described in more detail in the LdapStructure class:
        loc.setSourceId(src.getID());
    }
View Full Code Here

        // HACK: This is part of a hack described in more detail in the DatabaseStructure class:
        dbStruct.setTargetId(tgt.getID());
    }

    private void collectTargetLdapLocationAndStructureLink(Target tgt) {
        LdapLocation loc = (LdapLocation) tgt.getLocation();
        LdapStructure struct = (LdapStructure) transformation.getOutputStructure();
        struct.setLdapLocation(loc);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.location.LdapLocation

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.