KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > action > ProcessCommandAction


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under GPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portlet.forums.action;
12
13 import org.jboss.portlet.forums.commands.post.ForumCommand;
14
15 /**
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.1.1.1 $
18  */

19 public class ProcessCommandAction
20    extends Action
21 {
22    private final ForumCommand command;
23
24    /**
25     * Creates a new {@link ProcessCommandAction} object.
26     *
27     * @param command DOCUMENT_ME
28     */

29    public ProcessCommandAction(ForumCommand command)
30    {
31       this.command = command;
32    }
33
34    /**
35     * DOCUMENT_ME
36     *
37     * @return DOCUMENT_ME
38     */

39    public ForumCommand getCommand()
40    {
41       return command;
42    }
43 }
Popular Tags