Adds support for show-block
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Tue, 30 Apr 2013 17:24:37 +0000 (13:24 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Tue, 30 Apr 2013 17:24:37 +0000 (13:24 -0400)
src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java

index 375f600..90e3cd0 100644 (file)
@@ -92,6 +92,11 @@ 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
+  \r
   public ShowCommand copy () {\r
     ShowCommand newCommand = new ShowCommand(stateMgr);\r
     for (String parameterName : parameters.keySet()) {\r