public interface ProxyDatasetHandler
Modifier and Type | Method and Description |
---|---|
CrawlableDataset |
createProxyDataset(CrawlableDataset parent)
Create a new dataset to add to the parent collection dataset.
|
InvCrawlablePair |
getActualDataset(java.util.List possibleDatasets)
Determine the InvCrawlablePair from the given dataset collection
(java.util.List) being proxied by this ProxyDatasetHandler.
|
java.lang.String |
getActualDatasetName(InvCrawlablePair actualDataset,
java.lang.String baseName) |
java.lang.Object |
getConfigObject()
Return the configuration object.
|
int |
getProxyDatasetLocation(CrawlableDataset parent,
int collectionDatasetSize)
Return an integer which indicates the location/index at which
the new dataset should be added to the parent collection dataset.
|
java.lang.String |
getProxyDatasetName()
Return the name of the proxy dataset.
|
InvService |
getProxyDatasetService(CrawlableDataset parent)
Return the InvService to be used by the InvDataset that corresponds to the created dataset.
|
boolean |
isProxyDatasetResolver() |
java.lang.String getProxyDatasetName()
CrawlableDataset createProxyDataset(CrawlableDataset parent)
parent
- the collection dataset in which to add the dataset being created.InvService getProxyDatasetService(CrawlableDataset parent)
parent
- the collection dataset in which to add the dataset being created.int getProxyDatasetLocation(CrawlableDataset parent, int collectionDatasetSize)
parent
- the collection dataset in which to add the dataset being created.collectionDatasetSize
- the number of datasets currentlyin the parent collection dataset.boolean isProxyDatasetResolver()
InvCrawlablePair getActualDataset(java.util.List possibleDatasets)
possibleDatasets
- a list of InvCrawlablePair objects representing a dataset collection.java.lang.String getActualDatasetName(InvCrawlablePair actualDataset, java.lang.String baseName)
java.lang.Object getConfigObject()