1 package jalview.ws.params;
3 import java.io.IOException;
6 public interface ParamDatastoreI
9 public List<WsParamSetI> getPresets();
11 public WsParamSetI getPreset(String name);
13 public List<ArgumentI> getServiceParameters();
15 public boolean presetExists(String name);
17 public void deletePreset(String name);
20 * writes or overwrites the record for a modifiable WsParamSetI entry in the datastore.
24 * may throw an illegal argument RunTimeException if the presetName overwrites an existing, unmodifiable preset.
26 public void storePreset(String presetName, String text,
27 List<ArgumentI> jobParams);
29 public boolean readParamSet(WsParamSetI wsp, java.io.Reader reader)
32 public boolean writeParamSet(WsParamSetI wsp, java.io.Writer writer)