DLESE Tools
v1.6.0

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

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

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

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

Author:
ostwald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SchemEditAdminForm()
           
 
Method Summary
 String getDiscussionURL()
          Gets the discussionURL attribute of the SchemEditAdminForm object
 String getEditorConfig()
          Gets the current editor configuration (frames, noframes).
 String getEditorMode()
          Gets the editorMode attribute of the SchemEditAdminForm object (Stand-alone or DCS).
 String getExitPath()
          The exit path determines where control is returned to when the user is done with the admin interface.
 String getFrameworkName()
          Gets the frameworkName attribute of the SchemEditAdminForm object
 PageList getPageList()
          Gets the pageList attribute of the SchemEditAdminForm object
 String getRecordsDir()
          Gets the recordsDir attribute of the SchemEditAdminForm object
 String getRenderer()
          Gets the renderer attribute of the SchemEditAdminForm object
 List getRenderers()
          Gets the AutoForm renderers to populate choices in select object.
 String getSampleRecordFile()
          Gets the sampleRecordFile attribute of the SchemEditAdminForm object
 String getSchemaURI()
          Gets the schemaURI attribute of the SchemEditAdminForm object
 String getWorkingSchemaURI()
          Gets the workingSchemaURI attribute of the SchemEditAdminForm object
 String getXmlFormat()
          Gets the xmlFormat attribute of the SchemEditAdminForm object
 void setDiscussionURL(String s)
          Sets the discussionURL attribute of the SchemEditAdminForm object
 void setEditorConfig(String config)
          Sets the editorConfig attribute of the SchemEditAdminForm object
 void setEditorMode(String editorMode)
          Keeps track of from where the schemedit admin interface was entered.
 void setExitPath(String path)
          Sets the exitPath attribute of the SchemEditAdminForm object
 void setFrameworkName(String s)
          Sets the frameworkName attribute of the SchemEditAdminForm object
 void setPageList(PageList list)
          Sets the pageList attribute of the SchemEditAdminForm object
 void setRecordsDir(String s)
          Sets the recordsDir attribute of the SchemEditAdminForm object
 void setRenderer(String r)
          Sets the renderer attribute of the SchemEditAdminForm object
 void setSampleRecordFile(String s)
          Sets the sampleRecordFile attribute of the SchemEditAdminForm object
 void setSchemaURI(String s)
          Sets the schemaURI attribute of the SchemEditAdminForm object
 void setWorkingSchemaURI(String s)
          Sets the workingSchemaURI attribute of the SchemEditAdminForm object
 void setXmlFormat(String s)
          Sets the xmlFormat attribute of the SchemEditAdminForm object
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Check to make sure the client hasn't exceeded the maximum allowed upload size inside of this validate method.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemEditAdminForm

public SchemEditAdminForm()
Method Detail

getRenderers

public List getRenderers()
Gets the AutoForm renderers to populate choices in select object.

Returns:
The renderers value

getEditorConfig

public String getEditorConfig()
Gets the current editor configuration (frames, noframes).

Returns:
The editorConfig value

setEditorConfig

public void setEditorConfig(String config)
Sets the editorConfig attribute of the SchemEditAdminForm object

Parameters:
config - The new editorConfig value

getRenderer

public String getRenderer()
Gets the renderer attribute of the SchemEditAdminForm object

Returns:
The renderer value

setRenderer

public void setRenderer(String r)
Sets the renderer attribute of the SchemEditAdminForm object

Parameters:
r - The new renderer value

getExitPath

public String getExitPath()
The exit path determines where control is returned to when the user is done with the admin interface. The value for the exit path is determined by the MetaDataFramework

Returns:
The exitPath value

setExitPath

public void setExitPath(String path)
Sets the exitPath attribute of the SchemEditAdminForm object

Parameters:
path - The new exitPath value

setEditorMode

public void setEditorMode(String editorMode)
Keeps track of from where the schemedit admin interface was entered. Necessary because we need to send user back to either the stand-alone editor or the DCS

Parameters:
editorMode - The new editorMode value

getEditorMode

public String getEditorMode()
Gets the editorMode attribute of the SchemEditAdminForm object (Stand-alone or DCS).

Returns:
The editorMode value

getXmlFormat

public String getXmlFormat()
Gets the xmlFormat attribute of the SchemEditAdminForm object

Returns:
The xmlFormat value

setXmlFormat

public void setXmlFormat(String s)
Sets the xmlFormat attribute of the SchemEditAdminForm object

Parameters:
s - The new xmlFormat value

getFrameworkName

public String getFrameworkName()
Gets the frameworkName attribute of the SchemEditAdminForm object

Returns:
The frameworkName value

setFrameworkName

public void setFrameworkName(String s)
Sets the frameworkName attribute of the SchemEditAdminForm object

Parameters:
s - The new frameworkName value

getSampleRecordFile

public String getSampleRecordFile()
Gets the sampleRecordFile attribute of the SchemEditAdminForm object

Returns:
The sampleRecordFile value

setSampleRecordFile

public void setSampleRecordFile(String s)
Sets the sampleRecordFile attribute of the SchemEditAdminForm object

Parameters:
s - The new sampleRecordFile value

getSchemaURI

public String getSchemaURI()
Gets the schemaURI attribute of the SchemEditAdminForm object

Returns:
The schemaURI value

setSchemaURI

public void setSchemaURI(String s)
Sets the schemaURI attribute of the SchemEditAdminForm object

Parameters:
s - The new schemaURI value

getWorkingSchemaURI

public String getWorkingSchemaURI()
Gets the workingSchemaURI attribute of the SchemEditAdminForm object

Returns:
The workingSchemaURI value

setWorkingSchemaURI

public void setWorkingSchemaURI(String s)
Sets the workingSchemaURI attribute of the SchemEditAdminForm object

Parameters:
s - The new workingSchemaURI value

getDiscussionURL

public String getDiscussionURL()
Gets the discussionURL attribute of the SchemEditAdminForm object

Returns:
The discussionURL value

setDiscussionURL

public void setDiscussionURL(String s)
Sets the discussionURL attribute of the SchemEditAdminForm object

Parameters:
s - The new discussionURL value

getRecordsDir

public String getRecordsDir()
Gets the recordsDir attribute of the SchemEditAdminForm object

Returns:
The recordsDir value

setRecordsDir

public void setRecordsDir(String s)
Sets the recordsDir attribute of the SchemEditAdminForm object

Parameters:
s - The new recordsDir value

getPageList

public PageList getPageList()
Gets the pageList attribute of the SchemEditAdminForm object

Returns:
The pageList value

setPageList

public void setPageList(PageList list)
Sets the pageList attribute of the SchemEditAdminForm object

Parameters:
list - The new pageList value

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      HttpServletRequest request)
Check to make sure the client hasn't exceeded the maximum allowed upload size inside of this validate method.

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - Description of the Parameter
request - Description of the Parameter
Returns:
Description of the Return Value

DLESE Tools
v1.6.0