Adds mergekey parameter to search and show
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / ShowCommand.java
index 90e3cd0..3b1cf01 100644 (file)
@@ -96,6 +96,13 @@ public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
     return getParameterValue("block");\r
   }\r
   \r
+  public void setMergekey (String mergekey) {\r
+    setParameter(new CommandParameter("mergekey","=",mergekey));\r
+  }\r
+  \r
+  public String getMergekey () {\r
+    return getParameterValue("mergekey");\r
+  }\r
   \r
   public ShowCommand copy () {\r
     ShowCommand newCommand = new ShowCommand(stateMgr);\r
@@ -110,4 +117,9 @@ public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
     return this;\r
   }\r
 \r
+  @Override\r
+  public boolean spOnly() {\r
+    return false;\r
+  }\r
+\r
 }\r