Adds mergekey parameter to search and show
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / ShowCommand.java
index 375f600..3b1cf01 100644 (file)
@@ -92,6 +92,18 @@ public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
     setParameterInState(new CommandParameter("block","=",block));\r
   }\r
   \r
+  public String getBlock() {\r
+    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
     for (String parameterName : parameters.keySet()) {\r
@@ -105,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