public final class DCSAdminForm extends RepositoryForm implements java.io.Serializable
compressions, deletedRecord, earliestDatestamp, exampleID, granularity, metadataFormats, properties, ProtocolVersion, providerStatus, record
Constructor and Description |
---|
DCSAdminForm()
Constructor for the DCSAdminForm Bean object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdd()
Gets the add attribute of the DCSAdminForm object
|
java.lang.String |
getCollectionKey() |
java.lang.String |
getCollectionPrefix() |
java.lang.String |
getCollectionRecordsLocation()
Gets the path for the directory of collect-level records the RepositoryManager is
using, or empty string if none is configured.
|
java.lang.String |
getCollectionsBaseDir()
Grabs the base directory where collections metadata files are located, or null if not
configured.
|
java.lang.String |
getCurrentAdminEmail()
Gets the currentAdminEmail attribute of the DCSAdminForm object
|
java.lang.String |
getCurrentDescription()
Gets the currentDescription attribute of the DCSAdminForm object
|
java.lang.String |
getCurrentSetDescription()
Gets the currentSetDescription attribute of the DCSAdminForm object
|
java.lang.String |
getCurrentSetDirectory()
Gets the currentSetDirectory attribute of the DCSAdminForm object
|
java.lang.String |
getCurrentSetFormat()
Gets the currentSetFormat attribute of the DCSAdminForm object
|
java.lang.String |
getCurrentSetName()
Gets the currentSetName attribute of the DCSAdminForm object
|
java.lang.String |
getCurrentSetSpec()
Gets the currentSetSpec attribute of the DCSAdminForm object
|
java.lang.String |
getDcsId() |
java.lang.String |
getDcsXml() |
java.lang.String |
getDrcBoostFactor()
Gets the boosting factor used to rank items in the DRC.
|
java.lang.String |
getExampleId()
Gets the exampleId attribute of the DCSAdminForm object
|
java.util.Map |
getFrameworks() |
java.lang.String |
getIndexingStartDate()
Gets the date and time the indexer is/was scheduled to start, for example 'Dec 2,
2003 1:35 AM MST'.
|
java.lang.String |
getIndexingTimeOfDay()
Gets the time of day the indexer isscheduled to start, for example '1:35 AM MST'.
|
java.util.Map |
getLockedRecords() |
java.lang.String |
getMessage()
Gets the message attribute of the DCSAdminForm object
|
java.lang.String |
getMetadataGroupsLoaderFile() |
java.lang.String |
getMetadataRecordsLocation()
Gets the path for the directory of metadata records the RepositoryManager is using,
or empty string if none is configured.
|
java.lang.String |
getMultiDocBoostFactor()
Gets the boosting factor used to rank resources that have multiple records.
|
java.lang.String |
getNumIdentifiersResults()
Gets the numIdentifiersResults attribute of the DCSAdminForm object
|
java.lang.String |
getNumIndexingErrors()
Gets the number of indexing errors that are present.
|
java.lang.String |
getNumRecordsResults()
Gets the numRecordsResults attribute of the DCSAdminForm object
|
java.lang.String |
getRemoveInvalidRecords()
Gets the removeInvalidRecords attribute of the DCSAdminForm object
|
java.lang.String |
getRepositoryIdentifier()
Gets the repositoryIdentifier attribute of the DCSAdminForm object
|
java.util.List |
getSessionBeans() |
java.util.ArrayList |
getSets()
Gets the sets configured in the RepositoryManager.
|
java.lang.String |
getSortSetsBy()
Gets the sortSetsBy attribute of the DCSAdminForm object
|
java.lang.String |
getStemmingBoostFactor()
Gets the boosting factor used to rank items with matching stemmed terms.
|
java.lang.String |
getStemmingEnabled()
Indicates whether stemming support is enabled.
|
java.lang.String |
getTitleBoostFactor()
Gets the titleBoostFactor attribute of the DCSAdminForm object
|
java.lang.String |
getTrustedWsIps() |
java.util.List |
getUnloadedFrameworks() |
java.lang.String |
getUpdateFrequency()
Gets the frequency by which the index is updated to reflect changes that occur in the
metadata files.
|
java.lang.String |
getValidateRecords()
Gets the validateRecords attribute of the DCSAdminForm object
|
java.util.ArrayList |
getValidCollectionKeys()
Grabs the collection keys from the DPC keys schema.
|
java.util.ArrayList |
getValidMetadataFormats()
Grabs the valid metadata formats from the DPC schema.
|
java.lang.String |
getXmlError()
Gets the xmlError attribute of the DCSAdminForm object
|
void |
setAdd(java.lang.String value)
Sets the add attribute of the DCSAdminForm object
|
void |
setCollectionKey(java.lang.String key) |
void |
setCollectionPrefix(java.lang.String prefix) |
void |
setCollectionRecordsLocation(java.lang.String collectionRecordsLocation)
Sets the absolute path to the collectionRecordsLocation.
|
void |
setCurrentAdminEmail(java.lang.String value)
Sets the currentAdminEmail attribute of the DCSAdminForm object
|
void |
setCurrentDescription(java.lang.String value)
Sets the currentDescription attribute of the DCSAdminForm object
|
void |
setCurrentSetDescription(java.lang.String value)
Sets the currentSetDescription attribute of the DCSAdminForm object
|
void |
setCurrentSetDirectory(java.lang.String value)
Sets the currentSetDirectory attribute of the DCSAdminForm object
|
void |
setCurrentSetFormat(java.lang.String value)
Sets the currentSetFormat attribute of the DCSAdminForm object
|
void |
setCurrentSetName(java.lang.String value)
Sets the currentSetName attribute of the DCSAdminForm object
|
void |
setCurrentSetSpec(java.lang.String value)
Sets the currentSetSpec attribute of the DCSAdminForm object
|
void |
setDcsId(java.lang.String id) |
void |
setDcsXml(java.lang.String xml) |
void |
setDrcBoostFactor(java.lang.String boostFactor)
Sets the boosting factor used to rank items in the DRC.
|
void |
setFrameworks(java.util.Map map) |
void |
setIndexingStartTime(java.util.Date indexingStartTime)
Sets the date and time the indexer is/was scheduled to start.
|
void |
setLockedRecords(java.util.Map lockedRecords) |
void |
setMessage(java.lang.String message)
Sets the message attribute of the DCSAdminForm object
|
void |
setMetadataRecordsLocation(java.lang.String metadataRecordsLocation)
Sets the absolute path to the metadataRecordsLocation.
|
void |
setMultiDocBoostFactor(java.lang.String boostFactor)
Sets the boosting factor used to rank resources that have multiple records.
|
void |
setNumIdentifiersResults(java.lang.String numResults)
Sets the numIdentifiersResults attribute of the DCSAdminForm object
|
void |
setNumIndexingErrors(int numErrors)
Sets the number of indexing errors that are present.
|
void |
setNumRecordsResults(java.lang.String numResults)
Sets the numRecordsResults attribute of the DCSAdminForm object
|
void |
setRepositoryIdentifier(java.lang.String value)
Sets the repositoryIdentifier attribute of the DCSAdminForm object
|
void |
setRepositoryName(java.lang.String name)
Sets the repositoryName attribute of the DCSAdminForm object
|
void |
setSessionBeans(java.util.List sessionBeans) |
void |
setSets(java.util.ArrayList setInfos)
Sets the sets attribute of the DCSAdminForm object
|
void |
setSortSetsBy(java.lang.String sortSetsBy)
Sets the sortSetsBy attribute of the DCSAdminForm object
|
void |
setStemmingBoostFactor(java.lang.String boostFactor)
Sets the boosting factor used to rank items with matching stemmed terms.
|
void |
setStemmingEnabled(java.lang.String stemmingEnabled)
Sets whether stemming support is enabled.
|
void |
setTitleBoostFactor(java.lang.String boostFactor)
Sets the boosting factor used to rank items with matching terms in the title field.
|
void |
setTrustedWsIps(java.lang.String val) |
void |
setUnloadedFrameworks(java.util.List formats) |
void |
setUpdateFrequency(int frequency)
Sets the frequency by which the index is updated to reflect changes that occur in the
metadata files.
|
void |
setXmlError(java.lang.String xmlError)
Sets the xmlError attribute of the DCSAdminForm object
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the input.
|
addOaiError, getAdminEmails, getBaseURL, getCompressions, getDatestamp, getDeletedRecord, getDeletedStatus, getDescriptions, getDs, getEarliestDatestamp, getErrors, getExampleID, getGranularity, getIdentifier, getMetadataFormats, getMetadataNamespaces, getMetadataSchemaURLs, getNumDeletedDocs, getNumNonDeletedDocs, getOaiIdPfx, getOAIRequestTag, getProtocolVersion, getProviderStatus, getRecord, getRepositoryName, getRequestedFormat, getResults, getResultsLength, getResultsOffset, getResumptionToken, getRootCloseTag, getRootOpenTag, getSetSpecs, getXMLDeclaration, hasErrors, prtln, prtlnErr, setBaseURL, setDatestamp, setDebug, setDeletedStatus, setIdentifier, setMetadataFormats, setOaiIdPfx, setRecord, setRequestedFormat, setResults, setResultsLength, setResultsOffset, setResumptionToken, setSetSpecs, xmlToHtml
getAudience, getField, getFieldId, getFieldLabel, getIsVocabTermAvailable, getLanguage, getVocab, getVocabList, getVocabList, getVocabTerm, setField, setField, setMetaFormat, setValue, setVocab, setVocabInterface
public java.lang.String getDcsXml()
public void setDcsXml(java.lang.String xml)
public java.lang.String getDcsId()
public void setDcsId(java.lang.String id)
public java.util.List getSessionBeans()
public void setSessionBeans(java.util.List sessionBeans)
public java.util.Map getFrameworks()
public void setFrameworks(java.util.Map map)
public void setUnloadedFrameworks(java.util.List formats)
public java.util.List getUnloadedFrameworks()
public java.lang.String getCollectionPrefix()
public void setCollectionPrefix(java.lang.String prefix)
public java.lang.String getCollectionKey()
public void setCollectionKey(java.lang.String key)
public java.lang.String getTrustedWsIps()
public void setTrustedWsIps(java.lang.String val)
public java.lang.String getMetadataGroupsLoaderFile()
public void setLockedRecords(java.util.Map lockedRecords)
public java.util.Map getLockedRecords()
public java.lang.String getNumIdentifiersResults()
public void setNumIdentifiersResults(java.lang.String numResults)
numResults
- The new numIdentifiersResults valuepublic java.lang.String getNumRecordsResults()
public void setNumRecordsResults(java.lang.String numResults)
numResults
- The new numRecordsResults valuepublic java.lang.String getUpdateFrequency()
public void setUpdateFrequency(int frequency)
frequency
- The new updateFrequency, in minutes.public java.lang.String getIndexingStartDate()
public java.lang.String getIndexingTimeOfDay()
public void setIndexingStartTime(java.util.Date indexingStartTime)
indexingStartTime
- The new indexingStartTime valuepublic void setNumIndexingErrors(int numErrors)
numErrors
- The number of indexing errors that are present.public java.lang.String getNumIndexingErrors()
public java.lang.String getRemoveInvalidRecords()
public java.lang.String getValidateRecords()
public void setRepositoryName(java.lang.String name)
name
- The new repositoryName valuepublic void setRepositoryIdentifier(java.lang.String value)
value
- The new repositoryIdentifier valuepublic java.lang.String getRepositoryIdentifier()
getRepositoryIdentifier
in class RepositoryForm
public void setCurrentAdminEmail(java.lang.String value)
value
- The new currentAdminEmail valuepublic java.lang.String getCurrentAdminEmail()
public java.lang.String getExampleId()
public void setCurrentDescription(java.lang.String value)
value
- The new currentDescription valuepublic java.lang.String getCurrentDescription()
public void setAdd(java.lang.String value)
value
- The new add valuepublic java.lang.String getAdd()
public void setMetadataRecordsLocation(java.lang.String metadataRecordsLocation)
metadataRecordsLocation
- The absolute path to a directory containing
item-level metadata. All metadata files must reside in sub-directores by format
and collection, for example: metadataRecordsLocation +
/adn/dcc/DLESE-000-000-000-001.xml.public void setCollectionRecordsLocation(java.lang.String collectionRecordsLocation)
collectionRecordsLocation
- The absolute path to a directory of DLESE
collection-level XML records.public java.lang.String getCollectionRecordsLocation()
public java.lang.String getMetadataRecordsLocation()
public void setCurrentSetDescription(java.lang.String value)
value
- The new currentSetDescription valuepublic java.lang.String getCurrentSetDescription()
public void setCurrentSetName(java.lang.String value)
value
- The new currentSetName valuepublic java.lang.String getCurrentSetName()
public void setCurrentSetSpec(java.lang.String value)
value
- The new currentSetSpec valuepublic java.lang.String getCurrentSetSpec()
public void setCurrentSetDirectory(java.lang.String value)
value
- The new currentSetDirectory valuepublic java.lang.String getCurrentSetDirectory()
public java.lang.String getSortSetsBy()
public void setSortSetsBy(java.lang.String sortSetsBy)
sortSetsBy
- The new sortSetsBy valuepublic java.util.ArrayList getSets()
getSets
in class RepositoryForm
public void setSets(java.util.ArrayList setInfos)
sets
- The new sets valuepublic void setCurrentSetFormat(java.lang.String value)
value
- The new currentSetFormat valuepublic java.lang.String getCurrentSetFormat()
public void setDrcBoostFactor(java.lang.String boostFactor)
boostFactor
- The new boosting factor used to rank items in the DRC.public void setMultiDocBoostFactor(java.lang.String boostFactor)
boostFactor
- The boosting factor used to rank resources that have multiple
records.public void setTitleBoostFactor(java.lang.String boostFactor)
boostFactor
- The boosting factor used to rank items with matching terms in the
title field.public void setStemmingEnabled(java.lang.String stemmingEnabled)
stemmingEnabled
- The new stemmingEnabled valuepublic void setStemmingBoostFactor(java.lang.String boostFactor)
boostFactor
- The boosting factor used to rank items with matching stemmed
terms.public java.lang.String getStemmingBoostFactor()
public java.lang.String getDrcBoostFactor()
public java.lang.String getMultiDocBoostFactor()
public java.lang.String getTitleBoostFactor()
public java.lang.String getStemmingEnabled()
public void setMessage(java.lang.String message)
message
- The new message valuepublic java.lang.String getMessage()
public void setXmlError(java.lang.String xmlError)
xmlError
- The new xmlError valuepublic java.lang.String getXmlError()
public java.lang.String getCollectionsBaseDir()
public java.util.ArrayList getValidCollectionKeys()
public java.util.ArrayList getValidMetadataFormats()
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validate
in class org.apache.struts.action.ActionForm
mapping
- The ActionMapping used.request
- The HttpServletRequest for this request.