Class SchemEditAdminForm
java.lang.Object
org.apache.struts.action.ActionForm
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:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the discussionURL attribute of the SchemEditAdminForm objectGets the current editor configuration (frames, noframes).Gets the editorMode attribute of the SchemEditAdminForm object (Stand-alone or DCS).The exit path determines where control is returned to when the user is done with the admin interface.Gets the frameworkName attribute of the SchemEditAdminForm objectGets the pageList attribute of the SchemEditAdminForm objectGets the recordsDir attribute of the SchemEditAdminForm objectGets the renderer attribute of the SchemEditAdminForm objectGets the AutoForm renderers to populate choices in select object.Gets the sampleRecordFile attribute of the SchemEditAdminForm objectGets the schemaURI attribute of the SchemEditAdminForm objectGets the workingSchemaURI attribute of the SchemEditAdminForm objectGets the xmlFormat attribute of the SchemEditAdminForm objectvoidSets the discussionURL attribute of the SchemEditAdminForm objectvoidsetEditorConfig(String config) Sets the editorConfig attribute of the SchemEditAdminForm objectvoidsetEditorMode(String editorMode) Keeps track of from where the schemedit admin interface was entered.voidsetExitPath(String path) Sets the exitPath attribute of the SchemEditAdminForm objectvoidSets the frameworkName attribute of the SchemEditAdminForm objectvoidsetPageList(PageList list) Sets the pageList attribute of the SchemEditAdminForm objectvoidSets the recordsDir attribute of the SchemEditAdminForm objectvoidSets the renderer attribute of the SchemEditAdminForm objectvoidSets the sampleRecordFile attribute of the SchemEditAdminForm objectvoidSets the schemaURI attribute of the SchemEditAdminForm objectvoidSets the workingSchemaURI attribute of the SchemEditAdminForm objectvoidSets the xmlFormat attribute of the SchemEditAdminForm objectorg.apache.struts.action.ActionErrorsvalidate(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
-
Constructor Details
-
SchemEditAdminForm
public SchemEditAdminForm()
-
-
Method Details
-
getRenderers
Gets the AutoForm renderers to populate choices in select object.- Returns:
- The renderers value
-
getEditorConfig
Gets the current editor configuration (frames, noframes).- Returns:
- The editorConfig value
-
setEditorConfig
Sets the editorConfig attribute of the SchemEditAdminForm object- Parameters:
config- The new editorConfig value
-
getRenderer
Gets the renderer attribute of the SchemEditAdminForm object- Returns:
- The renderer value
-
setRenderer
Sets the renderer attribute of the SchemEditAdminForm object- Parameters:
r- The new renderer value
-
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 theMetaDataFramework- Returns:
- The exitPath value
-
setExitPath
Sets the exitPath attribute of the SchemEditAdminForm object- Parameters:
path- The new exitPath value
-
setEditorMode
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
Gets the editorMode attribute of the SchemEditAdminForm object (Stand-alone or DCS).- Returns:
- The editorMode value
-
getXmlFormat
Gets the xmlFormat attribute of the SchemEditAdminForm object- Returns:
- The xmlFormat value
-
setXmlFormat
Sets the xmlFormat attribute of the SchemEditAdminForm object- Parameters:
s- The new xmlFormat value
-
getFrameworkName
Gets the frameworkName attribute of the SchemEditAdminForm object- Returns:
- The frameworkName value
-
setFrameworkName
Sets the frameworkName attribute of the SchemEditAdminForm object- Parameters:
s- The new frameworkName value
-
getSampleRecordFile
Gets the sampleRecordFile attribute of the SchemEditAdminForm object- Returns:
- The sampleRecordFile value
-
setSampleRecordFile
Sets the sampleRecordFile attribute of the SchemEditAdminForm object- Parameters:
s- The new sampleRecordFile value
-
getSchemaURI
Gets the schemaURI attribute of the SchemEditAdminForm object- Returns:
- The schemaURI value
-
setSchemaURI
Sets the schemaURI attribute of the SchemEditAdminForm object- Parameters:
s- The new schemaURI value
-
getWorkingSchemaURI
Gets the workingSchemaURI attribute of the SchemEditAdminForm object- Returns:
- The workingSchemaURI value
-
setWorkingSchemaURI
Sets the workingSchemaURI attribute of the SchemEditAdminForm object- Parameters:
s- The new workingSchemaURI value
-
getDiscussionURL
Gets the discussionURL attribute of the SchemEditAdminForm object- Returns:
- The discussionURL value
-
setDiscussionURL
Sets the discussionURL attribute of the SchemEditAdminForm object- Parameters:
s- The new discussionURL value
-
getRecordsDir
Gets the recordsDir attribute of the SchemEditAdminForm object- Returns:
- The recordsDir value
-
setRecordsDir
Sets the recordsDir attribute of the SchemEditAdminForm object- Parameters:
s- The new recordsDir value
-
getPageList
Gets the pageList attribute of the SchemEditAdminForm object- Returns:
- The pageList value
-
setPageList
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:
validatein classorg.apache.struts.action.ActionForm- Parameters:
mapping- Description of the Parameterrequest- Description of the Parameter- Returns:
- Description of the Return Value
-