org.scrashmeow.ojb.console.ui.action
Class RepositoryBuilderAction
java.lang.Object
|
+--org.apache.struts.action.Action
|
+--org.apache.struts.actions.DispatchAction
|
+--org.apache.struts.actions.LookupDispatchAction
|
+--org.scrashmeow.ojb.console.framework.OjbcLookupDispatchAction
|
+--org.scrashmeow.ojb.console.framework.ViewerAction
|
+--org.scrashmeow.ojb.console.framework.CommittingFormAction
|
+--org.scrashmeow.ojb.console.ui.action.RepositoryBuilderAction
- All Implemented Interfaces:
- ApplicationServiceAware, CancelActionAware, CommitActionAware, java.io.Serializable, ViewerActionAware
- public class RepositoryBuilderAction
- extends CommittingFormAction
- Author:
- alexander
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.actions.LookupDispatchAction |
keyMethodMap, localeMap |
Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, log, messages, methods, types |
Fields inherited from class org.apache.struts.action.Action |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
Method Summary |
org.apache.struts.action.ActionForward |
cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
The dispatch method that is triggered when a user wishes to cancel. |
org.apache.struts.action.ActionForward |
commit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
The dispatch method that is triggered when a user wishes to commit. |
org.apache.struts.action.ActionForward |
display(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
The dispatch method that is triggered when a user wishes to display the data, typically the default dispatch action behavior. |
org.apache.struts.action.ActionForward |
getCancelForward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request)
Returns the forward for the cancel dispatch |
org.apache.struts.action.ActionForward |
getCommitForward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request)
Returns the forward for the commit dispatch |
org.apache.struts.action.ActionForward |
getDisplayForward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request)
Returns the forward for the display dispatch |
protected java.util.Map |
getKeyMethodMap()
Defines the dispatch key map |
org.apache.struts.action.ActionForward |
start(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
|
Methods inherited from class org.apache.struts.actions.LookupDispatchAction |
execute |
Methods inherited from class org.apache.struts.actions.DispatchAction |
dispatchMethod, getMethod, unspecified |
Methods inherited from class org.apache.struts.action.Action |
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryBuilderAction
public RepositoryBuilderAction()
getKeyMethodMap
protected java.util.Map getKeyMethodMap()
- Description copied from class:
CommittingFormAction
- Defines the dispatch key map
- Overrides:
getKeyMethodMap
in class CommittingFormAction
- Returns:
- @add-javadoc!!!
- See Also:
LookupDispatchAction.getKeyMethodMap()
cancel
public org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
- Description copied from class:
CommittingFormAction
- The dispatch method that is triggered when a user wishes to cancel.
- Specified by:
cancel
in interface CancelActionAware
- Overrides:
cancel
in class CommittingFormAction
- Parameters:
mapping
- the ActionMappingform
- the ActionFormrequest
- the HttpServletRequestresponse
- the HttpServletResponse
- Returns:
- the ActionForward
- Throws:
java.lang.Exception
- when an error occurs.
start
public org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
java.lang.Exception
getCancelForward
public org.apache.struts.action.ActionForward getCancelForward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request)
throws java.lang.Exception
- Description copied from class:
CommittingFormAction
- Returns the forward for the cancel dispatch
- Specified by:
getCancelForward
in interface CancelActionAware
- Overrides:
getCancelForward
in class CommittingFormAction
- Parameters:
mapping
- the ActionMappingform
- the ActionFormrequest
- the HttpServletRequest
- Returns:
- the ActionForward
- Throws:
java.lang.Exception
- when an error occurs.
getCommitForward
public org.apache.struts.action.ActionForward getCommitForward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request)
throws java.lang.Exception
- Description copied from class:
CommittingFormAction
- Returns the forward for the commit dispatch
- Specified by:
getCommitForward
in interface CommitActionAware
- Overrides:
getCommitForward
in class CommittingFormAction
- Parameters:
mapping
- the ActionMappingform
- the ActionFormrequest
- the HttpServletRequest
- Returns:
- the ActionForward
- Throws:
java.lang.Exception
- when an error occurs.
commit
public org.apache.struts.action.ActionForward commit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
- Description copied from interface:
CommitActionAware
- The dispatch method that is triggered when a user wishes to commit.
- Specified by:
commit
in interface CommitActionAware
- Overrides:
commit
in class CommittingFormAction
- Parameters:
mapping
- the ActionMappingform
- the ActionFormrequest
- the HttpServletRequestresponse
- the HttpServletResponse
- Returns:
- the ActionForward
- Throws:
java.lang.Exception
- when an error occurs.
display
public org.apache.struts.action.ActionForward display(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
- Description copied from interface:
ViewerActionAware
- The dispatch method that is triggered when a user wishes to display the data, typically the default dispatch action behavior.
- Specified by:
display
in interface ViewerActionAware
- Overrides:
display
in class ViewerAction
- Parameters:
mapping
- the ActionMappingform
- the ActionFormrequest
- the HttpServletRequestresponse
- the HttpServletResponse
- Returns:
- the ActionForward
- Throws:
java.lang.Exception
- when an error occurs.
getDisplayForward
public org.apache.struts.action.ActionForward getDisplayForward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request)
throws java.lang.Exception
- Description copied from interface:
ViewerActionAware
- Returns the forward for the display dispatch
- Specified by:
getDisplayForward
in interface ViewerActionAware
- Overrides:
getDisplayForward
in class ViewerAction
- Parameters:
mapping
- the ActionMappingform
- the ActionFormrequest
- the HttpServletRequest
- Returns:
- the ActionForward
- Throws:
java.lang.Exception
- when an error occurs.
Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.