From 45227f6391b905193adcf192a0b20328401ff95f Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Mon, 27 May 2013 20:55:49 -0400 Subject: [PATCH] Adds rank parameter to show command --- .../com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java | 9 +++++++++ 1 file changed, 9 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 89e6c73..223f8f4 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java @@ -103,6 +103,15 @@ public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand { return getParameterValue("mergekey"); } + public void setRank (String rank) { + setParameter(new CommandParameter("rank","=",rank)); + } + + public String getRank () { + return getParameterValue("rank"); + } + + public ShowCommand copy () { ShowCommand newCommand = new ShowCommand(); for (String parameterName : parameters.keySet()) { -- 1.7.10.4