public final class CollectionConfigAction extends StandAloneSchemEditAction
recordsDirfirstPage, homePage, xmlFormataccessManager, collectionRegistry, dcsDataManager, frameworkRegistry, ndrServiceEnabled, repositoryManager, repositoryService, requiredRole, sessionRegistry, userManager| Constructor and Description |
|---|
CollectionConfigAction() |
| Modifier and Type | Method and Description |
|---|---|
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 CollectionConfigAction object
|
protected java.io.File |
getRecordsDir()
Gets the recordsDir attribute of the CollectionConfigAction object
|
protected SchemEditValidator |
getValidator(org.apache.struts.action.ActionForm form,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Gets the validator attribute of the CollectionConfigAction object
|
protected java.lang.String |
getXmlFormat()
Gets the xmlFormat attribute of the CollectionConfigAction object
|
protected org.apache.struts.action.ActionForward |
handleOtherCommands(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
handle commands specific to this controller, call the superclasses
handleOtherCommands method if a command is not recognized
|
protected org.apache.struts.action.ActionForward |
handleSaveRequest(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SchemEditValidator validator)
Write the saved config file to disk, and update NDR if this collection is
registered with the NDR.
|
protected void |
prtln(java.lang.String s)
Print a line to standard out.
|
protected void |
prtlnErr(java.lang.String s)
NOT YET DOCUMENTED
|
execute, getRemoteRecord, handleCancelRequest, handleChangeIdRequest, handleEditRequest, handleMissingCommand, handleNewRecordRequest, putRecord, saveRecordattachNewElement, getEditorMapping, getMetaDataFramework, handleDeleteElement, handleExitCommand, handleGuardedExit, handleMissingLockException, handleTimedOutGuardedExit, isDocDirty, 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 SchemEditValidator getValidator(org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
getValidator in class AbstractSchemEditActionform - Description of the Parametermapping - Description of the Parameterrequest - Description of the Parameterprotected java.io.File getRecordsDir()
getRecordsDir in class StandAloneSchemEditActionprotected java.lang.String getXmlFormat()
getXmlFormat in class StandAloneSchemEditActionprotected org.apache.struts.action.ActionForward handleSaveRequest(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SchemEditValidator validator)
throws javax.servlet.ServletException,
MissingLockException
handleSaveRequest in class StandAloneSchemEditActionmapping - the ActionMappingform - the ActionFormrequest - the Requestresponse - the Responsevalidator - the special validator for configsjavax.servlet.ServletException - Description of the ExceptionMissingLockException - if this config is currently being edited
by someone elseprotected org.apache.struts.action.ActionForward handleOtherCommands(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,
MissingLockException
handleOtherCommands in class StandAloneSchemEditActionmapping - Description of the Parameterform - Description of the Parameterrequest - Description of the Parameterresponse - Description of the Parameterjavax.servlet.ServletException - Description of the ExceptionMissingLockException - 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
getFileToEdit 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 prtln(java.lang.String s)
prtln in class StandAloneSchemEditActions - The String to print.protected void prtlnErr(java.lang.String s)
prtlnErr in class AbstractSchemEditActions - NOT YET DOCUMENTED