DLESE Tools
v1.6.0

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

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

public class RecordOperationsForm
extends org.apache.struts.action.ActionForm

ActionForm bean for handling requests to support Schemedit. Most methods acesss the DocMap attribute, which wraps the XML Document that is being edited.

Author:
ostwald $Id: RecordOperationsForm.java,v 1.8 2005/08/31 08:09:59 ostwald Exp $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
RecordOperationsForm()
          Constructor
 
Method Summary
 String getCollection()
          Gets the collection attribute of the RecordOperationsForm object
 DcsSetInfo getDcsSetInfo()
          Gets the dcsSetInfo attribute of the RecordOperationsForm object
 XMLDocReader getDocReader()
          Gets the docReader attribute of the RecordOperationsForm object
 String getEditRec()
          editRec parameter is used by handleMoveRecord to specify whether control is forwarded back to editor.
 String getRecId()
          Gets the recId attribute of the RecordOperationsForm object
 ResultDoc getResultDoc()
          Gets the resultDoc attribute of the RecordOperationsForm object
 List getSets()
          Gets the sets 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 setCollection(String collection)
          Sets the collection attribute of the RecordOperationsForm object
 void setDcsSetInfo(DcsSetInfo info)
          Sets the dcsSetInfo attribute of the RecordOperationsForm object
 void setDocReader(XMLDocReader docReader)
          Sets the docReader attribute of the RecordOperationsForm object
 void setEditRec(String s)
          Sets the editRec attribute of the RecordOperationsForm object
 void setRecId(String id)
          Sets the recId attribute of the RecordOperationsForm object
 void setResultDoc(ResultDoc resultDoc)
          Sets the resultDoc attribute of the RecordOperationsForm object
 void setSets(List sets)
          Sets the sets attribute of the CollectionServicesForm object
 
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

RecordOperationsForm

public RecordOperationsForm()
Constructor

Method Detail

getResultDoc

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

Returns:
The resultDoc value

setResultDoc

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

Parameters:
resultDoc - The new resultDoc value

getDocReader

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

Returns:
The docReader value

setDocReader

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

Parameters:
docReader - The new docReader 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 RecordOperationsForm object

Parameters:
s - The new editRec value

getSets

public List getSets()
Gets the sets attribute of the CollectionServicesForm object

Returns:
The sets value

setSets

public void setSets(List sets)
Sets the sets attribute of the CollectionServicesForm object

Parameters:
sets - The new sets value

getDcsSetInfo

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

Returns:
The dcsSetInfo value

setDcsSetInfo

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

Parameters:
info - The new dcsSetInfo value

getCollection

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

Returns:
The collection value

setCollection

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

Parameters:
collection - The new collection value

getRecId

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

Returns:
The recId value

setRecId

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

Parameters:
id - The new recId 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