DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.action.form
Class CollectionServicesForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.dlese.dpc.schemedit.action.form.DCSBrowseForm
          extended by org.dlese.dpc.schemedit.action.form.CollectionServicesForm
All Implemented Interfaces:
Serializable

public class CollectionServicesForm
extends DCSBrowseForm

ActionForm bean for handling requests for Collections-based operations, such as creating, deleting, exporting and validating collections.

Author:
ostwald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
CollectionServicesForm()
          Constructor
 
Method Summary
 void clear()
          Description of the Method
 List getArchivedReports()
          Gets the archivedReports attribute of the CollectionServicesForm object
 String getCollection()
          Gets the collection attribute of the CollectionServicesForm object
 String getCollectionKey()
          Gets the collection attribute of the CollectionServicesForm object
 String getCopyright()
          Gets the copyright attribute of the CollectionServicesForm object
 DcsSetInfo getDcsSetInfo()
          Gets the dcsSetInfo attribute of the CollectionServicesForm object
 String getDescription()
          Gets the description attribute of the CollectionServicesForm object
 String getDestPath()
          Gets the destPath attribute of the CollectionServicesForm object
 XMLDocReader getDocReader()
          Gets the docReader attribute of the CollectionServicesForm object
 String getEditRec()
          editRec parameter is used by handleMoveRecord to specify whether control is forwarded back to editor.
 String getEditRecordLink()
          Gets the editRecordLink attribute of the CollectionServicesForm object
 String getExportBaseDir()
          Gets the exportBaseDir attribute of the CollectionServicesForm object
 String getExportingSession()
          SessionId of the session currently preforming an export operation
 DcsSetInfo getExportingSet()
          the DcsSetInfo object for set currently being exported
 ExportReport getExportReport()
          Gets the exportReport attribute of the CollectionServicesForm object
 String getFormatOfRecords()
          Gets the formatOfRecords attribute of the CollectionServicesForm object
 List getFormats()
          Gets the formats attribute of the CollectionServicesForm object
 String getFullTitle()
          Gets the fullTitle attribute of the CollectionServicesForm object
 String getIdPrefix()
          Gets the idPrefix attribute of the CollectionServicesForm object
 boolean getIsExporting()
          Gets the isExporting attribute of the CollectionServicesForm object
 boolean getIsValidating()
          Gets the isValidating attribute of the CollectionServicesForm object
 String getMetadataGroupsLoaderFile()
          Gets the metadataGroupsLoaderFile attribute of the CollectionServicesForm object
 String getNumIndexingErrors()
          Gets the number of indexing errors that are present.
 String getPolicyType()
          Gets the policyType attribute of the CollectionServicesForm object
 String getPolicyUrl()
          Gets the policyUrl attribute of the CollectionServicesForm object
 String getProgress()
          Gets the progress attribute of the CollectionServicesForm object
 String getRecId()
          Gets the recId attribute of the CollectionServicesForm object
 ResultDoc getResultDoc()
          Gets the resultDoc attribute of the CollectionServicesForm object
 String getServiceName()
          Gets the serviceName attribute of the CollectionServicesForm object
 String getShortTitle()
          Gets the shortTitle attribute of the CollectionServicesForm object
 String[] getSss()
          Gets the sss (selectedStatuses) attribute of the DCSBrowseForm object
 String getStatus()
          Gets the status attribute of the CollectionServicesForm object
 List getStatusOptions()
          Gets the statusOptions attribute of the CollectionServicesForm object
 String getTermsOfUse()
          Gets the termsOfUse attribute of the CollectionServicesForm object
 String getTermsOfUseURI()
          Gets the termsOfUseURI attribute of the CollectionServicesForm object
 boolean getUserProvidedKey()
           
 String getValidatingSession()
          Gets the validatingSession attribute of the CollectionServicesForm object
 ValidationReport getValidationReport()
          Gets the validationReport attribute of the CollectionServicesForm object
protected  void prtln(String s)
          Output a line of text to standard out, with datestamp, if debug is set to true.
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset form attributes associated with multiple check inputs.
 void setArchivedReports(List reports)
          Sets the archivedReports attribute of the CollectionServicesForm object
 void setCollection(String collection)
          Sets the collection attribute of the CollectionServicesForm object
 void setCollectionKey(String collectionKey)
          Sets the collectionKey attribute of the CollectionServicesForm object
 void setCopyright(String s)
          Sets the copyright attribute of the CollectionServicesForm object
 void setDcsSetInfo(DcsSetInfo info)
          Sets the dcsSetInfo attribute of the CollectionServicesForm object
 void setDescription(String description)
          Sets the description attribute of the CollectionServicesForm object
 void setDestPath(String path)
          Sets the destPath attribute of the CollectionServicesForm object
 void setDocReader(XMLDocReader docReader)
          Sets the docReader attribute of the CollectionServicesForm object
 void setEditRec(String s)
          Sets the editRec attribute of the CollectionServicesForm object
 void setEditRecordLink(String s)
          Sets the editRecordLink attribute of the CollectionServicesForm object
 void setExportBaseDir(String dir)
          Sets the exportBaseDir attribute of the CollectionServicesForm object
 void setExportingSession(String exportingSession)
          Sets the exportingSession attribute of the CollectionServicesForm object
 void setExportingSet(DcsSetInfo exportingSet)
          Sets the exportingSet attribute of the CollectionServicesForm object
 void setExportReport(ExportReport report)
          Sets the exportReport attribute of the CollectionServicesForm object
 void setFormatOfRecords(String format)
          Sets the formatOfRecords attribute of the CollectionServicesForm object
 void setFormats(List formats)
          Sets the formats attribute of the CollectionServicesForm object
 void setFullTitle(String fullTitle)
          Sets the fullTitle attribute of the CollectionServicesForm object
 void setIdPrefix(String idPrefix)
          Sets the idPrefix attribute of the CollectionServicesForm object
 void setIsExporting(boolean isExporting)
          Sets the isExporting attribute of the CollectionServicesForm object
 void setIsValidating(boolean isValidating)
          Sets the isValidating attribute of the CollectionServicesForm object
 void setNumIndexingErrors(int numErrors)
          Sets the number of indexing errors that are present.
 void setPolicyType(String policyType)
          Sets the policyType attribute of the CollectionServicesForm object
 void setPolicyUrl(String policyUrl)
          Sets the policyUrl attribute of the CollectionServicesForm object
 void setProgress(String progress)
          Sets the progress attribute of the CollectionServicesForm object
 void setRecId(String id)
          Sets the recId attribute of the CollectionServicesForm object
 void setResultDoc(ResultDoc resultDoc)
          Sets the resultDoc attribute of the CollectionServicesForm object
 void setServiceName(String s)
          Sets the serviceName attribute of the CollectionServicesForm object
 void setShortTitle(String shortTitle)
          Sets the shortTitle attribute of the CollectionServicesForm object
 void setSss(String[] selectedStatuses)
          Sets the sss (selectedStatuses) attribute of the DCSBrowseForm object
 void setStatus(String status)
          Sets the status attribute of the CollectionServicesForm object
 void setStatusOptions(List options)
          Sets the statusOptions attribute of the CollectionServicesForm object
 void setTermsOfUse(String s)
          Sets the termsOfUse attribute of the CollectionServicesForm object
 void setTermsOfUseURI(String s)
          Sets the termsOfUseURI attribute of the CollectionServicesForm object
 void setUserProvidedKey(boolean userSpecified)
           
 void setValidatingSession(String validatingSession)
          Sets the validatingSession attribute of the CollectionServicesForm object
 void setValidationReport(ValidationReport report)
          Sets the validationReport attribute of the CollectionServicesForm object
 
Methods inherited from class org.dlese.dpc.schemedit.action.form.DCSBrowseForm
getContextURL, getNumDocs, getSets, getSortSpec, getUserRoles, setContextURL, setDebug, setNumDocs, setRequest, setSets, setSortSpec, setUserRoles
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionServicesForm

public CollectionServicesForm()
Constructor

Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Reset form attributes associated with multiple check inputs.

Overrides:
reset in class DCSBrowseForm
Parameters:
mapping - Description of the Parameter
request - Description of the Parameter

getTermsOfUse

public String getTermsOfUse()
Gets the termsOfUse attribute of the CollectionServicesForm object

Returns:
The termsOfUse value

setTermsOfUse

public void setTermsOfUse(String s)
Sets the termsOfUse attribute of the CollectionServicesForm object

Parameters:
s - The new termsOfUse value

getTermsOfUseURI

public String getTermsOfUseURI()
Gets the termsOfUseURI attribute of the CollectionServicesForm object

Returns:
The termsOfUseURI value

setTermsOfUseURI

public void setTermsOfUseURI(String s)
Sets the termsOfUseURI attribute of the CollectionServicesForm object

Parameters:
s - The new termsOfUseURI value

getCopyright

public String getCopyright()
Gets the copyright attribute of the CollectionServicesForm object

Returns:
The copyright value

setCopyright

public void setCopyright(String s)
Sets the copyright attribute of the CollectionServicesForm object

Parameters:
s - The new copyright value

getServiceName

public String getServiceName()
Gets the serviceName attribute of the CollectionServicesForm object

Returns:
The serviceName value

setServiceName

public void setServiceName(String s)
Sets the serviceName attribute of the CollectionServicesForm object

Parameters:
s - The new serviceName value

getExportBaseDir

public String getExportBaseDir()
Gets the exportBaseDir attribute of the CollectionServicesForm object

Returns:
The exportBaseDir value

setExportBaseDir

public void setExportBaseDir(String dir)
Sets the exportBaseDir attribute of the CollectionServicesForm object

Parameters:
dir - The new exportBaseDir value

getResultDoc

public ResultDoc getResultDoc()
Gets the resultDoc attribute of the CollectionServicesForm object

Returns:
The resultDoc value

setResultDoc

public void setResultDoc(ResultDoc resultDoc)
Sets the resultDoc attribute of the CollectionServicesForm object

Parameters:
resultDoc - The new resultDoc value

getDocReader

public XMLDocReader getDocReader()
Gets the docReader attribute of the CollectionServicesForm object

Returns:
The docReader value

setDocReader

public void setDocReader(XMLDocReader docReader)
Sets the docReader attribute of the CollectionServicesForm object

Parameters:
docReader - The new docReader value

getIsExporting

public boolean getIsExporting()
Gets the isExporting attribute of the CollectionServicesForm object

Returns:
The isExporting value

setIsExporting

public void setIsExporting(boolean isExporting)
Sets the isExporting attribute of the CollectionServicesForm object

Parameters:
isExporting - The new isExporting value

getExportingSession

public String getExportingSession()
SessionId of the session currently preforming an export operation

Returns:
The exportingSession value

setExportingSession

public void setExportingSession(String exportingSession)
Sets the exportingSession attribute of the CollectionServicesForm object

Parameters:
exportingSession - The new exportingSession value

getExportingSet

public DcsSetInfo getExportingSet()
the DcsSetInfo object for set currently being exported

Returns:
The exportingSet value

setExportingSet

public void setExportingSet(DcsSetInfo exportingSet)
Sets the exportingSet attribute of the CollectionServicesForm object

Parameters:
exportingSet - The new exportingSet value

getArchivedReports

public List getArchivedReports()
Gets the archivedReports attribute of the CollectionServicesForm object

Returns:
The archivedReports value

setArchivedReports

public void setArchivedReports(List reports)
Sets the archivedReports attribute of the CollectionServicesForm object

Parameters:
reports - The new archivedReports value

getValidationReport

public ValidationReport getValidationReport()
Gets the validationReport attribute of the CollectionServicesForm object

Returns:
The validationReport value

setValidationReport

public void setValidationReport(ValidationReport report)
Sets the validationReport attribute of the CollectionServicesForm object

Parameters:
report - The new validationReport value

getExportReport

public ExportReport getExportReport()
Gets the exportReport attribute of the CollectionServicesForm object

Returns:
The exportReport value

setExportReport

public void setExportReport(ExportReport report)
Sets the exportReport attribute of the CollectionServicesForm object

Parameters:
report - The new exportReport value

getIsValidating

public boolean getIsValidating()
Gets the isValidating attribute of the CollectionServicesForm object

Returns:
The isValidating value

setIsValidating

public void setIsValidating(boolean isValidating)
Sets the isValidating attribute of the CollectionServicesForm object

Parameters:
isValidating - The new isValidating value

getProgress

public String getProgress()
Gets the progress attribute of the CollectionServicesForm object

Returns:
The progress value

setProgress

public void setProgress(String progress)
Sets the progress attribute of the CollectionServicesForm object

Parameters:
progress - The new progress value

getValidatingSession

public String getValidatingSession()
Gets the validatingSession attribute of the CollectionServicesForm object

Returns:
The validatingSession value

setValidatingSession

public void setValidatingSession(String validatingSession)
Sets the validatingSession attribute of the CollectionServicesForm object

Parameters:
validatingSession - The new validatingSession value

getEditRec

public String getEditRec()
editRec parameter is used by handleMoveRecord to specify whether control is forwarded back to editor. Seems there should be an easier way ...

Returns:
The editRec value

setEditRec

public void setEditRec(String s)
Sets the editRec attribute of the CollectionServicesForm object

Parameters:
s - The new editRec value

getDestPath

public String getDestPath()
Gets the destPath attribute of the CollectionServicesForm object

Returns:
The destPath value

setDestPath

public void setDestPath(String path)
Sets the destPath attribute of the CollectionServicesForm object

Parameters:
path - The new destPath value

getStatusOptions

public List getStatusOptions()
Gets the statusOptions attribute of the CollectionServicesForm object

Returns:
The statusOptions value

setStatusOptions

public void setStatusOptions(List options)
Sets the statusOptions attribute of the CollectionServicesForm object

Parameters:
options - The new statusOptions value

getSss

public String[] getSss()
Gets the sss (selectedStatuses) attribute of the DCSBrowseForm object

Returns:
The sss value

setSss

public void setSss(String[] selectedStatuses)
Sets the sss (selectedStatuses) attribute of the DCSBrowseForm object

Parameters:
selectedStatuses - The new sss value

getDcsSetInfo

public DcsSetInfo getDcsSetInfo()
Gets the dcsSetInfo attribute of the CollectionServicesForm object

Returns:
The dcsSetInfo value

setDcsSetInfo

public void setDcsSetInfo(DcsSetInfo info)
Sets the dcsSetInfo attribute of the CollectionServicesForm object

Parameters:
info - The new dcsSetInfo value

getCollection

public String getCollection()
Gets the collection attribute of the CollectionServicesForm object

Returns:
The collection value

setCollection

public void setCollection(String collection)
Sets the collection attribute of the CollectionServicesForm object

Parameters:
collection - The new collection value

setFormats

public void setFormats(List formats)
Sets the formats attribute of the CollectionServicesForm object

Parameters:
formats - The new formats value

getFormats

public List getFormats()
Gets the formats attribute of the CollectionServicesForm object

Returns:
The formats value

getMetadataGroupsLoaderFile

public String getMetadataGroupsLoaderFile()
Gets the metadataGroupsLoaderFile attribute of the CollectionServicesForm object

Returns:
The metadataGroupsLoaderFile value

clear

public void clear()
Description of the Method


getRecId

public String getRecId()
Gets the recId attribute of the CollectionServicesForm object

Returns:
The recId value

setRecId

public void setRecId(String id)
Sets the recId attribute of the CollectionServicesForm object

Parameters:
id - The new recId value

getEditRecordLink

public String getEditRecordLink()
Gets the editRecordLink attribute of the CollectionServicesForm object

Returns:
The editRecordLink value

setEditRecordLink

public void setEditRecordLink(String s)
Sets the editRecordLink attribute of the CollectionServicesForm object

Parameters:
s - The new editRecordLink value

getFullTitle

public String getFullTitle()
Gets the fullTitle attribute of the CollectionServicesForm object

Returns:
The fullTitle value

setFullTitle

public void setFullTitle(String fullTitle)
Sets the fullTitle attribute of the CollectionServicesForm object

Parameters:
fullTitle - The new fullTitle value

getShortTitle

public String getShortTitle()
Gets the shortTitle attribute of the CollectionServicesForm object

Returns:
The shortTitle value

setShortTitle

public void setShortTitle(String shortTitle)
Sets the shortTitle attribute of the CollectionServicesForm object

Parameters:
shortTitle - The new shortTitle value

getUserProvidedKey

public boolean getUserProvidedKey()

setUserProvidedKey

public void setUserProvidedKey(boolean userSpecified)

getCollectionKey

public String getCollectionKey()
Gets the collection attribute of the CollectionServicesForm object

Returns:
The collectionKey value

setCollectionKey

public void setCollectionKey(String collectionKey)
Sets the collectionKey attribute of the CollectionServicesForm object

Parameters:
collectionKey - The new collectionKey value

getDescription

public String getDescription()
Gets the description attribute of the CollectionServicesForm object

Returns:
The description value

setDescription

public void setDescription(String description)
Sets the description attribute of the CollectionServicesForm object

Parameters:
description - The new description value

getIdPrefix

public String getIdPrefix()
Gets the idPrefix attribute of the CollectionServicesForm object

Returns:
The idPrefix value

setIdPrefix

public void setIdPrefix(String idPrefix)
Sets the idPrefix attribute of the CollectionServicesForm object

Parameters:
idPrefix - The new idPrefix value

getFormatOfRecords

public String getFormatOfRecords()
Gets the formatOfRecords attribute of the CollectionServicesForm object

Returns:
The formatOfRecords value

setFormatOfRecords

public void setFormatOfRecords(String format)
Sets the formatOfRecords attribute of the CollectionServicesForm object

Parameters:
format - The new formatOfRecords value

getStatus

public String getStatus()
Gets the status attribute of the CollectionServicesForm object

Returns:
The status value

setStatus

public void setStatus(String status)
Sets the status attribute of the CollectionServicesForm object

Parameters:
status - The new status value

getPolicyUrl

public String getPolicyUrl()
Gets the policyUrl attribute of the CollectionServicesForm object

Returns:
The policyUrl value

setPolicyUrl

public void setPolicyUrl(String policyUrl)
Sets the policyUrl attribute of the CollectionServicesForm object

Parameters:
policyUrl - The new policyUrl value

getPolicyType

public String getPolicyType()
Gets the policyType attribute of the CollectionServicesForm object

Returns:
The policyType value

setPolicyType

public void setPolicyType(String policyType)
Sets the policyType attribute of the CollectionServicesForm object

Parameters:
policyType - The new policyType value

setNumIndexingErrors

public void setNumIndexingErrors(int numErrors)
Sets the number of indexing errors that are present.

Parameters:
numErrors - The number of indexing errors that are present.

getNumIndexingErrors

public String getNumIndexingErrors()
Gets the number of indexing errors that are present. A value of -1 means no data is available.

Returns:
numErrors The number of indexing errors that are present.

prtln

protected final void prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true.

Parameters:
s - The String that will be output.

DLESE Tools
v1.6.0