From: Niels Erik G. Nielsen Date: Tue, 28 May 2013 00:55:49 +0000 (-0400) Subject: Adds rank parameter to show command X-Git-Tag: v0.0.7~76 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=45227f6391b905193adcf192a0b20328401ff95f;p=mkjsf-moved-to-github.git Adds rank parameter to show command --- 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()) {