public class DCSSchemEditAction extends AbstractSchemEditAction
Modifier and Type | Field and Description |
---|---|
protected static boolean |
debug
Description of the Field
|
firstPage, homePage, xmlFormat
accessManager, collectionRegistry, dcsDataManager, frameworkRegistry, ndrServiceEnabled, repositoryManager, repositoryService, requiredRole, sessionRegistry, userManager
Constructor and Description |
---|
DCSSchemEditAction() |
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)
Description of the Method
|
protected java.lang.String |
getXmlFormat()
Gets the xmlFormat attribute of the DCSSchemEditAction object
|
protected org.apache.struts.action.ActionForward |
handleCancelRequest(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
NOT YET DOCUMENTED
|
protected org.apache.struts.action.ActionForward |
handleDeleteElement(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
SchemEditValidator validator)
Wrap handleDeleteElement so we can update suggestion service helper in the case
that the standards field has been deleted.
|
protected org.apache.struts.action.ActionForward |
handleEditRequest(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Description of the Method
|
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 are an error for the DCSSchemEditAction class
|
protected org.apache.struts.action.ActionForward |
handleNewRecordRequest(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Placeholder method to overide that of AbstractSchemEditAction.
|
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)
Handles requests containing a "command" parameter that was not handled in
the superclass.
|
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)
Description of the Method
|
protected CATServiceHelper |
initSuggestionServiceHelper(SchemEditForm sef)
Initializes the suggestionServiceHelper for this framework, or returns
|
protected void |
prtln(java.lang.String s)
Print a line to standard out.
|
protected void |
prtlnErr(java.lang.String s)
Description of the Method
|
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 in the case of a stand-alone
metadata editor, or to the repository manager in the case of the integrated
metadata editor.
|
attachNewElement, getEditorMapping, getMetaDataFramework, getValidator, handleExitCommand, handleGuardedExit, handleMissingLockException, handleTimedOutGuardedExit, isDocDirty, 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()
getXmlFormat
in class AbstractSchemEditAction
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 AbstractSchemEditAction
mapping
- the ActionMappingform
- the ActionFormrequest
- the Requestresponse
- the Responsejava.io.IOException
- Description of the Exceptionjavax.servlet.ServletException
- Description of the Exceptionprotected 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 AbstractSchemEditAction
mapping
- the ActionMappingform
- the ActionFormrequest
- the Requestresponse
- the Responsejavax.servlet.ServletException
- Description of the ExceptionMissingLockException
- if a lock to the record being edited is not
held.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) throws javax.servlet.ServletException
handleMissingCommand
in class AbstractSchemEditAction
mapping
- the ActionMappingform
- the ActionFormrequest
- the Requestresponse
- the Responsejavax.servlet.ServletException
- Description of the Exceptionprotected 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 AbstractSchemEditAction
mapping
- the ActionMappingform
- the ActionFormrequest
- the Requestresponse
- the Responsevalidator
- Description of the Parameterjavax.servlet.ServletException
- Description of the ExceptionMissingLockException
- Description of the Exceptionprotected org.apache.struts.action.ActionForward handleDeleteElement(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, SchemEditValidator validator) throws javax.servlet.ServletException
handleDeleteElement
in class AbstractSchemEditAction
mapping
- the actionMappingform
- the actionFormrequest
- the requestvalidator
- NOT YET DOCUMENTEDjavax.servlet.ServletException
- Description of the Exceptionprotected org.apache.struts.action.ActionForward handleCancelRequest(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
handleCancelRequest
in class AbstractSchemEditAction
mapping
- the ActionMappingform
- the ActionFormrequest
- the Requestresponse
- the Responsejavax.servlet.ServletException
- NOT YET DOCUMENTEDprotected org.apache.struts.action.ActionForward handleEditRequest(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
handleEditRequest
in class AbstractSchemEditAction
mapping
- the ActionMappingform
- the ActionFormrequest
- the Requestresponse
- the Responsejavax.servlet.ServletException
- Description of the Exceptionprotected org.apache.struts.action.ActionForward handleNewRecordRequest(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
handleNewRecordRequest
in class AbstractSchemEditAction
mapping
- the ActionMappingform
- the ActionFormrequest
- the Requestresponse
- the Responsejavax.servlet.ServletException
- 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, RecordUpdateException
putRecord
in class AbstractSchemEditAction
mapping
- Description of the Parameterform
- Description of the Parameterrequest
- Description of the Parameterjava.lang.Exception
- if save operation is unsuccessfulRecordUpdateException
- Description of the Exceptionprotected CATServiceHelper initSuggestionServiceHelper(SchemEditForm sef) throws java.lang.Exception
sef
- The ActionFormjava.lang.Exception
- if a SuggestServiceHelper cannot be initializedprotected void prtln(java.lang.String s)
prtln
in class AbstractSchemEditAction
s
- The String to print.protected void prtlnErr(java.lang.String s)
prtlnErr
in class AbstractSchemEditAction
s
- Description of the Parameter