org.scrashmeow.ojb.console.framework.dispatch
Interface CommitActionAware
- All Superinterfaces:
- CancelActionAware, java.io.Serializable, ViewerActionAware
- All Known Implementing Classes:
- CommittingFormAction, RepositoryEditorAction
- public interface CommitActionAware
- extends ViewerActionAware, CancelActionAware
Defines the dispatch method for commiting an activity.
- Author:
- Alexander Bibighaus
Field Summary |
static java.lang.String |
COMMIT_METHOD
The method name for the commit dispatch |
Method Summary |
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 |
getCommitForward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest request)
Returns the forward for the commit dispatch |
COMMIT_METHOD
public static final java.lang.String COMMIT_METHOD
- The method name for the commit dispatch
- See Also:
- Constant Field Values
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
- The dispatch method that is triggered when a user wishes to commit.
- Parameters:
mapping
- the ActionMappingform
- the ActionFormrequest
- the HttpServletRequestresponse
- the HttpServletResponse
- 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
- Returns the forward for the commit dispatch
- 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.