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:
  • Constructor Details

    • BatchOperationsForm

      public BatchOperationsForm()
      Constructor
  • Method Details

    • clear

      public void clear()
    • setRecordList

      public void setRecordList(RecordList results)
      Sets the records to be operated on in the batch operation
      Parameters:
      results - The new recordList value
    • getRecordList

      public RecordList getRecordList()
      Gets the records to be operated on in the batch operation
      Returns:
      The recordList value
    • setFailedRecordList

      public void setFailedRecordList(RecordList results)
      Records that failed batch op
      Parameters:
      results - The new failedRecordList value
    • getFailedRecordList

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

      public String getEditor()
      Gets the editor attribute for batch status change.
      Returns:
      The editor value
    • setEditor

      public void setEditor(String editor)
      Sets the editor attribute for batch status change.
      Parameters:
      editor - The new editor value
    • getStatus

      public String getStatus()
      Gets the status attribute for batch status change
      Returns:
      The status value
    • setStatus

      public void setStatus(String status)
      Sets the status attribute for batch status change.
      Parameters:
      status - The new status value
    • getStatusNote

      public String getStatusNote()
      Geets the statusNote attribute for batch status change.
      Returns:
      The statusNote value
    • setStatusNote

      public void setStatusNote(String statusNote)
      Sets the statusNote attribute for batch status change.
      Parameters:
      statusNote - The new statusNote 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 BatchOperationsForm object
      Parameters:
      s - The new editRec value
    • getStatusFlags

      public List getStatusFlags()
      A list of StatusFlag beans, each of contain status and description attributes.
      Returns:
      The statusFlags value
    • setStatusFlags

      public void setStatusFlags(List flags)
      Sets the statusFlags attribute of the BatchOperationsForm object
      Parameters:
      flags - The new statusFlags value
    • getSets

      public List getSets()
      Gets the sets attribute of the BatchOperationsForm object
      Returns:
      The sets value
    • setSets

      public void setSets(List sets)
      Sets the sets attribute of the RepositoryAdminForm object
      Parameters:
      sets - The new sets value
    • getCollection

      public String getCollection()
      Gets the collection attribute of the BatchOperationsForm object
      Returns:
      The collection value
    • setCollection

      public void setCollection(String collection)
      Sets the collection attribute of the BatchOperationsForm object
      Parameters:
      collection - The new collection value
    • getDcsSetInfo

      public DcsSetInfo getDcsSetInfo()
      Gets the dcsSetInfo attribute of the BatchOperationsForm object
      Returns:
      The dcsSetInfo value
    • setDcsSetInfo

      public void setDcsSetInfo(DcsSetInfo setInfo)
      Sets the dcsSetInfo attribute of the BatchOperationsForm object
      Parameters:
      setInfo - The new dcsSetInfo value
    • getFormatOfRecords

      public String getFormatOfRecords()
      Gets the formatOfRecords attribute of the BatchOperationsForm object
      Returns:
      The formatOfRecords value
    • setFormatOfRecords

      public void setFormatOfRecords(String format)
      Sets the formatOfRecords attribute of the BatchOperationsForm object
      Parameters:
      format - The new formatOfRecords value
    • setRequest

      public void setRequest(HttpServletRequest request)
      Sets the request attribute of the BatchOperationsForm object.
      Parameters:
      request - The new request value
    • 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.