From: Niels Erik G. Nielsen Date: Tue, 30 Apr 2013 17:24:37 +0000 (-0400) Subject: Adds support for show-block X-Git-Tag: v0.0.7~134 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=2d0e3e85c08c0e25b077e6a140019ad3f6e57505;p=mkjsf-moved-to-github.git Adds support for show-block --- diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java index 375f600..90e3cd0 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java @@ -92,6 +92,11 @@ public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand { setParameterInState(new CommandParameter("block","=",block)); } + public String getBlock() { + return getParameterValue("block"); + } + + public ShowCommand copy () { ShowCommand newCommand = new ShowCommand(stateMgr); for (String parameterName : parameters.keySet()) {