View Javadoc

1   package org.astrogrid.portal.myspace.acting.framework;
2   
3   import java.util.Map;
4   
5   public interface MySpaceHandler {
6     public static final String PARAM_ACTION = "myspace-action";
7     public static final String PARAM_ACTION_HANDLER = "myspace-action-handler";
8     public static final String PARAM_ACTION_ERR_MSG = "myspace-action-error-message";
9     
10    public static String PARAM_SRC = "myspace-src";
11    public static String PARAM_DEST = "myspace-dest";
12    public static String PARAM_FILE = "myspace-file";
13    public static String PARAM_URL = "myspace-url";
14  
15    /***
16     * Does the handler's work and returns a map of name/value pairs.
17     * 
18     * @return map of attributes set during work
19     */
20    public Map execute();
21  }