f.setPatterns(patterns);
chain.addFilter(f);
}
long embargoMS = accessPoint.getEmbargoMS();
if(embargoMS > 0) {
chain.addFilter(new DateEmbargoFilter(embargoMS));
}
CustomResultFilterFactory factory = accessPoint.getFilterFactory();
if(factory != null) {
ObjectFilter<CaptureSearchResult> filter =
factory.get(accessPoint);