From 2d0e3e85c08c0e25b077e6a140019ad3f6e57505 Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Tue, 30 Apr 2013 13:24:37 -0400 Subject: [PATCH] Adds support for show-block --- .../java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java | 5 +++++ 1 file changed, 5 insertions(+) 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()) { -- 1.7.10.4