|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm org.dlese.dpc.dds.action.form.VocabForm org.dlese.dpc.repository.action.form.RepositoryForm org.dlese.dpc.repository.action.form.RepositoryAdminForm
public final class RepositoryAdminForm
This class uses the getter methods of the ProviderBean and then adds setter methods for editable fields.
Field Summary |
---|
Fields inherited from class org.dlese.dpc.repository.action.form.RepositoryForm |
---|
compressions, deletedRecord, earliestDatestamp, exampleID, granularity, metadataFormats, properties, ProtocolVersion, providerStatus, record |
Fields inherited from class org.dlese.dpc.dds.action.form.VocabForm |
---|
audience, field, language, metaFormat, value, vocab |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
RepositoryAdminForm()
Constructor for the RepositoryAdminForm Bean object |
Method Summary | |
---|---|
String |
getAdd()
Gets the add attribute of the RepositoryAdminForm object |
String |
getCollectionRecordsLocation()
Gets the path for the directory of collect-level records the RepositoryManager is using, or empty string if none is configured. |
String |
getCollectionsBaseDir()
Grabs the base directory where collections metadata files are located, or null if not configured. |
String |
getCommand()
Gets the command attribute of the RepositoryAdminForm object |
String |
getConfigDirLocation()
Gets the path to the RepositoryManager config directory. |
String |
getCurrentAdminEmail()
Gets the currentAdminEmail attribute of the RepositoryAdminForm object |
String |
getCurrentDescription()
Gets the currentDescription attribute of the RepositoryAdminForm object |
String |
getCurrentSetDescription()
Gets the currentSetDescription attribute of the RepositoryAdminForm object |
String |
getCurrentSetDirectory()
Gets the currentSetDirectory attribute of the RepositoryAdminForm object |
String |
getCurrentSetFormat()
Gets the currentSetFormat attribute of the RepositoryAdminForm object |
String |
getCurrentSetName()
Gets the currentSetName attribute of the RepositoryAdminForm object |
String |
getCurrentSetSpec()
Gets the currentSetSpec attribute of the RepositoryAdminForm object |
String |
getDrcBoostFactor()
Gets the boosting factor used to rank items in the DRC. |
String |
getExampleId()
Gets the exampleId attribute of the RepositoryAdminForm object |
String |
getIndexingDaysOfWeek()
Gets the days of the week the indexer will run, as a String. |
String |
getIndexingStartDate()
Gets the date and time the indexer is/was scheduled to start, for example 'Dec 2, 2003 1:35 AM MST'. |
String |
getIndexingTimeOfDay()
Gets the time of day the indexer isscheduled to start, for example '1:35 AM MST'. |
String |
getMessage()
Gets the message attribute of the RepositoryAdminForm object |
String |
getMetadataRecordsLocation()
Gets the path for the directory of metadata records the RepositoryManager is using, or empty string if none is configured. |
String |
getMultiDocBoostFactor()
Gets the boosting factor used to rank resources that have multiple records. |
String |
getNumIdentifiersResults()
Gets the numIdentifiersResults attribute of the RepositoryAdminForm object |
String |
getNumIndexingErrors()
Gets the number of indexing errors that are present. |
String |
getNumRecordsResults()
Gets the numRecordsResults attribute of the RepositoryAdminForm object |
String |
getRemoveInvalidRecords()
Gets the removeInvalidRecords attribute of the RepositoryAdminForm object |
String |
getRepositoryDataDir()
Get the directory where the repository persistent data and certain configs resides, including the collections configs, specified by the init param repositoryData. |
String |
getRepositoryIdentifier()
Gets the repositoryIdentifier attribute of the RepositoryAdminForm object |
ArrayList |
getSets()
Gets the sets configured in the RepositoryManager. |
String |
getSortSetsBy()
Gets the sortSetsBy attribute of the RepositoryAdminForm object |
String |
getStemmingBoostFactor()
Gets the boosting factor used to rank items with matching stemmed terms. |
String |
getStemmingEnabled()
Indicates whether stemming support is enabled. |
String |
getTitleBoostFactor()
Gets the titleBoostFactor attribute of the RepositoryAdminForm object |
String |
getTrustedWsIps()
Gets the trustedWsIps attribute of the RepositoryAdminForm object |
String |
getUpdateFrequency()
Gets the frequency by which the index is updated to reflect changes that occur in the metadata files. |
String |
getValidateRecords()
Gets the validateRecords attribute of the RepositoryAdminForm object |
ArrayList |
getValidCollectionKeys()
Grabs the collection keys from the DPC keys schema. |
ArrayList |
getValidMetadataFormats()
Grabs the valid metadata formats from the DPC schema. |
String |
getXmlError()
Gets the xmlError attribute of the RepositoryAdminForm object |
void |
reset(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Reset bean properties to their default state, as needed. |
void |
setAdd(String value)
Sets the add attribute of the RepositoryAdminForm object |
void |
setCollectionRecordsLocation(String collectionRecordsLocation)
Sets the absolute path to the collectionRecordsLocation. |
void |
setCommand(String command)
Sets the command attribute of the RepositoryAdminForm object |
void |
setCurrentAdminEmail(String value)
Sets the currentAdminEmail attribute of the RepositoryAdminForm object |
void |
setCurrentDescription(String value)
Sets the currentDescription attribute of the RepositoryAdminForm object |
void |
setCurrentSetDescription(String value)
Sets the currentSetDescription attribute of the RepositoryAdminForm object |
void |
setCurrentSetDirectory(String value)
Sets the currentSetDirectory attribute of the RepositoryAdminForm object |
void |
setCurrentSetFormat(String value)
Sets the currentSetFormat attribute of the RepositoryAdminForm object |
void |
setCurrentSetName(String value)
Sets the currentSetName attribute of the RepositoryAdminForm object |
void |
setCurrentSetSpec(String value)
Sets the currentSetSpec attribute of the RepositoryAdminForm object |
void |
setDrcBoostFactor(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(Date indexingStartTime)
Sets the date and time the indexer is/was scheduled to start. |
void |
setMessage(String message)
Sets the message attribute of the RepositoryAdminForm object |
void |
setMetadataRecordsLocation(String metadataRecordsLocation)
Sets the absolute path to the metadataRecordsLocation. |
void |
setMultiDocBoostFactor(String boostFactor)
Sets the boosting factor used to rank resources that have multiple records. |
void |
setNumIdentifiersResults(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(String numResults)
Sets the numRecordsResults attribute of the RepositoryAdminForm object |
void |
setRepositoryIdentifier(String value)
Sets the repositoryIdentifier attribute of the RepositoryAdminForm object |
void |
setRepositoryName(String name)
Sets the repositoryName attribute of the RepositoryAdminForm object |
void |
setSets(ArrayList sets)
Sets the sets attribute of the RepositoryAdminForm object |
void |
setSortSetsBy(String sortSetsBy)
Sets the sortSetsBy attribute of the RepositoryAdminForm object |
void |
setStemmingBoostFactor(String boostFactor)
Sets the boosting factor used to rank items with matching stemmed terms. |
void |
setStemmingEnabled(String stemmingEnabled)
Sets whether stemming support is enabled. |
void |
setTitleBoostFactor(String boostFactor)
Sets the boosting factor used to rank items with matching terms in the title field. |
void |
setTrustedWsIps(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(String xmlError)
Sets the xmlError attribute of the RepositoryAdminForm object |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Validate the input. |
Methods inherited from class org.dlese.dpc.dds.action.form.VocabForm |
---|
getAudience, getField, getFieldId, getFieldLabel, getIsVocabTermAvailable, getLanguage, getVocab, getVocabList, getVocabList, getVocabTerm, setField, setField, setMetaFormat, setValue, setVocab, setVocabInterface |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryAdminForm()
Method Detail |
---|
public String getCommand()
public void setCommand(String command)
command
- The new command valuepublic String getTrustedWsIps()
public void setTrustedWsIps(String val)
val
- The new trustedWsIps valuepublic String getNumIdentifiersResults()
public void setNumIdentifiersResults(String numResults)
numResults
- The new numIdentifiersResults valuepublic String getNumRecordsResults()
public void setNumRecordsResults(String numResults)
numResults
- The new numRecordsResults valuepublic String getUpdateFrequency()
public void setUpdateFrequency(int frequency)
frequency
- The new updateFrequency, in minutes.public String getIndexingStartDate()
public String getIndexingTimeOfDay()
public void setIndexingStartTime(Date indexingStartTime)
indexingStartTime
- The new indexingStartTime valuepublic 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 String getNumIndexingErrors()
public String getRemoveInvalidRecords()
public String getValidateRecords()
public void setRepositoryName(String name)
name
- The new repositoryName valuepublic void setRepositoryIdentifier(String value)
value
- The new repositoryIdentifier valuepublic String getRepositoryIdentifier()
getRepositoryIdentifier
in class RepositoryForm
public void setCurrentAdminEmail(String value)
value
- The new currentAdminEmail valuepublic String getCurrentAdminEmail()
public String getExampleId()
public void setCurrentDescription(String value)
value
- The new currentDescription valuepublic String getCurrentDescription()
public void setAdd(String value)
value
- The new add valuepublic String getAdd()
public void setMetadataRecordsLocation(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(String collectionRecordsLocation)
collectionRecordsLocation
- The absolute path to a directory of DLESE collection-level XML records.public String getCollectionRecordsLocation()
public String getMetadataRecordsLocation()
public String getConfigDirLocation()
public String getRepositoryDataDir()
public void setCurrentSetDescription(String value)
value
- The new currentSetDescription valuepublic String getCurrentSetDescription()
public void setCurrentSetName(String value)
value
- The new currentSetName valuepublic String getCurrentSetName()
public void setCurrentSetSpec(String value)
value
- The new currentSetSpec valuepublic String getCurrentSetSpec()
public void setCurrentSetDirectory(String value)
value
- The new currentSetDirectory valuepublic String getCurrentSetDirectory()
public String getSortSetsBy()
public void setSortSetsBy(String sortSetsBy)
sortSetsBy
- The new sortSetsBy valuepublic ArrayList getSets()
getSets
in class RepositoryForm
public void setSets(ArrayList sets)
sets
- The new sets valuepublic void setCurrentSetFormat(String value)
value
- The new currentSetFormat valuepublic String getCurrentSetFormat()
public void setDrcBoostFactor(String boostFactor)
boostFactor
- The new boosting factor used to rank items in the DRC.public void setMultiDocBoostFactor(String boostFactor)
boostFactor
- The boosting factor used to rank resources that have multiple records.public void setTitleBoostFactor(String boostFactor)
boostFactor
- The boosting factor used to rank items with matching terms in the title field.public void setStemmingEnabled(String stemmingEnabled)
stemmingEnabled
- The new stemmingEnabled valuepublic void setStemmingBoostFactor(String boostFactor)
boostFactor
- The boosting factor used to rank items with matching stemmed terms.public String getStemmingBoostFactor()
public String getDrcBoostFactor()
public String getMultiDocBoostFactor()
public String getTitleBoostFactor()
public String getStemmingEnabled()
public void setMessage(String message)
message
- The new message valuepublic String getMessage()
public void setXmlError(String xmlError)
xmlError
- The new xmlError valuepublic String getXmlError()
public String getCollectionsBaseDir()
public ArrayList getValidCollectionKeys()
public ArrayList getValidMetadataFormats()
public void reset(org.apache.struts.action.ActionMapping mapping, 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, HttpServletRequest request)
validate
in class org.apache.struts.action.ActionForm
mapping
- The ActionMapping used.request
- The HttpServletRequest for this request.
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |