Class CollectionServicesForm
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.schemedit.action.form.DCSBrowseForm
org.dlese.dpc.schemedit.action.form.CollectionServicesForm
- All Implemented Interfaces:
Serializable
ActionForm bean for handling requests for Collections-based operations, such
as creating, deleting, exporting and validating collections.
- Author:
- ostwald
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Description of the MethodGets the archivedReports attribute of the CollectionServicesForm objectGets the collection attribute of the CollectionServicesForm objectGets the collection attribute of the CollectionServicesForm objectGets the copyright attribute of the CollectionServicesForm objectGets the dcsSetInfo attribute of the CollectionServicesForm objectGets the description attribute of the CollectionServicesForm objectGets the destPath attribute of the CollectionServicesForm objectGets the docReader attribute of the CollectionServicesForm objecteditRec parameter is used by handleMoveRecord to specify whether control is forwarded back to editor.Gets the editRecordLink attribute of the CollectionServicesForm objectGets the exportBaseDir attribute of the CollectionServicesForm objectSessionId of the session currently preforming an export operationthe DcsSetInfo object for set currently being exportedGets the exportReport attribute of the CollectionServicesForm objectGets the formatOfRecords attribute of the CollectionServicesForm objectGets the formats attribute of the CollectionServicesForm objectGets the fullTitle attribute of the CollectionServicesForm objectGets the idPrefix attribute of the CollectionServicesForm objectbooleanGets the isExporting attribute of the CollectionServicesForm objectbooleanGets the isValidating attribute of the CollectionServicesForm objectGets the metadataGroupsLoaderFile attribute of the CollectionServicesForm objectGets the number of indexing errors that are present.Gets the policyType attribute of the CollectionServicesForm objectGets the policyUrl attribute of the CollectionServicesForm objectGets the progress attribute of the CollectionServicesForm objectgetRecId()Gets the recId attribute of the CollectionServicesForm objectGets the resultDoc attribute of the CollectionServicesForm objectGets the serviceName attribute of the CollectionServicesForm objectGets the shortTitle attribute of the CollectionServicesForm objectString[]getSss()Gets the sss (selectedStatuses) attribute of the DCSBrowseForm objectGets the status attribute of the CollectionServicesForm objectGets the statusOptions attribute of the CollectionServicesForm objectGets the termsOfUse attribute of the CollectionServicesForm objectGets the termsOfUseURI attribute of the CollectionServicesForm objectbooleanGets the validatingSession attribute of the CollectionServicesForm objectGets the validationReport attribute of the CollectionServicesForm objectprotected final voidOutput a line of text to standard out, with datestamp, if debug is set to true.voidreset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Reset form attributes associated with multiple check inputs.voidsetArchivedReports(List reports) Sets the archivedReports attribute of the CollectionServicesForm objectvoidsetCollection(String collection) Sets the collection attribute of the CollectionServicesForm objectvoidsetCollectionKey(String collectionKey) Sets the collectionKey attribute of the CollectionServicesForm objectvoidSets the copyright attribute of the CollectionServicesForm objectvoidsetDcsSetInfo(DcsSetInfo info) Sets the dcsSetInfo attribute of the CollectionServicesForm objectvoidsetDescription(String description) Sets the description attribute of the CollectionServicesForm objectvoidsetDestPath(String path) Sets the destPath attribute of the CollectionServicesForm objectvoidsetDocReader(XMLDocReader docReader) Sets the docReader attribute of the CollectionServicesForm objectvoidsetEditRec(String s) Sets the editRec attribute of the CollectionServicesForm objectvoidSets the editRecordLink attribute of the CollectionServicesForm objectvoidsetExportBaseDir(String dir) Sets the exportBaseDir attribute of the CollectionServicesForm objectvoidsetExportingSession(String exportingSession) Sets the exportingSession attribute of the CollectionServicesForm objectvoidsetExportingSet(DcsSetInfo exportingSet) Sets the exportingSet attribute of the CollectionServicesForm objectvoidsetExportReport(ExportReport report) Sets the exportReport attribute of the CollectionServicesForm objectvoidsetFormatOfRecords(String format) Sets the formatOfRecords attribute of the CollectionServicesForm objectvoidsetFormats(List formats) Sets the formats attribute of the CollectionServicesForm objectvoidsetFullTitle(String fullTitle) Sets the fullTitle attribute of the CollectionServicesForm objectvoidsetIdPrefix(String idPrefix) Sets the idPrefix attribute of the CollectionServicesForm objectvoidsetIsExporting(boolean isExporting) Sets the isExporting attribute of the CollectionServicesForm objectvoidsetIsValidating(boolean isValidating) Sets the isValidating attribute of the CollectionServicesForm objectvoidsetNumIndexingErrors(int numErrors) Sets the number of indexing errors that are present.voidsetPolicyType(String policyType) Sets the policyType attribute of the CollectionServicesForm objectvoidsetPolicyUrl(String policyUrl) Sets the policyUrl attribute of the CollectionServicesForm objectvoidsetProgress(String progress) Sets the progress attribute of the CollectionServicesForm objectvoidSets the recId attribute of the CollectionServicesForm objectvoidsetResultDoc(ResultDoc resultDoc) Sets the resultDoc attribute of the CollectionServicesForm objectvoidSets the serviceName attribute of the CollectionServicesForm objectvoidsetShortTitle(String shortTitle) Sets the shortTitle attribute of the CollectionServicesForm objectvoidSets the sss (selectedStatuses) attribute of the DCSBrowseForm objectvoidSets the status attribute of the CollectionServicesForm objectvoidsetStatusOptions(List options) Sets the statusOptions attribute of the CollectionServicesForm objectvoidSets the termsOfUse attribute of the CollectionServicesForm objectvoidSets the termsOfUseURI attribute of the CollectionServicesForm objectvoidsetUserProvidedKey(boolean userSpecified) voidsetValidatingSession(String validatingSession) Sets the validatingSession attribute of the CollectionServicesForm objectvoidsetValidationReport(ValidationReport report) Sets the validationReport attribute of the CollectionServicesForm objectMethods inherited from class org.dlese.dpc.schemedit.action.form.DCSBrowseForm
getContextURL, getNumDocs, getSets, getSortSpec, getUserRoles, setContextURL, setDebug, setNumDocs, setRequest, setSets, setSortSpec, setUserRolesMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Constructor Details
-
CollectionServicesForm
public CollectionServicesForm()Constructor
-
-
Method Details
-
reset
Reset form attributes associated with multiple check inputs.- Overrides:
resetin classDCSBrowseForm- Parameters:
mapping- Description of the Parameterrequest- Description of the Parameter
-
getTermsOfUse
Gets the termsOfUse attribute of the CollectionServicesForm object- Returns:
- The termsOfUse value
-
setTermsOfUse
Sets the termsOfUse attribute of the CollectionServicesForm object- Parameters:
s- The new termsOfUse value
-
getTermsOfUseURI
Gets the termsOfUseURI attribute of the CollectionServicesForm object- Returns:
- The termsOfUseURI value
-
setTermsOfUseURI
Sets the termsOfUseURI attribute of the CollectionServicesForm object- Parameters:
s- The new termsOfUseURI value
-
getCopyright
Gets the copyright attribute of the CollectionServicesForm object- Returns:
- The copyright value
-
setCopyright
Sets the copyright attribute of the CollectionServicesForm object- Parameters:
s- The new copyright value
-
getServiceName
Gets the serviceName attribute of the CollectionServicesForm object- Returns:
- The serviceName value
-
setServiceName
Sets the serviceName attribute of the CollectionServicesForm object- Parameters:
s- The new serviceName value
-
getExportBaseDir
Gets the exportBaseDir attribute of the CollectionServicesForm object- Returns:
- The exportBaseDir value
-
setExportBaseDir
Sets the exportBaseDir attribute of the CollectionServicesForm object- Parameters:
dir- The new exportBaseDir value
-
getResultDoc
Gets the resultDoc attribute of the CollectionServicesForm object- Returns:
- The resultDoc value
-
setResultDoc
Sets the resultDoc attribute of the CollectionServicesForm object- Parameters:
resultDoc- The new resultDoc value
-
getDocReader
Gets the docReader attribute of the CollectionServicesForm object- Returns:
- The docReader value
-
setDocReader
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
SessionId of the session currently preforming an export operation- Returns:
- The exportingSession value
-
setExportingSession
Sets the exportingSession attribute of the CollectionServicesForm object- Parameters:
exportingSession- The new exportingSession value
-
getExportingSet
the DcsSetInfo object for set currently being exported- Returns:
- The exportingSet value
-
setExportingSet
Sets the exportingSet attribute of the CollectionServicesForm object- Parameters:
exportingSet- The new exportingSet value
-
getArchivedReports
Gets the archivedReports attribute of the CollectionServicesForm object- Returns:
- The archivedReports value
-
setArchivedReports
Sets the archivedReports attribute of the CollectionServicesForm object- Parameters:
reports- The new archivedReports value
-
getValidationReport
Gets the validationReport attribute of the CollectionServicesForm object- Returns:
- The validationReport value
-
setValidationReport
Sets the validationReport attribute of the CollectionServicesForm object- Parameters:
report- The new validationReport value
-
getExportReport
Gets the exportReport attribute of the CollectionServicesForm object- Returns:
- The exportReport value
-
setExportReport
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
Gets the progress attribute of the CollectionServicesForm object- Returns:
- The progress value
-
setProgress
Sets the progress attribute of the CollectionServicesForm object- Parameters:
progress- The new progress value
-
getValidatingSession
Gets the validatingSession attribute of the CollectionServicesForm object- Returns:
- The validatingSession value
-
setValidatingSession
Sets the validatingSession attribute of the CollectionServicesForm object- Parameters:
validatingSession- The new validatingSession value
-
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
Sets the editRec attribute of the CollectionServicesForm object- Parameters:
s- The new editRec value
-
getDestPath
Gets the destPath attribute of the CollectionServicesForm object- Returns:
- The destPath value
-
setDestPath
Sets the destPath attribute of the CollectionServicesForm object- Parameters:
path- The new destPath value
-
getStatusOptions
Gets the statusOptions attribute of the CollectionServicesForm object- Returns:
- The statusOptions value
-
setStatusOptions
Sets the statusOptions attribute of the CollectionServicesForm object- Parameters:
options- The new statusOptions value
-
getSss
Gets the sss (selectedStatuses) attribute of the DCSBrowseForm object- Returns:
- The sss value
-
setSss
Sets the sss (selectedStatuses) attribute of the DCSBrowseForm object- Parameters:
selectedStatuses- The new sss value
-
getDcsSetInfo
Gets the dcsSetInfo attribute of the CollectionServicesForm object- Returns:
- The dcsSetInfo value
-
setDcsSetInfo
Sets the dcsSetInfo attribute of the CollectionServicesForm object- Parameters:
info- The new dcsSetInfo value
-
getCollection
Gets the collection attribute of the CollectionServicesForm object- Returns:
- The collection value
-
setCollection
Sets the collection attribute of the CollectionServicesForm object- Parameters:
collection- The new collection value
-
setFormats
Sets the formats attribute of the CollectionServicesForm object- Parameters:
formats- The new formats value
-
getFormats
Gets the formats attribute of the CollectionServicesForm object- Returns:
- The formats value
-
getMetadataGroupsLoaderFile
Gets the metadataGroupsLoaderFile attribute of the CollectionServicesForm object- Returns:
- The metadataGroupsLoaderFile value
-
clear
public void clear()Description of the Method -
getRecId
Gets the recId attribute of the CollectionServicesForm object- Returns:
- The recId value
-
setRecId
Sets the recId attribute of the CollectionServicesForm object- Parameters:
id- The new recId value
-
getEditRecordLink
Gets the editRecordLink attribute of the CollectionServicesForm object- Returns:
- The editRecordLink value
-
setEditRecordLink
Sets the editRecordLink attribute of the CollectionServicesForm object- Parameters:
s- The new editRecordLink value
-
getFullTitle
Gets the fullTitle attribute of the CollectionServicesForm object- Returns:
- The fullTitle value
-
setFullTitle
Sets the fullTitle attribute of the CollectionServicesForm object- Parameters:
fullTitle- The new fullTitle value
-
getShortTitle
Gets the shortTitle attribute of the CollectionServicesForm object- Returns:
- The shortTitle value
-
setShortTitle
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
Gets the collection attribute of the CollectionServicesForm object- Returns:
- The collectionKey value
-
setCollectionKey
Sets the collectionKey attribute of the CollectionServicesForm object- Parameters:
collectionKey- The new collectionKey value
-
getDescription
Gets the description attribute of the CollectionServicesForm object- Returns:
- The description value
-
setDescription
Sets the description attribute of the CollectionServicesForm object- Parameters:
description- The new description value
-
getIdPrefix
Gets the idPrefix attribute of the CollectionServicesForm object- Returns:
- The idPrefix value
-
setIdPrefix
Sets the idPrefix attribute of the CollectionServicesForm object- Parameters:
idPrefix- The new idPrefix value
-
getFormatOfRecords
Gets the formatOfRecords attribute of the CollectionServicesForm object- Returns:
- The formatOfRecords value
-
setFormatOfRecords
Sets the formatOfRecords attribute of the CollectionServicesForm object- Parameters:
format- The new formatOfRecords value
-
getStatus
Gets the status attribute of the CollectionServicesForm object- Returns:
- The status value
-
setStatus
Sets the status attribute of the CollectionServicesForm object- Parameters:
status- The new status value
-
getPolicyUrl
Gets the policyUrl attribute of the CollectionServicesForm object- Returns:
- The policyUrl value
-
setPolicyUrl
Sets the policyUrl attribute of the CollectionServicesForm object- Parameters:
policyUrl- The new policyUrl value
-
getPolicyType
Gets the policyType attribute of the CollectionServicesForm object- Returns:
- The policyType value
-
setPolicyType
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
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
Output a line of text to standard out, with datestamp, if debug is set to true.- Parameters:
s- The String that will be output.
-