X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2FBytargetCommand.java;h=786ae4c89eb665a34867063f9af9d9884103e446;hb=86f289cd42ba95846c80d22129ed565e4e9d6dde;hp=b14980860c43530802698065b58d36d32571b79a;hpb=d739ecb22a85d8f982add6d429e069edf7e0dde2;p=mkjsf-moved-to-github.git
diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/BytargetCommand.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/BytargetCommand.java
index b149808..786ae4c 100644
--- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/BytargetCommand.java
+++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/BytargetCommand.java
@@ -1,18 +1,23 @@
package com.indexdata.mkjsf.pazpar2.commands;
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
-import com.indexdata.mkjsf.pazpar2.state.StateManager;
+/**
+ * Represents a Pazpar2 bytarget
command, can be accessed by pzreq.bytarget
+ *
+ * @author Niels Erik
+ *
+ */
public class BytargetCommand extends Pazpar2Command implements ServiceProxyCommand {
private static final long serialVersionUID = 9070458716105294392L;
- public BytargetCommand(StateManager stateMgr) {
- super("bytarget",stateMgr);
+ public BytargetCommand() {
+ super("bytarget");
}
public BytargetCommand copy () {
- BytargetCommand newCommand = new BytargetCommand(stateMgr);
+ BytargetCommand newCommand = new BytargetCommand();
for (String parameterName : parameters.keySet()) {
newCommand.setParameterInState(parameters.get(parameterName).copy());
}