Examples of GuidToIdDbMapper


Examples of org.jitterbit.integration.server.idmappings.GuidToIdDbMapper

    /**
     * Creates and returns a <code>GuidToIdMapper</code>.
     */
    public synchronized GuidToIdMapper getIdMapper() throws ServerAccessException {
        return new GuidToIdDbMapper(getTranDbConnection());
    }
View Full Code Here

Examples of org.jitterbit.integration.server.idmappings.GuidToIdDbMapper

        throw new ServerDbException("No password has been specified, and no source or target ID provided.");
    }

    private String lookupPasswordFromDeployedSource(SourceId guid) throws ServerDbException, ServerAccessException {
        try {
            GuidToIdMapper mapper = new GuidToIdDbMapper(tranDbConnection);
            Long id = mapper.getId(guid);
            if (id != null) {
                // No need to close srcTab in a finally block, since we are closing
                // the connection itself explicitly
                SourcesTab srcTab = new SourcesTab(tranDbConnection);
                SourcesTabRow row = srcTab.query(id.intValue());
View Full Code Here

Examples of org.jitterbit.integration.server.idmappings.GuidToIdDbMapper

        return null;
    }

    private String lookupPasswordFromDeployedTarget(TargetId guid) throws ServerDbException, ServerAccessException {
        try {
            GuidToIdMapper mapper = new GuidToIdDbMapper(tranDbConnection);
            Long id = mapper.getId(guid);
            if (id != null) {
                // No need to close srcTab in a finally block, since we are closing
                // the connection itself explicitly
                TargetsTab tgtTab = new TargetsTab(tranDbConnection);
                TargetsTabRow row = tgtTab.query(id.intValue());
View Full Code Here

Examples of org.jitterbit.integration.server.idmappings.GuidToIdDbMapper

    public AccessController newController() {
        AccessController ctrl = new AccessController();
        ctrl.setGroupLookup(new TranDbGroupLookup(conn));
        ctrl.setUserPermissionsLookup(new TranDbUserPermissionsLookup(conn));
        ctrl.setGroupPermissionsLookup(new TranDbGroupPermissionsLookup(conn));
        ctrl.setGuidToIdMapper(new GuidToIdDbMapper(conn));
        return ctrl;
    }
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.