public final class FrameworkConfigAction extends StandAloneSchemEditAction
$Id: FrameworkConfigAction.java,v 1.6 2009/03/20 23:33:55 jweather Exp $
recordsDir
firstPage, homePage, xmlFormat
accessManager, 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, saveRecord
attachNewElement, getEditorMapping, getMetaDataFramework, getValidator, handleDeleteElement, handleExitCommand, handleGuardedExit, handleMissingLockException, handleTimedOutGuardedExit, isDocDirty, prtlnErr, uniqueUrlCheck, uniqueValueCheck
getMetaDataFramework, getRequiredContextAttributeValue, getSessionBean, getSessionUser, getSessionUser, getSessionUserName, initializeFromContext
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected java.lang.String getXmlFormat()
StandAloneSchemEditAction
getXmlFormat
in class StandAloneSchemEditAction
protected java.io.File getRecordsDir()
StandAloneSchemEditAction
getRecordsDir
in class StandAloneSchemEditAction
public 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 StandAloneSchemEditAction
mapping
- 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
StandAloneSchemEditAction
getFileToEdit
in class StandAloneSchemEditAction
mapping
- 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
StandAloneSchemEditAction
putRecord
in class StandAloneSchemEditAction
mapping
- 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
StandAloneSchemEditAction
handleMissingCommand
in class StandAloneSchemEditAction
mapping
- 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)
StandAloneSchemEditAction
prtln
in class StandAloneSchemEditAction
s
- The String to print.