|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectthredds.cataloggen.inserter.SimpleLatestProxyDsHandler
public class SimpleLatestProxyDsHandler
_more_
| Constructor Summary | |
|---|---|
SimpleLatestProxyDsHandler(String latestName,
boolean locateAtTopOrBottom,
InvService service,
boolean isResolver)
Constructor. |
|
| Method Summary | |
|---|---|
CrawlableDataset |
createProxyDataset(CrawlableDataset parent)
Create a new dataset to add to the parent collection dataset. |
InvCrawlablePair |
getActualDataset(List atomicDsInfo)
Determine the InvCrawlablePair from the given dataset collection (java.util.List) being proxied by this ProxyDatasetHandler. |
String |
getActualDatasetName(InvCrawlablePair actualDataset,
String baseName)
|
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. |
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 |
isLocateAtTopOrBottom()
|
boolean |
isProxyDatasetResolver()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleLatestProxyDsHandler(String latestName,
boolean locateAtTopOrBottom,
InvService service,
boolean isResolver)
latestName - the name to be used for all latest dataset, if null, the default is "latest.xml".locateAtTopOrBottom - indicates where to locate the latest dataset (true - locate on top; false - locate on bottom).service - the InvService used by the created dataset.| Method Detail |
|---|
public boolean isLocateAtTopOrBottom()
public Object getConfigObject()
ProxyDatasetHandler
getConfigObject in interface ProxyDatasetHandlerpublic String getProxyDatasetName()
ProxyDatasetHandler
getProxyDatasetName in interface ProxyDatasetHandlerpublic CrawlableDataset createProxyDataset(CrawlableDataset parent)
ProxyDatasetHandler
createProxyDataset in interface ProxyDatasetHandlerparent - the collection dataset in which to add the dataset being created.
public InvService getProxyDatasetService(CrawlableDataset parent)
ProxyDatasetHandler
getProxyDatasetService in interface ProxyDatasetHandlerparent - the collection dataset in which to add the dataset being created.
public int getProxyDatasetLocation(CrawlableDataset parent,
int collectionDatasetSize)
ProxyDatasetHandler
getProxyDatasetLocation in interface ProxyDatasetHandlerparent - the collection dataset in which to add the dataset being created.collectionDatasetSize - the number of datasets currentlyin the parent collection dataset.
public boolean isProxyDatasetResolver()
isProxyDatasetResolver in interface ProxyDatasetHandlerpublic InvCrawlablePair getActualDataset(List atomicDsInfo)
ProxyDatasetHandler
getActualDataset in interface ProxyDatasetHandleratomicDsInfo - a list of InvCrawlablePair objects representing a dataset collection.
public String getActualDatasetName(InvCrawlablePair actualDataset,
String baseName)
getActualDatasetName in interface ProxyDatasetHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||