DLESE Tools
v1.6.0

org.dlese.dpc.oai.harvester.action.form
Class HarvesterAdminForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by 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:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
HarvesterAdminForm()
          Constructor for the HarvesterAdminForm Bean object
 
Method Summary
 String getAllowDupDir()
          Gets the allowDupDir attribute of the HarvesterAdminForm object
 String getBaseURL()
          Gets the baseURL attribute of the HarvesterAdminForm object
 String[] getCommonDirs()
          Gets the commonDirs attribute of the HarvesterAdminForm object
protected static String getDateStamp()
          Return a string for the current time and date, sutiable for display in log files and output to standout:
 String getDefDir()
          Gets the defDir attribute of the HarvesterAdminForm object
 String getFrom()
          Gets the from attribute of the HarvesterAdminForm object
 String getHarvestedDataDir()
          Gets the harvestedDataDir attribute of the HarvesterAdminForm object
 String getHarvesterStatus()
          Gets the harvesterStatus attribute of the HarvesterAdminForm object
 ScheduledHarvest getLastOneTimeHarvest()
          Gets the lastOneTimeHarvest attribute of the HarvesterAdminForm object
 ScheduledHarvest getLastRunHarvest()
          Gets the lastRunHarvest attribute of the HarvesterAdminForm object
 int getMAX_DIRS()
          Gets the mAX_DIRS attribute of the HarvesterAdminForm object
 String getMessage()
          Gets the message attribute of the HarvesterAdminForm object
 String getMetadataPrefix()
          Gets the metadataPrefix attribute of the HarvesterAdminForm object
 String getMySes()
          Gets the mySes attribute of the HarvesterAdminForm object
 Object[] getScheduledHarvests()
          Gets the scheduledHarvests attribute of the HarvesterAdminForm object
 String getSetSpec()
          Gets the setSpec attribute of the HarvesterAdminForm object
 String getShBaseURL()
          Gets the shBaseURL attribute of the HarvesterAdminForm object
 String getShDir()
          Gets the shDir attribute of the HarvesterAdminForm object
 boolean getShDontZipFiles()
          Returns the value of shDontZipFiles.
 String getShEnabledDisabled()
          Gets the shEnabledDisabled attribute of the HarvesterAdminForm object
 String[] getShEnabledDisabledList()
          Gets the shEnabledDisabledList attribute of the HarvesterAdminForm object
 String getShHarvestDir()
          Gets the shHarvestDir attribute of the HarvesterAdminForm object
 String getShHarvestedDataDir()
          Gets the shHarvestedDataDir attribute of the HarvesterAdminForm object
 String getShHarvestingInterval()
          Gets the shHarvestingInterval attribute of the HarvesterAdminForm object
 String getShIntervalGranularity()
          Gets the shIntervalGranularity attribute of the HarvesterAdminForm object
 String getShIntervalGranularityLabel()
          Gets the shIntervalGranularityLabel attribute of the HarvesterAdminForm object
 String[] getShIntervalGranularityList()
          Gets the shIntervalGranularityList attribute of the HarvesterAdminForm object
 String[] getShIntervalGranularityListLabels()
          Gets the shIntervalGranularityListLabels attribute of the HarvesterAdminForm object
 String getShMetadataPrefix()
          Gets the shMetadataPrefix attribute of the HarvesterAdminForm object
 String getShRepositoryName()
          Gets the shRepositoryName attribute of the HarvesterAdminForm object
 String getShRunAtTime()
          Gets the runAtTime attribute of the HarvesterAdminForm object
 String getShSet()
          Gets the shSet attribute of the HarvesterAdminForm object
 String getShSetSpec()
          Gets the shSetSpec attribute of the HarvesterAdminForm object
 String getShUid()
          Gets the shUid attribute of the HarvesterAdminForm object
 String getUntil()
          Gets the until attribute of the HarvesterAdminForm object
 String getValidateRecords()
          Gets the validateRecords attribute of the HarvesterAdminForm object
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset bean properties to their default state, as needed.
 void setAllowDupDir(String v)
          Sets the allowDupDir attribute of the HarvesterAdminForm object
 void setBaseURL(String val)
          Sets the baseURL attribute of the HarvesterAdminForm object
 void setCommonDirs(String[] dirs)
          Sets the commonDirs attribute of the HarvesterAdminForm object
static void setDebug(boolean db)
          Sets the debug attribute of the object
 void setDefDir(String d)
          Sets the defDir attribute of the HarvesterAdminForm object
 void setFrom(String val)
          Sets the from attribute of the HarvesterAdminForm object
 void setHarvestedDataDir(String val)
          Sets the harvestedDataDir attribute of the HarvesterAdminForm object
 void setHarvesterStatus(String val)
          Sets the harvesterStatus attribute of the HarvesterAdminForm object
 void setLastOneTimeHarvest(ScheduledHarvest sh)
          Sets the lastOneTimeHarvest attribute of the HarvesterAdminForm object
 void setLastRunHarvest(ScheduledHarvest sh)
          Sets the lastRunHarvest attribute of the HarvesterAdminForm object
 void setMAX_DIRS()
          Sets the mAX_DIRS attribute of the HarvesterAdminForm object
 void setMessage(String message)
          Sets the message attribute of the HarvesterAdminForm object
 void setMetadataPrefix(String val)
          Sets the metadataPrefix attribute of the HarvesterAdminForm object
 void setMySes(String val)
          Sets the mySes attribute of the HarvesterAdminForm object
 void setScheduledHarvests(Hashtable scheduledHarvests)
          Sets the scheduledHarvests attribute of the HarvesterAdminForm object
 void setSetSpec(String val)
          Sets the setSpec attribute of the HarvesterAdminForm object
 void setShBaseURL(String val)
          Sets the shBaseURL attribute of the HarvesterAdminForm object
 void setShDir(String s)
          Sets the shDir attribute of the HarvesterAdminForm object
 void setShDontZipFiles(boolean shDontZipFiles)
          Sets the value of shDontZipFiles.
 void setShEnabledDisabled(String val)
          Sets the shEnabledDisabled attribute of the HarvesterAdminForm object
 void setShHarvestDir(String val)
          Sets the shHarvestDir attribute of the HarvesterAdminForm object
 void setShHarvestedDataDir(String val)
          Sets the shHarvestedDataDir attribute of the HarvesterAdminForm object
 void setShHarvestingInterval(String val)
          Sets the shHarvestingInterval attribute of the HarvesterAdminForm object
 void setShIntervalGranularity(String val)
          Sets the shIntervalGranularity attribute of the HarvesterAdminForm object
 void setShMetadataPrefix(String val)
          Sets the shMetadataPrefix attribute of the HarvesterAdminForm object
 void setShRepositoryName(String val)
          Sets the shRepositoryName attribute of the HarvesterAdminForm object
 void setShRunAtTime(String v)
          Sets the runAtTime attribute of the HarvesterAdminForm object
 void setShSet(String s)
          Sets the shSet attribute of the HarvesterAdminForm object
 void setShSetSpec(String val)
          Sets the shSetSpec attribute of the HarvesterAdminForm object
 void setShUid(String val)
          Sets the shUid attribute of the HarvesterAdminForm object
 void setUntil(String val)
          Sets the until attribute of the HarvesterAdminForm object
 void setValidateRecords(Boolean val)
          Sets the validateRecords attribute of the HarvesterAdminForm object
 org.apache.struts.action.ActionErrors validate(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarvesterAdminForm

public HarvesterAdminForm()
Constructor for the HarvesterAdminForm Bean object

Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
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:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - ActionMapping
request - 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

public String getShSet()
Gets the shSet attribute of the HarvesterAdminForm object

Returns:
The shSet value

getAllowDupDir

public String getAllowDupDir()
Gets the allowDupDir attribute of the HarvesterAdminForm object

Returns:
The allowDupDir value

setAllowDupDir

public void setAllowDupDir(String v)
Sets the allowDupDir attribute of the HarvesterAdminForm object

Parameters:
v - The new allowDupDir value

setShRunAtTime

public void setShRunAtTime(String v)
Sets the runAtTime attribute of the HarvesterAdminForm object

Parameters:
v - The new runAtTime value

getShRunAtTime

public String 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

public String[] getCommonDirs()
Gets the commonDirs attribute of the HarvesterAdminForm object

Returns:
The commonDirs value

getDefDir

public String getDefDir()
Gets the defDir attribute of the HarvesterAdminForm object

Returns:
The defDir value

setDefDir

public void setDefDir(String d)
Sets the defDir attribute of the HarvesterAdminForm object

Parameters:
d - The new defDir value

setCommonDirs

public void setCommonDirs(String[] dirs)
Sets the commonDirs attribute of the HarvesterAdminForm object

Parameters:
dirs - The new commonDirs value

getShDir

public String getShDir()
Gets the shDir attribute of the HarvesterAdminForm object

Returns:
The shDir value

setShSet

public void setShSet(String s)
Sets the shSet attribute of the HarvesterAdminForm object

Parameters:
s - The new shSet value

setShDir

public void setShDir(String s)
Sets the shDir attribute of the HarvesterAdminForm object

Parameters:
s - The new shDir value

getShRepositoryName

public String getShRepositoryName()
Gets the shRepositoryName attribute of the HarvesterAdminForm object

Returns:
The shRepositoryName value

setShRepositoryName

public void setShRepositoryName(String val)
Sets the shRepositoryName attribute of the HarvesterAdminForm object

Parameters:
val - The new shRepositoryName value

getShSetSpec

public String getShSetSpec()
Gets the shSetSpec attribute of the HarvesterAdminForm object

Returns:
The shSetSpec value

setShSetSpec

public void setShSetSpec(String val)
Sets the shSetSpec attribute of the HarvesterAdminForm object

Parameters:
val - The new shSetSpec value

setLastOneTimeHarvest

public void setLastOneTimeHarvest(ScheduledHarvest sh)
Sets the lastOneTimeHarvest attribute of the HarvesterAdminForm object

Parameters:
sh - The new lastOneTimeHarvest value

getLastOneTimeHarvest

public ScheduledHarvest getLastOneTimeHarvest()
Gets the lastOneTimeHarvest attribute of the HarvesterAdminForm object

Returns:
The lastOneTimeHarvest value

setLastRunHarvest

public void setLastRunHarvest(ScheduledHarvest sh)
Sets the lastRunHarvest attribute of the HarvesterAdminForm object

Parameters:
sh - The new lastRunHarvest value

getLastRunHarvest

public ScheduledHarvest getLastRunHarvest()
Gets the lastRunHarvest attribute of the HarvesterAdminForm object

Returns:
The lastRunHarvest value

getShBaseURL

public String getShBaseURL()
Gets the shBaseURL attribute of the HarvesterAdminForm object

Returns:
The shBaseURL value

setShBaseURL

public void setShBaseURL(String val)
Sets the shBaseURL attribute of the HarvesterAdminForm object

Parameters:
val - The new shBaseURL value

getShMetadataPrefix

public String getShMetadataPrefix()
Gets the shMetadataPrefix attribute of the HarvesterAdminForm object

Returns:
The shMetadataPrefix value

setShMetadataPrefix

public void setShMetadataPrefix(String val)
Sets the shMetadataPrefix attribute of the HarvesterAdminForm object

Parameters:
val - The new shMetadataPrefix value

getShHarvestingInterval

public String getShHarvestingInterval()
Gets the shHarvestingInterval attribute of the HarvesterAdminForm object

Returns:
The shHarvestingInterval value

setShHarvestingInterval

public void setShHarvestingInterval(String val)
Sets the shHarvestingInterval attribute of the HarvesterAdminForm object

Parameters:
val - The new shHarvestingInterval value

getShIntervalGranularity

public String getShIntervalGranularity()
Gets the shIntervalGranularity attribute of the HarvesterAdminForm object

Returns:
The shIntervalGranularity value

getShIntervalGranularityLabel

public String getShIntervalGranularityLabel()
Gets the shIntervalGranularityLabel attribute of the HarvesterAdminForm object

Returns:
The shIntervalGranularityLabel value

setShIntervalGranularity

public void setShIntervalGranularity(String val)
Sets the shIntervalGranularity attribute of the HarvesterAdminForm object

Parameters:
val - The new shIntervalGranularity value

getShEnabledDisabled

public String getShEnabledDisabled()
Gets the shEnabledDisabled attribute of the HarvesterAdminForm object

Returns:
The shEnabledDisabled value

setShEnabledDisabled

public void setShEnabledDisabled(String val)
Sets the shEnabledDisabled attribute of the HarvesterAdminForm object

Parameters:
val - The new shEnabledDisabled value

getShUid

public String getShUid()
Gets the shUid attribute of the HarvesterAdminForm object

Returns:
The shUid value

setShUid

public void setShUid(String val)
Sets the shUid attribute of the HarvesterAdminForm object

Parameters:
val - The new shUid value

setShHarvestedDataDir

public void setShHarvestedDataDir(String val)
Sets the shHarvestedDataDir attribute of the HarvesterAdminForm object

Parameters:
val - The new shHarvestedDataDir value

getShHarvestedDataDir

public String getShHarvestedDataDir()
Gets the shHarvestedDataDir attribute of the HarvesterAdminForm object

Returns:
The shHarvestedDataDir value

getShEnabledDisabledList

public String[] getShEnabledDisabledList()
Gets the shEnabledDisabledList attribute of the HarvesterAdminForm object

Returns:
The shEnabledDisabledList value

getShIntervalGranularityList

public String[] getShIntervalGranularityList()
Gets the shIntervalGranularityList attribute of the HarvesterAdminForm object

Returns:
The shIntervalGranularityList value

getShIntervalGranularityListLabels

public String[] getShIntervalGranularityListLabels()
Gets the shIntervalGranularityListLabels attribute of the HarvesterAdminForm object

Returns:
The shIntervalGranularityListLabels value

setShHarvestDir

public void setShHarvestDir(String val)
Sets the shHarvestDir attribute of the HarvesterAdminForm object

Parameters:
val - The new shHarvestDir value

getShHarvestDir

public String getShHarvestDir()
Gets the shHarvestDir attribute of the HarvesterAdminForm object

Returns:
The shHarvestDir value

setBaseURL

public void setBaseURL(String val)
Sets the baseURL attribute of the HarvesterAdminForm object

Parameters:
val - The new baseURL value

getBaseURL

public String getBaseURL()
Gets the baseURL attribute of the HarvesterAdminForm object

Returns:
The baseURL value

setMetadataPrefix

public void setMetadataPrefix(String val)
Sets the metadataPrefix attribute of the HarvesterAdminForm object

Parameters:
val - The new metadataPrefix value

getMetadataPrefix

public String getMetadataPrefix()
Gets the metadataPrefix attribute of the HarvesterAdminForm object

Returns:
The metadataPrefix value

setSetSpec

public void setSetSpec(String val)
Sets the setSpec attribute of the HarvesterAdminForm object

Parameters:
val - The new setSpec value

getSetSpec

public String getSetSpec()
Gets the setSpec attribute of the HarvesterAdminForm object

Returns:
The setSpec value

setFrom

public void setFrom(String val)
Sets the from attribute of the HarvesterAdminForm object

Parameters:
val - The new from value

getFrom

public String getFrom()
Gets the from attribute of the HarvesterAdminForm object

Returns:
The from value

setUntil

public void setUntil(String val)
Sets the until attribute of the HarvesterAdminForm object

Parameters:
val - The new until value

getUntil

public String getUntil()
Gets the until attribute of the HarvesterAdminForm object

Returns:
The until value

getHarvestedDataDir

public String getHarvestedDataDir()
Gets the harvestedDataDir attribute of the HarvesterAdminForm object

Returns:
The harvestedDataDir value

setHarvestedDataDir

public void setHarvestedDataDir(String val)
Sets the harvestedDataDir attribute of the HarvesterAdminForm object

Parameters:
val - The new harvestedDataDir value

setHarvesterStatus

public void setHarvesterStatus(String val)
Sets the harvesterStatus attribute of the HarvesterAdminForm object

Parameters:
val - The new harvesterStatus value

getHarvesterStatus

public String getHarvesterStatus()
Gets the harvesterStatus attribute of the HarvesterAdminForm object

Returns:
The harvesterStatus value

setScheduledHarvests

public void setScheduledHarvests(Hashtable scheduledHarvests)
Sets the scheduledHarvests attribute of the HarvesterAdminForm object

Parameters:
scheduledHarvests - The new scheduledHarvests value

getScheduledHarvests

public Object[] getScheduledHarvests()
Gets the scheduledHarvests attribute of the HarvesterAdminForm object

Returns:
The scheduledHarvests value

setValidateRecords

public void setValidateRecords(Boolean val)
Sets the validateRecords attribute of the HarvesterAdminForm object

Parameters:
val - The new validateRecords value

getValidateRecords

public String getValidateRecords()
Gets the validateRecords attribute of the HarvesterAdminForm object

Returns:
The validateRecords value

setMySes

public void setMySes(String val)
Sets the mySes attribute of the HarvesterAdminForm object

Parameters:
val - The new mySes value

getMySes

public String getMySes()
Gets the mySes attribute of the HarvesterAdminForm object

Returns:
The mySes value

setMessage

public void setMessage(String message)
Sets the message attribute of the HarvesterAdminForm object

Parameters:
message - The new message value

getMessage

public String 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:
validate in class org.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

protected static final String 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

DLESE Tools
v1.6.0