Adds windowid parameter to applicable commands
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / sp / RecordCommandSp.java
index 0b40381..a134733 100644 (file)
@@ -48,6 +48,21 @@ public class RecordCommandSp  implements Serializable, ServiceProxyCommand {
   public String getAcefilter () {\r
     return command.getParameterValue("acefilter");\r
   }\r
+  \r
+  /**\r
+   * Sets the <code>windowid</code> parameter. See Service Proxy documentation for details.\r
+   */  \r
+  public void setWindowid (String windowid) {\r
+    command.setParameterInState(new CommandParameter("windowid","=",windowid));\r
+  }\r
+  \r
+  /** \r
+   * Returns the <code>windowid</code> parameter value.\r
+   */\r
+  public String getWindowid () {\r
+    return command.getParameterValue("windowid");\r
+  }\r
+\r
 \r
   @Override\r
   public boolean spOnly() {\r