1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.portals.bridges.struts;
17
18 import java.io.Serializable;
19
20 import org.apache.struts.action.ActionForm;
21 import org.apache.struts.action.ActionMessages;
22
23 /***
24 * StrutsPortletRenderContext
25 *
26 * @author <a href="mailto:ate@douma.nu">Ate Douma</a>
27 * @version $Id: StrutsPortletRenderContext.java 187139 2004-07-30 00:16:41 +0200 (Fri, 30 Jul 2004) ate $
28 */
29 public class StrutsPortletRenderContext implements Serializable
30 {
31 private String path;
32 private boolean dispatchNamed;
33 private ActionForm actionForm;
34 private boolean requestCancelled;
35 private ActionMessages messages;
36 private ActionMessages errors;
37 public String getPath()
38 {
39 return path;
40 }
41 public void setPath(String path)
42 {
43 this.path = path;
44 }
45 public boolean getDispatchNamed()
46 {
47 return dispatchNamed;
48 }
49 public void setDispatchNamed(boolean namedPath)
50 {
51 this.dispatchNamed = namedPath;
52 }
53 public ActionForm getActionForm()
54 {
55 return actionForm;
56 }
57 public void setActionForm(ActionForm actionForm)
58 {
59 this.actionForm = actionForm;
60 }
61 public boolean isRequestCancelled()
62 {
63 return requestCancelled;
64 }
65 public void setRequestCancelled(boolean requestCancelled)
66 {
67 this.requestCancelled = requestCancelled;
68 }
69 public ActionMessages getMessages()
70 {
71 return messages;
72 }
73 public void setMessages(ActionMessages messages)
74 {
75 this.messages = messages;
76 }
77 public ActionMessages getErrors()
78 {
79 return errors;
80 }
81 public void setErrors(ActionMessages errors)
82 {
83 this.errors = errors;
84 }
85 }