org.archive.wayback.resourceindex.filters
Class OracleAnnotationFilter
java.lang.Object
org.archive.wayback.resourceindex.filters.OracleAnnotationFilter
- All Implemented Interfaces:
- ObjectFilter<CaptureSearchResult>
public class OracleAnnotationFilter
- extends java.lang.Object
- implements ObjectFilter<CaptureSearchResult>
SearchResult filter class which contacts an access-control Oracle, using
information from the public comment field to annotate SearchResult objects.
- Version:
- $Date$, $Revision$
- Author:
- brad
|
Method Summary |
int |
filterObject(CaptureSearchResult o)
inpect record and determine if it should be included in the
results or not, or if processing of new records should stop. |
org.archive.accesscontrol.AccessControlClient |
getClient()
|
java.lang.String |
getOracleUrl()
|
java.lang.String |
getWho()
|
void |
setClient(org.archive.accesscontrol.AccessControlClient client)
|
void |
setOracleUrl(java.lang.String oracleUrl)
|
void |
setWho(java.lang.String who)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleAnnotationFilter
public OracleAnnotationFilter()
filterObject
public int filterObject(CaptureSearchResult o)
- Description copied from interface:
ObjectFilter
- inpect record and determine if it should be included in the
results or not, or if processing of new records should stop.
- Specified by:
filterObject in interface ObjectFilter<CaptureSearchResult>
- Parameters:
o - Object which should be checked for inclusion/exclusion or abort
- Returns:
- int of FILTER_INCLUDE, FILTER_EXCLUDE, or FILTER_ABORT
getClient
public org.archive.accesscontrol.AccessControlClient getClient()
setClient
public void setClient(org.archive.accesscontrol.AccessControlClient client)
getWho
public java.lang.String getWho()
setWho
public void setWho(java.lang.String who)
getOracleUrl
public java.lang.String getOracleUrl()
setOracleUrl
public void setOracleUrl(java.lang.String oracleUrl)
Copyright © 2005-2009 Internet Archive. All Rights Reserved.