final SearchScope searchScope = getSearchScope(sr.getSearchScope());
if (searchScope != null) {
apacheSr.setScope(searchScope);
}
apacheSr.setSizeLimit(sr.getSizeLimit());
<BUG>apacheSr.setTimeLimit(Long.valueOf(sr.getTimeLimit()).intValue());
apacheSr.setTypesOnly(sr.getTypesOnly());</BUG>
return apacheSr;
}
protected SearchScope getSearchScope(final org.ldaptive.SearchScope ss)

final SearchScope searchScope = getSearchScope(sr.getSearchScope());
if (searchScope != null) {
apacheSr.setScope(searchScope);
}
apacheSr.setSizeLimit(sr.getSizeLimit());
apacheSr.setTimeLimit((int) sr.getTimeLimit().getSeconds());
apacheSr.setTypesOnly(sr.getTypesOnly());
return apacheSr;
}
protected SearchScope getSearchScope(final org.ldaptive.SearchScope ss)
