public final class FrameworkConfigAction extends StandAloneSchemEditAction
$Id: FrameworkConfigAction.java,v 1.6 2009/03/20 23:33:55 jweather Exp $
recordsDirfirstPage, homePage, xmlFormataccessManager, collectionRegistry, dcsDataManager, frameworkRegistry, ndrServiceEnabled, repositoryManager, repositoryService, requiredRole, sessionRegistry, userManager| Constructor and Description |
|---|
FrameworkConfigAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Place the name of the edited framework in the request before calling super.execute.
|
protected java.io.File |
getFileToEdit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
SchemaHelper schemaHelper)
Gets the fileToEdit attribute of the StandAloneSchemEditAction object
|
protected java.io.File |
getRecordsDir()
Gets the recordsDir attribute of the StandAloneSchemEditAction object
|
protected java.lang.String |
getXmlFormat()
Gets the xmlFormat attribute of the StandAloneSchemEditAction object
|
protected org.apache.struts.action.ActionForward |
handleMissingCommand(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Requests without a command forward control to the home page for this
framework.
|
protected void |
prtln(java.lang.String s)
Print a line to standard out.
|
protected void |
putRecord(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request)
Saves a metadata record either to disk
|
getRemoteRecord, handleCancelRequest, handleChangeIdRequest, handleEditRequest, handleNewRecordRequest, handleOtherCommands, handleSaveRequest, saveRecordattachNewElement, getEditorMapping, getMetaDataFramework, getValidator, handleDeleteElement, handleExitCommand, handleGuardedExit, handleMissingLockException, handleTimedOutGuardedExit, isDocDirty, prtlnErr, uniqueUrlCheck, uniqueValueCheckgetMetaDataFramework, getRequiredContextAttributeValue, getSessionBean, getSessionUser, getSessionUser, getSessionUserName, initializeFromContextaddErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected java.lang.String getXmlFormat()
StandAloneSchemEditActiongetXmlFormat in class StandAloneSchemEditActionprotected java.io.File getRecordsDir()
StandAloneSchemEditActiongetRecordsDir in class StandAloneSchemEditActionpublic org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
execute in class StandAloneSchemEditActionmapping - Description of the Parameterform - Description of the Parameterrequest - Description of the Parameterresponse - Description of the Parameterjava.io.IOException - Description of the Exceptionjavax.servlet.ServletException - Description of the Exceptionprotected java.io.File getFileToEdit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
SchemaHelper schemaHelper)
throws java.lang.Exception
StandAloneSchemEditActiongetFileToEdit in class StandAloneSchemEditActionmapping - Description of the Parameterform - Description of the Parameterrequest - Description of the ParameterschemaHelper - Description of the Parameterjava.lang.Exception - Description of the Exceptionprotected void putRecord(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
StandAloneSchemEditActionputRecord in class StandAloneSchemEditActionmapping - Description of the Parameterform - Description of the Parameterrequest - Description of the Parameterjava.lang.Exception - if save operation is unsuccessfulprotected org.apache.struts.action.ActionForward handleMissingCommand(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException
StandAloneSchemEditActionhandleMissingCommand in class StandAloneSchemEditActionmapping - Description of the Parameterform - Description of the Parameterrequest - Description of the Parameterresponse - Description of the Parameterjavax.servlet.ServletException - Description of the Exceptionprotected void prtln(java.lang.String s)
StandAloneSchemEditActionprtln in class StandAloneSchemEditActions - The String to print.