@Test public void testCreateFilterTranslator() { FilterTranslator<Pair<String, FilterWhereBuilder>> translator = new OracleOperationSearch(testConf, connector.getOrCreateAdminConnection()) .createFilterTranslator(ObjectClass.ACCOUNT, null); assertNotNull(translator); List<Pair<String, FilterWhereBuilder>> translate = translator.translate(new EqualsFilter(new Name("test"))); assertNotNull(translate); }
public FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator( ObjectClass oclass, OperationOptions options) { return new OracleFilterTranslator(oclass, options, cfg.getConnectorMessages(), cfg .getCSSetup()); }
OracleOperationSearch extends AbstractOracleOperation implements
        SearchOp<Pair<String, FilterWhereBuilder>> { public FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator( ObjectClass oclass, OperationOptions options) { return new OracleFilterTranslator(oclass, options, cfg.getConnectorMessages(), cfg .getCSSetup()); } }
OracleOperationSearch extends AbstractOracleOperation implements
        SearchOp<Pair<String, FilterWhereBuilder>> { public FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator( ObjectClass oclass, OperationOptions options) { return new OracleFilterTranslator(oclass, options, cfg.getConnectorMessages(), cfg .getCSSetup()); } OracleOperationSearch(OracleConfiguration cfg, Connection adminConn); }
OracleOperationSearch extends AbstractOracleOperation implements
        SearchOp<Pair<String, FilterWhereBuilder>> { public FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator( ObjectClass oclass, OperationOptions options) { return new OracleFilterTranslator(oclass, options, cfg.getConnectorMessages(), cfg .getCSSetup()); } OracleOperationSearch(OracleConfiguration cfg, Connection adminConn); FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator(
            ObjectClass oclass, OperationOptions options); void executeQuery(ObjectClass oclass, Pair<String, FilterWhereBuilder> pair,
            ResultsHandler handler, OperationOptions options); }
OracleOperationSearch extends AbstractOracleOperation implements
        SearchOp<Pair<String, FilterWhereBuilder>> { public FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator( ObjectClass oclass, OperationOptions options) { return new OracleFilterTranslator(oclass, options, cfg.getConnectorMessages(), cfg .getCSSetup()); } OracleOperationSearch(OracleConfiguration cfg, Connection adminConn); FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator(
            ObjectClass oclass, OperationOptions options); void executeQuery(ObjectClass oclass, Pair<String, FilterWhereBuilder> pair,
            ResultsHandler handler, OperationOptions options);  }