1 package ch.odi.justblog.command;
2
3 import ch.odi.justblog.api.Entry;
4
5 /***
6 * Clears the current entry in the editor and starts a new one.
7 *
8 * @author oglueck
9 */
10 public class ClearEntry implements Command {
11
12 /***
13 *
14 */
15 public ClearEntry() {
16 }
17
18 public void execute(ISession session) throws CommandException {
19 session.setEntry(new Entry());
20 }
21
22 }