Class HarvesterAdminForm
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.oai.harvester.action.form.HarvesterAdminForm
- All Implemented Interfaces:
Serializable
public final class HarvesterAdminForm
extends org.apache.struts.action.ActionForm
Presentation bean used by the Harvester action controller and jsp pages.
- Version:
- $Id: HarvesterAdminForm.java,v 1.20.2.3 2012/10/05 23:48:57 jweather Exp $
- Author:
- John Weatherley
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the allowDupDir attribute of the HarvesterAdminForm objectGets the baseURL attribute of the HarvesterAdminForm objectString[]Gets the commonDirs attribute of the HarvesterAdminForm objectprotected static final StringReturn a string for the current time and date, sutiable for display in log files and output to standout:Gets the defDir attribute of the HarvesterAdminForm objectgetFrom()Gets the from attribute of the HarvesterAdminForm objectGets the harvestedDataDir attribute of the HarvesterAdminForm objectGets the harvesterStatus attribute of the HarvesterAdminForm objectGets the lastOneTimeHarvest attribute of the HarvesterAdminForm objectGets the lastRunHarvest attribute of the HarvesterAdminForm objectintGets the mAX_DIRS attribute of the HarvesterAdminForm objectGets the message attribute of the HarvesterAdminForm objectGets the metadataPrefix attribute of the HarvesterAdminForm objectgetMySes()Gets the mySes attribute of the HarvesterAdminForm objectObject[]Gets the scheduledHarvests attribute of the HarvesterAdminForm objectGets the setSpec attribute of the HarvesterAdminForm objectGets the shBaseURL attribute of the HarvesterAdminForm objectgetShDir()Gets the shDir attribute of the HarvesterAdminForm objectbooleanReturns the value of shDontZipFiles.Gets the shEnabledDisabled attribute of the HarvesterAdminForm objectString[]Gets the shEnabledDisabledList attribute of the HarvesterAdminForm objectGets the shHarvestDir attribute of the HarvesterAdminForm objectGets the shHarvestedDataDir attribute of the HarvesterAdminForm objectGets the shHarvestingInterval attribute of the HarvesterAdminForm objectGets the shIntervalGranularity attribute of the HarvesterAdminForm objectGets the shIntervalGranularityLabel attribute of the HarvesterAdminForm objectString[]Gets the shIntervalGranularityList attribute of the HarvesterAdminForm objectString[]Gets the shIntervalGranularityListLabels attribute of the HarvesterAdminForm objectGets the shMetadataPrefix attribute of the HarvesterAdminForm objectGets the shRepositoryName attribute of the HarvesterAdminForm objectGets the runAtTime attribute of the HarvesterAdminForm objectgetShSet()Gets the shSet attribute of the HarvesterAdminForm objectGets the shSetSpec attribute of the HarvesterAdminForm objectgetShUid()Gets the shUid attribute of the HarvesterAdminForm objectgetUntil()Gets the until attribute of the HarvesterAdminForm objectGets the validateRecords attribute of the HarvesterAdminForm objectvoidreset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Reset bean properties to their default state, as needed.voidSets the allowDupDir attribute of the HarvesterAdminForm objectvoidsetBaseURL(String val) Sets the baseURL attribute of the HarvesterAdminForm objectvoidsetCommonDirs(String[] dirs) Sets the commonDirs attribute of the HarvesterAdminForm objectstatic voidsetDebug(boolean db) Sets the debug attribute of the objectvoidSets the defDir attribute of the HarvesterAdminForm objectvoidSets the from attribute of the HarvesterAdminForm objectvoidSets the harvestedDataDir attribute of the HarvesterAdminForm objectvoidsetHarvesterStatus(String val) Sets the harvesterStatus attribute of the HarvesterAdminForm objectvoidSets the lastOneTimeHarvest attribute of the HarvesterAdminForm objectvoidSets the lastRunHarvest attribute of the HarvesterAdminForm objectvoidSets the mAX_DIRS attribute of the HarvesterAdminForm objectvoidsetMessage(String message) Sets the message attribute of the HarvesterAdminForm objectvoidsetMetadataPrefix(String val) Sets the metadataPrefix attribute of the HarvesterAdminForm objectvoidSets the mySes attribute of the HarvesterAdminForm objectvoidsetScheduledHarvests(Hashtable scheduledHarvests) Sets the scheduledHarvests attribute of the HarvesterAdminForm objectvoidsetSetSpec(String val) Sets the setSpec attribute of the HarvesterAdminForm objectvoidsetShBaseURL(String val) Sets the shBaseURL attribute of the HarvesterAdminForm objectvoidSets the shDir attribute of the HarvesterAdminForm objectvoidsetShDontZipFiles(boolean shDontZipFiles) Sets the value of shDontZipFiles.voidSets the shEnabledDisabled attribute of the HarvesterAdminForm objectvoidsetShHarvestDir(String val) Sets the shHarvestDir attribute of the HarvesterAdminForm objectvoidSets the shHarvestedDataDir attribute of the HarvesterAdminForm objectvoidSets the shHarvestingInterval attribute of the HarvesterAdminForm objectvoidSets the shIntervalGranularity attribute of the HarvesterAdminForm objectvoidSets the shMetadataPrefix attribute of the HarvesterAdminForm objectvoidSets the shRepositoryName attribute of the HarvesterAdminForm objectvoidSets the runAtTime attribute of the HarvesterAdminForm objectvoidSets the shSet attribute of the HarvesterAdminForm objectvoidsetShSetSpec(String val) Sets the shSetSpec attribute of the HarvesterAdminForm objectvoidSets the shUid attribute of the HarvesterAdminForm objectvoidSets the until attribute of the HarvesterAdminForm objectvoidSets the validateRecords attribute of the HarvesterAdminForm objectorg.apache.struts.action.ActionErrorsvalidate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Validate the input.Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
-
Constructor Details
-
HarvesterAdminForm
public HarvesterAdminForm()Constructor for the HarvesterAdminForm Bean object
-
-
Method Details
-
reset
Reset bean properties to their default state, as needed. This method is called before the properties are repopulated by the controller.The default implementation does nothing. In practice, the only properties that need to be reset are those which represent checkboxes on a session-scoped form. Otherwise, properties can be given initial values where the field is declared. *
- Overrides:
resetin classorg.apache.struts.action.ActionForm- Parameters:
mapping- ActionMappingrequest- HttpServletRequest
-
getShDontZipFiles
public boolean getShDontZipFiles()Returns the value of shDontZipFiles. -
setShDontZipFiles
public void setShDontZipFiles(boolean shDontZipFiles) Sets the value of shDontZipFiles.- Parameters:
shDontZipFiles- The value to assign shDontZipFiles.
-
getShSet
Gets the shSet attribute of the HarvesterAdminForm object- Returns:
- The shSet value
-
getAllowDupDir
Gets the allowDupDir attribute of the HarvesterAdminForm object- Returns:
- The allowDupDir value
-
setAllowDupDir
Sets the allowDupDir attribute of the HarvesterAdminForm object- Parameters:
v- The new allowDupDir value
-
setShRunAtTime
Sets the runAtTime attribute of the HarvesterAdminForm object- Parameters:
v- The new runAtTime value
-
getShRunAtTime
Gets the runAtTime attribute of the HarvesterAdminForm object- Returns:
- The runAtTime value
-
getMAX_DIRS
public int getMAX_DIRS()Gets the mAX_DIRS attribute of the HarvesterAdminForm object- Returns:
- The mAX_DIRS value
-
setMAX_DIRS
public void setMAX_DIRS()Sets the mAX_DIRS attribute of the HarvesterAdminForm object -
getCommonDirs
Gets the commonDirs attribute of the HarvesterAdminForm object- Returns:
- The commonDirs value
-
getDefDir
Gets the defDir attribute of the HarvesterAdminForm object- Returns:
- The defDir value
-
setDefDir
Sets the defDir attribute of the HarvesterAdminForm object- Parameters:
d- The new defDir value
-
setCommonDirs
Sets the commonDirs attribute of the HarvesterAdminForm object- Parameters:
dirs- The new commonDirs value
-
getShDir
Gets the shDir attribute of the HarvesterAdminForm object- Returns:
- The shDir value
-
setShSet
Sets the shSet attribute of the HarvesterAdminForm object- Parameters:
s- The new shSet value
-
setShDir
Sets the shDir attribute of the HarvesterAdminForm object- Parameters:
s- The new shDir value
-
getShRepositoryName
Gets the shRepositoryName attribute of the HarvesterAdminForm object- Returns:
- The shRepositoryName value
-
setShRepositoryName
Sets the shRepositoryName attribute of the HarvesterAdminForm object- Parameters:
val- The new shRepositoryName value
-
getShSetSpec
Gets the shSetSpec attribute of the HarvesterAdminForm object- Returns:
- The shSetSpec value
-
setShSetSpec
Sets the shSetSpec attribute of the HarvesterAdminForm object- Parameters:
val- The new shSetSpec value
-
setLastOneTimeHarvest
Sets the lastOneTimeHarvest attribute of the HarvesterAdminForm object- Parameters:
sh- The new lastOneTimeHarvest value
-
getLastOneTimeHarvest
Gets the lastOneTimeHarvest attribute of the HarvesterAdminForm object- Returns:
- The lastOneTimeHarvest value
-
setLastRunHarvest
Sets the lastRunHarvest attribute of the HarvesterAdminForm object- Parameters:
sh- The new lastRunHarvest value
-
getLastRunHarvest
Gets the lastRunHarvest attribute of the HarvesterAdminForm object- Returns:
- The lastRunHarvest value
-
getShBaseURL
Gets the shBaseURL attribute of the HarvesterAdminForm object- Returns:
- The shBaseURL value
-
setShBaseURL
Sets the shBaseURL attribute of the HarvesterAdminForm object- Parameters:
val- The new shBaseURL value
-
getShMetadataPrefix
Gets the shMetadataPrefix attribute of the HarvesterAdminForm object- Returns:
- The shMetadataPrefix value
-
setShMetadataPrefix
Sets the shMetadataPrefix attribute of the HarvesterAdminForm object- Parameters:
val- The new shMetadataPrefix value
-
getShHarvestingInterval
Gets the shHarvestingInterval attribute of the HarvesterAdminForm object- Returns:
- The shHarvestingInterval value
-
setShHarvestingInterval
Sets the shHarvestingInterval attribute of the HarvesterAdminForm object- Parameters:
val- The new shHarvestingInterval value
-
getShIntervalGranularity
Gets the shIntervalGranularity attribute of the HarvesterAdminForm object- Returns:
- The shIntervalGranularity value
-
getShIntervalGranularityLabel
Gets the shIntervalGranularityLabel attribute of the HarvesterAdminForm object- Returns:
- The shIntervalGranularityLabel value
-
setShIntervalGranularity
Sets the shIntervalGranularity attribute of the HarvesterAdminForm object- Parameters:
val- The new shIntervalGranularity value
-
getShEnabledDisabled
Gets the shEnabledDisabled attribute of the HarvesterAdminForm object- Returns:
- The shEnabledDisabled value
-
setShEnabledDisabled
Sets the shEnabledDisabled attribute of the HarvesterAdminForm object- Parameters:
val- The new shEnabledDisabled value
-
getShUid
Gets the shUid attribute of the HarvesterAdminForm object- Returns:
- The shUid value
-
setShUid
Sets the shUid attribute of the HarvesterAdminForm object- Parameters:
val- The new shUid value
-
setShHarvestedDataDir
Sets the shHarvestedDataDir attribute of the HarvesterAdminForm object- Parameters:
val- The new shHarvestedDataDir value
-
getShHarvestedDataDir
Gets the shHarvestedDataDir attribute of the HarvesterAdminForm object- Returns:
- The shHarvestedDataDir value
-
getShEnabledDisabledList
Gets the shEnabledDisabledList attribute of the HarvesterAdminForm object- Returns:
- The shEnabledDisabledList value
-
getShIntervalGranularityList
Gets the shIntervalGranularityList attribute of the HarvesterAdminForm object- Returns:
- The shIntervalGranularityList value
-
getShIntervalGranularityListLabels
Gets the shIntervalGranularityListLabels attribute of the HarvesterAdminForm object- Returns:
- The shIntervalGranularityListLabels value
-
setShHarvestDir
Sets the shHarvestDir attribute of the HarvesterAdminForm object- Parameters:
val- The new shHarvestDir value
-
getShHarvestDir
Gets the shHarvestDir attribute of the HarvesterAdminForm object- Returns:
- The shHarvestDir value
-
setBaseURL
Sets the baseURL attribute of the HarvesterAdminForm object- Parameters:
val- The new baseURL value
-
getBaseURL
Gets the baseURL attribute of the HarvesterAdminForm object- Returns:
- The baseURL value
-
setMetadataPrefix
Sets the metadataPrefix attribute of the HarvesterAdminForm object- Parameters:
val- The new metadataPrefix value
-
getMetadataPrefix
Gets the metadataPrefix attribute of the HarvesterAdminForm object- Returns:
- The metadataPrefix value
-
setSetSpec
Sets the setSpec attribute of the HarvesterAdminForm object- Parameters:
val- The new setSpec value
-
getSetSpec
Gets the setSpec attribute of the HarvesterAdminForm object- Returns:
- The setSpec value
-
setFrom
Sets the from attribute of the HarvesterAdminForm object- Parameters:
val- The new from value
-
getFrom
Gets the from attribute of the HarvesterAdminForm object- Returns:
- The from value
-
setUntil
Sets the until attribute of the HarvesterAdminForm object- Parameters:
val- The new until value
-
getUntil
Gets the until attribute of the HarvesterAdminForm object- Returns:
- The until value
-
getHarvestedDataDir
Gets the harvestedDataDir attribute of the HarvesterAdminForm object- Returns:
- The harvestedDataDir value
-
setHarvestedDataDir
Sets the harvestedDataDir attribute of the HarvesterAdminForm object- Parameters:
val- The new harvestedDataDir value
-
setHarvesterStatus
Sets the harvesterStatus attribute of the HarvesterAdminForm object- Parameters:
val- The new harvesterStatus value
-
getHarvesterStatus
Gets the harvesterStatus attribute of the HarvesterAdminForm object- Returns:
- The harvesterStatus value
-
setScheduledHarvests
Sets the scheduledHarvests attribute of the HarvesterAdminForm object- Parameters:
scheduledHarvests- The new scheduledHarvests value
-
getScheduledHarvests
Gets the scheduledHarvests attribute of the HarvesterAdminForm object- Returns:
- The scheduledHarvests value
-
setValidateRecords
Sets the validateRecords attribute of the HarvesterAdminForm object- Parameters:
val- The new validateRecords value
-
getValidateRecords
Gets the validateRecords attribute of the HarvesterAdminForm object- Returns:
- The validateRecords value
-
setMySes
Sets the mySes attribute of the HarvesterAdminForm object- Parameters:
val- The new mySes value
-
getMySes
Gets the mySes attribute of the HarvesterAdminForm object- Returns:
- The mySes value
-
setMessage
Sets the message attribute of the HarvesterAdminForm object- Parameters:
message- The new message value
-
getMessage
Gets the message attribute of the HarvesterAdminForm object- Returns:
- The message value
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Validate the input. This method is called AFTER the setter method is called.- Overrides:
validatein classorg.apache.struts.action.ActionForm- Parameters:
mapping- The ActionMapping used.request- The HttpServletRequest for this request.- Returns:
- An ActionError containin any errors that had occured.
-
getDateStamp
Return a string for the current time and date, sutiable for display in log files and output to standout:- Returns:
- The dateStamp value
-
setDebug
public static void setDebug(boolean db) Sets the debug attribute of the object- Parameters:
db- The new debug value
-