1
2
3
4
5
6
7 package org.weda.actions;
8
9 import org.weda.action.ActionContainer;
10 import org.weda.action.ActionState;
11 import org.weda.action.impl.AbstractAction;
12 import org.weda.action.impl.ActionStateImpl;
13
14 /**
15 *
16 * @author Mikhail Titov
17 */
18 public class DuplicatePage extends AbstractAction {
19
20 public ActionState getActionState(ActionContainer targetObject)
21 throws Exception
22 {
23 return new ActionStateImpl(true, true);
24 }
25
26 public Object execute(ActionContainer targetObject) throws Exception {
27 return null;
28 }
29
30
31 }