public final class RepositoryAdminForm extends RepositoryForm implements java.io.Serializable
compressions, deletedRecord, earliestDatestamp, exampleID, granularity, metadataFormats, properties, ProtocolVersion, providerStatus, record
Constructor and Description |
---|
RepositoryAdminForm()
Constructor for the RepositoryAdminForm Bean object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdd()
Gets the add attribute of the RepositoryAdminForm object
|
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 |
getCommand()
Gets the command attribute of the RepositoryAdminForm object
|
java.lang.String |
getConfigDirLocation()
Gets the path to the RepositoryManager config directory.
|
java.lang.String |
getCurrentAdminEmail()
Gets the currentAdminEmail attribute of the RepositoryAdminForm object
|
java.lang.String |
getCurrentDescription()
Gets the currentDescription attribute of the RepositoryAdminForm object
|
java.lang.String |
getCurrentSetDescription()
Gets the currentSetDescription attribute of the RepositoryAdminForm object
|
java.lang.String |
getCurrentSetDirectory()
Gets the currentSetDirectory attribute of the RepositoryAdminForm object
|
java.lang.String |
getCurrentSetFormat()
Gets the currentSetFormat attribute of the RepositoryAdminForm object
|
java.lang.String |
getCurrentSetName()
Gets the currentSetName attribute of the RepositoryAdminForm object
|
java.lang.String |
getCurrentSetSpec()
Gets the currentSetSpec attribute of the RepositoryAdminForm object
|
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 RepositoryAdminForm object
|
java.lang.String |
getIndexingDaysOfWeek()
Gets the days of the week the indexer will run, as a String.
|
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.lang.String |
getMessage()
Gets the message attribute of the RepositoryAdminForm object
|
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 RepositoryAdminForm object
|
java.lang.String |
getNumIndexingErrors()
Gets the number of indexing errors that are present.
|
java.lang.String |
getNumRecordsResults()
Gets the numRecordsResults attribute of the RepositoryAdminForm object
|
java.lang.String |
getRemoveInvalidRecords()
Gets the removeInvalidRecords attribute of the RepositoryAdminForm object
|
java.lang.String |
getRepositoryDataDir()
Get the directory where the repository persistent data and certain configs resides, including the
collections configs, specified by the init param repositoryData.
|
java.lang.String |
getRepositoryIdentifier()
Gets the repositoryIdentifier attribute of the RepositoryAdminForm object
|
java.util.ArrayList |
getSets()
Gets the sets configured in the RepositoryManager.
|
java.lang.String |
getSortSetsBy()
Gets the sortSetsBy attribute of the RepositoryAdminForm 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 RepositoryAdminForm object
|
java.lang.String |
getTrustedWsIps()
Gets the trustedWsIps attribute of the RepositoryAdminForm object
|
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 RepositoryAdminForm 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 RepositoryAdminForm object
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset bean properties to their default state, as needed.
|
void |
setAdd(java.lang.String value)
Sets the add attribute of the RepositoryAdminForm object
|
void |
setCollectionRecordsLocation(java.lang.String collectionRecordsLocation)
Sets the absolute path to the collectionRecordsLocation.
|
void |
setCommand(java.lang.String command)
Sets the command attribute of the RepositoryAdminForm object
|
void |
setCurrentAdminEmail(java.lang.String value)
Sets the currentAdminEmail attribute of the RepositoryAdminForm object
|
void |
setCurrentDescription(java.lang.String value)
Sets the currentDescription attribute of the RepositoryAdminForm object
|
void |
setCurrentSetDescription(java.lang.String value)
Sets the currentSetDescription attribute of the RepositoryAdminForm object
|
void |
setCurrentSetDirectory(java.lang.String value)
Sets the currentSetDirectory attribute of the RepositoryAdminForm object
|
void |
setCurrentSetFormat(java.lang.String value)
Sets the currentSetFormat attribute of the RepositoryAdminForm object
|
void |
setCurrentSetName(java.lang.String value)
Sets the currentSetName attribute of the RepositoryAdminForm object
|
void |
setCurrentSetSpec(java.lang.String value)
Sets the currentSetSpec attribute of the RepositoryAdminForm object
|
void |
setDrcBoostFactor(java.lang.String boostFactor)
Sets the boosting factor used to rank items in the DRC.
|
void |
setIdexingDaysOfWeek(int[] daysOfWeek)
Sets the idexingDaysOfWeek as an array of Calendar.DAY_OF_WEEK fields, or null if none.
|
void |
setIndexingStartTime(java.util.Date indexingStartTime)
Sets the date and time the indexer is/was scheduled to start.
|
void |
setMessage(java.lang.String message)
Sets the message attribute of the RepositoryAdminForm 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 RepositoryAdminForm 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 RepositoryAdminForm object
|
void |
setRepositoryIdentifier(java.lang.String value)
Sets the repositoryIdentifier attribute of the RepositoryAdminForm object
|
void |
setRepositoryName(java.lang.String name)
Sets the repositoryName attribute of the RepositoryAdminForm object
|
void |
setSets(java.util.ArrayList sets)
Sets the sets attribute of the RepositoryAdminForm object
|
void |
setSortSetsBy(java.lang.String sortSetsBy)
Sets the sortSetsBy attribute of the RepositoryAdminForm 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)
Sets the trustedWsIps attribute of the RepositoryAdminForm object
|
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 RepositoryAdminForm 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 RepositoryAdminForm()
public java.lang.String getCommand()
public void setCommand(java.lang.String command)
command
- The new command valuepublic java.lang.String getTrustedWsIps()
public void setTrustedWsIps(java.lang.String val)
val
- The new trustedWsIps valuepublic 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 java.lang.String getIndexingDaysOfWeek()
public void setIdexingDaysOfWeek(int[] daysOfWeek)
daysOfWeek
- The new idexingDaysOfWeek 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 java.lang.String getConfigDirLocation()
public java.lang.String getRepositoryDataDir()
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 sets)
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 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class org.apache.struts.action.ActionForm
mapping
- The ActionMapping being usedrequest
- The HttpServletRequestpublic 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.