1 10 11 package org.mmbase.bridge; 12 13 import java.util.*; 14 import org.mmbase.util.functions.Function; 15 import org.mmbase.util.functions.Parameters; 16 import javax.servlet.*; 17 18 26 public interface Module { 27 28 32 public CloudContext getCloudContext(); 33 34 38 public String getName(); 39 40 44 public String getDescription(); 45 46 52 public String getProperty(String name); 53 54 59 public Map getProperties(); 60 61 67 public void process(String command, Object parameter); 68 69 76 public void process(String command, Object parameter, Map auxparameters); 77 78 87 public void process(String command, Object parameter, Map auxparameters, ServletRequest req, ServletResponse resp); 88 89 95 public String getInfo(String command); 96 97 105 public String getInfo(String command, ServletRequest req, ServletResponse resp); 106 107 115 public NodeList getList(String command, Map parameters); 116 117 127 public NodeList getList(String command, Map parameters, ServletRequest req, ServletResponse resp); 128 129 135 public Collection getFunctions(); 136 137 148 public Function getFunction(String functionName); 149 150 162 public Parameters createParameters(String functionName); 163 164 173 public FieldValue getFunctionValue(String functionName, List parameters); 174 175 } 176 | Popular Tags |