DLESE Tools
v1.6.0

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

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

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
BatchOperationsForm()
          Constructor
 
Method Summary
 void clear()
           
 void clearStatusAttributes()
          Clears the status attributes (editor, status, statusNote) for batch status change.
 String getCollection()
          Gets the collection attribute of the BatchOperationsForm object
 DcsSetInfo getDcsSetInfo()
          Gets the dcsSetInfo attribute of the BatchOperationsForm object
 String getEditor()
          Gets the editor attribute for batch status change.
 String getEditRec()
          editRec parameter is used by handleMoveRecord to specify whether control is forwarded back to editor.
 RecordList getFailedRecordList()
          Records that failed batch op
 String getFormatOfRecords()
          Gets the formatOfRecords attribute of the BatchOperationsForm object
 int getMaxRecordsToList()
           
 RecordList getRecordList()
          Gets the records to be operated on in the batch operation
 List getSets()
          Gets the sets attribute of the BatchOperationsForm object
 String getStatus()
          Gets the status attribute for batch status change
 List getStatusFlags()
          A list of StatusFlag beans, each of contain status and description attributes.
 String getStatusNote()
          Geets the statusNote attribute for batch status change.
protected  void prtln(String s)
          Output a line of text to standard out, with datestamp, if debug is set to true.
 void setCollection(String collection)
          Sets the collection attribute of the BatchOperationsForm object
 void setDcsSetInfo(DcsSetInfo setInfo)
          Sets the dcsSetInfo attribute of the BatchOperationsForm object
 void setEditor(String editor)
          Sets the editor attribute for batch status change.
 void setEditRec(String s)
          Sets the editRec attribute of the BatchOperationsForm object
 void setFailedRecordList(RecordList results)
          Records that failed batch op
 void setFormatOfRecords(String format)
          Sets the formatOfRecords attribute of the BatchOperationsForm object
 void setRecordList(RecordList results)
          Sets the records to be operated on in the batch operation
 void setRequest(HttpServletRequest request)
          Sets the request attribute of the BatchOperationsForm object.
 void setSets(List sets)
          Sets the sets attribute of the RepositoryAdminForm object
 void setStatus(String status)
          Sets the status attribute for batch status change.
 void setStatusFlags(List flags)
          Sets the statusFlags attribute of the BatchOperationsForm object
 void setStatusNote(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchOperationsForm

public BatchOperationsForm()
Constructor

Method Detail

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.

DLESE Tools
v1.6.0