public class CollectionConfigReader extends AbstractConfigReader
CollectionConfig
objects for each of
the frameworks supported by DCS.Modifier and Type | Field and Description |
---|---|
protected static boolean |
debug
NOT YET DOCUMENTED
|
df, docMap, nameSpaceInfo, rootElementName, source, writeOnDestroy
Constructor and Description |
---|
CollectionConfigReader(java.io.File source)
Create a CollectionConfigReader.
|
Modifier and Type | Method and Description |
---|---|
void |
clearNdrInfo()
Remove all ndrInfo from the CollectionConfig and set "authority" to "dcs".
|
java.lang.String |
getAgentHandle()
Gets the agentHandle attribute of the CollectionConfigReader object
|
java.lang.String |
getAggregatorHandle()
Gets the aggregatorHandle attribute of the CollectionConfigReader object
|
boolean |
getAllowSuggestions() |
java.lang.String |
getAuthority()
Gets the authority attribute of the CollectionConfigReader object
|
java.lang.String |
getExportDirectory()
Gets the name attribute of the CollectionConfigReader object
|
java.lang.String |
getFinalStatusLabel()
Gets the finalStatusLabel attribute of the CollectionConfigReader object
|
java.lang.String |
getId()
optional node
|
java.lang.String |
getIdPrefix()
optional node
|
java.lang.String |
getMetadataProviderHandle()
Gets the metadataProviderHandle attribute of the CollectionConfigReader
object
|
java.lang.String |
getNdrOaiLink()
Gets the ndrOaiLink attribute of the CollectionConfigReader object
|
java.lang.String |
getNdrServer()
Gets the ndrServer attribute of the CollectionConfigReader object
|
java.util.Map |
getStatusMap()
Gets the statusMap attribute of the CollectionConfigReader object
|
java.util.Map |
getTupleMap()
Gets the tupleMap attribute of the CollectionConfigReader object
|
java.lang.String |
getXmlFormat()
Gets the xmlFormat attribute of the CollectionConfigReader object
|
protected static void |
prtln(java.lang.String s)
Print a line to standard out.
|
void |
refresh()
Force update by clearing cached values
|
void |
setAgentHandle(java.lang.String pid)
Sets the agentHandle attribute of the CollectionConfigReader object
|
void |
setAggregatorHandle(java.lang.String pid)
Sets the aggregatorHandle attribute of the CollectionConfigReader object
|
void |
setAllowSuggestions(boolean value) |
void |
setAuthority(java.lang.String s)
Sets the authority attribute of the CollectionConfigReader object
|
void |
setExportDirectory(java.lang.String s)
Sets the exportDirectory attribute of the CollectionConfigReader object
|
void |
setFinalStatusLabel(java.lang.String s)
Sets the finalStatusLabel attribute of the CollectionConfigReader object
|
void |
setId(java.lang.String s)
Sets the discussionURL attribute of the CollectionConfigReader object
|
void |
setIdPrefix(java.lang.String s)
Sets the idPrefix attribute of the CollectionConfigReader object
|
void |
setMetadataProviderHandle(java.lang.String handle)
Sets the metadataProviderHandle attribute of the CollectionConfigReader
object
|
void |
setNdrOaiLink(java.lang.String link)
Sets the ndrOaiLink attribute of the CollectionConfigReader object
|
void |
setNdrServer(java.lang.String server)
Sets the ndrServer attribute of the CollectionConfigReader object
|
void |
setStatusMap(java.util.Map sMap)
NOTE: if we edit the config record via schemedit, the record is
automatically updated and then we have to reload it.
|
void |
setTupleMap(java.util.Map tMap)
Sets the tupleMap attribute of the CollectionConfigReader object
|
void |
setXmlFormat(java.lang.String s)
Sets the xmlFormat attribute of the CollectionConfigReader object
|
destroy, flush, getDelocalizedDoc, getDocMap, getDocument, getNode, getNodes, getNodeText, getSource, getSourcePath, setNodeText, setSource
public CollectionConfigReader(java.io.File source) throws java.lang.Exception
source
- Description of the Parameterjava.lang.Exception
- NOT YET DOCUMENTEDpublic java.lang.String getId()
public void setId(java.lang.String s)
s
- The new discussionURL valuepublic java.lang.String getIdPrefix()
public void setIdPrefix(java.lang.String s)
s
- The new idPrefix valuepublic java.lang.String getExportDirectory()
public void setExportDirectory(java.lang.String s)
s
- The new exportDirectory valuepublic java.lang.String getXmlFormat()
public void setXmlFormat(java.lang.String s)
s
- The new xmlFormat valuepublic java.lang.String getAuthority()
public void setAuthority(java.lang.String s)
s
- The new authority valuepublic boolean getAllowSuggestions()
public void setAllowSuggestions(boolean value)
public void clearNdrInfo()
public java.lang.String getMetadataProviderHandle()
public void setMetadataProviderHandle(java.lang.String handle)
handle
- The new metadataProviderHandle valuepublic java.lang.String getAggregatorHandle()
public void setAggregatorHandle(java.lang.String pid)
pid
- The new aggregatorHandle valuepublic java.lang.String getAgentHandle()
public void setAgentHandle(java.lang.String pid)
pid
- The new agentHandle valuepublic java.lang.String getNdrOaiLink()
public void setNdrOaiLink(java.lang.String link)
link
- The new ndrOaiLink valuepublic java.lang.String getNdrServer()
public void setNdrServer(java.lang.String server)
link
- The new ndrServer valuepublic java.lang.String getFinalStatusLabel()
public void setFinalStatusLabel(java.lang.String s)
s
- The new finalStatusLabel valuepublic java.util.Map getStatusMap()
public void setStatusMap(java.util.Map sMap) throws java.lang.Exception
sMap
- The new statusMap valuejava.lang.Exception
- NOT YET DOCUMENTEDpublic java.util.Map getTupleMap()
public void setTupleMap(java.util.Map tMap) throws java.lang.Exception
tMap
- The new tupleMap valuejava.lang.Exception
- NOT YET DOCUMENTEDpublic void refresh()
refresh
in class AbstractConfigReader
protected static void prtln(java.lang.String s)
s
- The String to print.