KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > pageflow > handler > ActionForwardHandler


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Header:$
17  */

18 package org.apache.beehive.netui.pageflow.handler;
19
20 import org.apache.struts.action.ActionForward;
21 import org.apache.struts.action.ActionMapping;
22 import org.apache.struts.action.ActionForm;
23 import org.apache.struts.config.ModuleConfig;
24 import org.apache.beehive.netui.pageflow.PreviousPageInfo;
25 import org.apache.beehive.netui.pageflow.PageFlowController;
26 import org.apache.beehive.netui.pageflow.Forward;
27 import org.apache.beehive.netui.pageflow.PageFlowStack;
28 import org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor;
29
30 /**
31  * Handler for action forward processing.
32  */

33 public interface ActionForwardHandler
34         extends Handler
35 {
36     ActionForward doForward( FlowControllerHandlerContext context, ActionForward fwd, ActionMapping mapping,
37                              String JavaDoc actionName, ModuleConfig altModuleConfig, ActionForm form );
38
39     ActionForward doAutoViewRender( FlowControllerHandlerContext context, ActionMapping mapping, ActionForm form );
40
41     ActionForward doReturnToPage( FlowControllerHandlerContext context, PreviousPageInfo prevPageInfo,
42                                   PageFlowController currentPageFlow, ActionForm currentForm,
43                                   String JavaDoc actionName, Forward pageFlowFwd );
44
45     ActionForward doReturnToAction( FlowControllerHandlerContext context, String JavaDoc actionName, Forward pageFlowFwd );
46
47     ActionForward doNestingReturn( FlowControllerHandlerContext context, Forward pageFlowFwd,
48                                    ActionMapping mapping, ActionForm form );
49
50     ActionForward handleInterceptorReturn( FlowControllerHandlerContext context, PageFlowController poppedPageFlow,
51                                            PageFlowStack.PushedPageFlow pushedPageFlowWrapper, String JavaDoc returnAction,
52                                            ActionMapping actionMapping, ActionForm form, ActionInterceptor interceptor );
53 }
54
Popular Tags