Class BatchOperationsForm
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.schemedit.action.form.BatchOperationsForm
- All Implemented Interfaces:
Serializable
public class BatchOperationsForm
extends org.apache.struts.action.ActionForm
ActionForm bean for handling batchRecordOperations.
Works in conjunction with BatchOperationsAction.
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidClears the status attributes (editor, status, statusNote) for batch status change.Gets the collection attribute of the BatchOperationsForm objectGets the dcsSetInfo attribute of the BatchOperationsForm objectGets the editor attribute for batch status change.editRec parameter is used by handleMoveRecord to specify whether control is forwarded back to editor.Records that failed batch opGets the formatOfRecords attribute of the BatchOperationsForm objectintGets the records to be operated on in the batch operationgetSets()Gets the sets attribute of the BatchOperationsForm objectGets the status attribute for batch status changeA list ofStatusFlagbeans, each of contain status and description attributes.Geets the statusNote attribute for batch status change.protected final voidOutput a line of text to standard out, with datestamp, if debug is set to true.voidsetCollection(String collection) Sets the collection attribute of the BatchOperationsForm objectvoidsetDcsSetInfo(DcsSetInfo setInfo) Sets the dcsSetInfo attribute of the BatchOperationsForm objectvoidSets the editor attribute for batch status change.voidsetEditRec(String s) Sets the editRec attribute of the BatchOperationsForm objectvoidsetFailedRecordList(RecordList results) Records that failed batch opvoidsetFormatOfRecords(String format) Sets the formatOfRecords attribute of the BatchOperationsForm objectvoidsetRecordList(RecordList results) Sets the records to be operated on in the batch operationvoidsetRequest(HttpServletRequest request) Sets the request attribute of the BatchOperationsForm object.voidSets the sets attribute of the RepositoryAdminForm objectvoidSets the status attribute for batch status change.voidsetStatusFlags(List flags) Sets the statusFlags attribute of the BatchOperationsForm objectvoidsetStatusNote(String statusNote) Sets the statusNote attribute for batch status change.Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Constructor Details
-
BatchOperationsForm
public BatchOperationsForm()Constructor
-
-
Method Details
-
clear
public void clear() -
setRecordList
Sets the records to be operated on in the batch operation- Parameters:
results- The new recordList value
-
getRecordList
Gets the records to be operated on in the batch operation- Returns:
- The recordList value
-
setFailedRecordList
Records that failed batch op- Parameters:
results- The new failedRecordList value
-
getFailedRecordList
Records that failed batch op- Returns:
- The failedRecordList value
-
getMaxRecordsToList
public int getMaxRecordsToList() -
clearStatusAttributes
public void clearStatusAttributes()Clears the status attributes (editor, status, statusNote) for batch status change. -
getEditor
Gets the editor attribute for batch status change.- Returns:
- The editor value
-
setEditor
Sets the editor attribute for batch status change.- Parameters:
editor- The new editor value
-
getStatus
Gets the status attribute for batch status change- Returns:
- The status value
-
setStatus
Sets the status attribute for batch status change.- Parameters:
status- The new status value
-
getStatusNote
Geets the statusNote attribute for batch status change.- Returns:
- The statusNote value
-
setStatusNote
Sets the statusNote attribute for batch status change.- Parameters:
statusNote- The new statusNote 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 BatchOperationsForm object- Parameters:
s- The new editRec value
-
getStatusFlags
A list ofStatusFlagbeans, each of contain status and description attributes.- Returns:
- The statusFlags value
-
setStatusFlags
Sets the statusFlags attribute of the BatchOperationsForm object- Parameters:
flags- The new statusFlags value
-
getSets
Gets the sets attribute of the BatchOperationsForm object- Returns:
- The sets value
-
setSets
Sets the sets attribute of the RepositoryAdminForm object- Parameters:
sets- The new sets value
-
getCollection
Gets the collection attribute of the BatchOperationsForm object- Returns:
- The collection value
-
setCollection
Sets the collection attribute of the BatchOperationsForm object- Parameters:
collection- The new collection value
-
getDcsSetInfo
Gets the dcsSetInfo attribute of the BatchOperationsForm object- Returns:
- The dcsSetInfo value
-
setDcsSetInfo
Sets the dcsSetInfo attribute of the BatchOperationsForm object- Parameters:
setInfo- The new dcsSetInfo value
-
getFormatOfRecords
Gets the formatOfRecords attribute of the BatchOperationsForm object- Returns:
- The formatOfRecords value
-
setFormatOfRecords
Sets the formatOfRecords attribute of the BatchOperationsForm object- Parameters:
format- The new formatOfRecords value
-
setRequest
Sets the request attribute of the BatchOperationsForm object.- Parameters:
request- The new request value
-
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.
-