Package org.jitterbit.integration.database.info.retriever

Examples of org.jitterbit.integration.database.info.retriever.TableSearchFilter


            submitDownloadJob();
        }
    }

    private boolean isReadyForDownload() {
        TableSearchFilter filter = model.getSearchFilter();
        if (filter.getObjectTypes().isEmpty()) {
            Alert.error("You must select at least one of Table and View.", "Invalid Filter Parameters");
            return false;
        }
        return true;
    }
View Full Code Here


        }
        if (viewSelector.isSelected()) {
            types.add(DatabaseObjectType.VIEW);
        }
        String searchString = getSqlSearchString();
        return new TableSearchFilter(searchString, types);
    }
View Full Code Here

            EnumSet<DatabaseObjectType> types = EnumSet.of(DatabaseObjectType.TABLE, DatabaseObjectType.VIEW);
            String searchString = tablePart.toString().trim();
            if (!tablePartIsDone) {
                searchString += "%";
            }
            return new TableSearchFilter(searchString, types);
        }
View Full Code Here

        }

        @Override
        public void actionPerformed(ActionEvent e) {
            // TODO: Implement a filter field.
            TableSearchFilter filter = filterControl.getInfoProviderFilter();
            controller.downloadTables(filter);
        }
View Full Code Here

    public WsJdbcDatabaseInfo getDatabaseObjects(String user, String password, WsConnectionParams wsConnParams, String driverName, String sourceGuid, String targetGuid, String[] objectTypeNames, String searchString) throws java.rmi.RemoteException {
        EnumSet<DatabaseObjectType> types = EnumSet.noneOf(DatabaseObjectType.class);
        for (String type : objectTypeNames) {
            types.add(DatabaseObjectType.valueOf(type));
        }
        TableSearchFilter filter = new TableSearchFilter(searchString, types);
        return getDatabaseObjectsImpl(user, password, wsConnParams, driverName, sourceGuid, targetGuid, filter);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.database.info.retriever.TableSearchFilter

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.