X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2FTermlistCommand.java;h=3631b5bcacfeb943420c6b6d8dceaf75611ff0e7;hb=d1884bfaf008d6324f0bf152033ef3d3711230c0;hp=5db510c1fc493a5386bfb18d89abe2ef255e2f90;hpb=d739ecb22a85d8f982add6d429e069edf7e0dde2;p=mkjsf-moved-to-github.git diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/TermlistCommand.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/TermlistCommand.java index 5db510c..3631b5b 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/TermlistCommand.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/TermlistCommand.java @@ -1,18 +1,17 @@ package com.indexdata.mkjsf.pazpar2.commands; import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand; -import com.indexdata.mkjsf.pazpar2.state.StateManager; public class TermlistCommand extends Pazpar2Command implements ServiceProxyCommand { private static final long serialVersionUID = -7067878552863021727L; - public TermlistCommand(StateManager stateMgr) { - super("termlist",stateMgr); + public TermlistCommand() { + super("termlist"); } public void setName(String names) { - setParameter(new CommandParameter("name","name",names)); + setParameter(new CommandParameter("name","=",names)); } public String getName () { @@ -28,7 +27,7 @@ public class TermlistCommand extends Pazpar2Command implements ServiceProxyComma } public TermlistCommand copy () { - TermlistCommand newCommand = new TermlistCommand(stateMgr); + TermlistCommand newCommand = new TermlistCommand(); for (String parameterName : parameters.keySet()) { newCommand.setParameterInState(parameters.get(parameterName).copy()); }