01: /**
02: * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a>
03: * @version $Id: DefaultPortletAction.java 6385 2007-10-25 14:02:26Z wehrens $
04: */package org.gridsphere.portletcontainer;
05:
06: import java.io.Serializable;
07:
08: /**
09: * The <code>DefaultPortletAction</code> is a portlet action with default parameters.
10: * You can use this portlet action to pass parameters in your action or create your own portlet action.
11: * This default implementation demonstrates how to implement it.
12: */
13: public final class DefaultPortletAction extends DefaultPortletPhase
14: implements Serializable {
15:
16: public static final String DEFAULT_PORTLET_ACTION = "gs_action";
17:
18: /**
19: * Constructs an instance of DefaultPortletAction with the provided name
20: *
21: * @param name the name of this action
22: */
23: public DefaultPortletAction(String name) {
24: super (name);
25: }
26:
27: public String toString() {
28: return super.toString(DEFAULT_PORTLET_ACTION);
29: }
30: }
|