org.jbrain.qlink.cmd.action
Class PostingItem
java.lang.Object
|
+--org.jbrain.qlink.cmd.AbstractCommand
|
+--org.jbrain.qlink.cmd.action.AbstractAction
|
+--org.jbrain.qlink.cmd.action.PostingItem
- All Implemented Interfaces:
- Action, Command
- public class PostingItem
- extends AbstractAction
Constructor Summary |
PostingItem(int id,
java.lang.String title,
java.lang.String author,
int replies,
java.util.Date date,
int type)
|
PostingItem(java.lang.String title,
int type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEXT
public static final int NEXT
- See Also:
- Constant Field Values
PAUSE
public static final int PAUSE
- See Also:
- Constant Field Values
LAST
public static final int LAST
- See Also:
- Constant Field Values
PostingItem
public PostingItem(int id,
java.lang.String title,
java.lang.String author,
int replies,
java.util.Date date,
int type)
- Parameters:
id
- title
- author
- replies
- date
-
PostingItem
public PostingItem(java.lang.String title,
int type)
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interface Command
- Overrides:
getBytes
in class AbstractAction