X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2Fsp%2FBytargetCommandSp.java;fp=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2Fsp%2FBytargetCommandSp.java;h=ec9417a942e2c5483b70f3464d534b9e95256ec9;hb=4a09a1c5c187c2ec84b4ac26ba284fffd4f89765;hp=0000000000000000000000000000000000000000;hpb=cd63f324cf98a553f9cea33c50b0d68985552a8d;p=mkjsf-moved-to-github.git diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/BytargetCommandSp.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/BytargetCommandSp.java new file mode 100644 index 0000000..ec9417a --- /dev/null +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/BytargetCommandSp.java @@ -0,0 +1,37 @@ +package com.indexdata.mkjsf.pazpar2.commands.sp; + +import java.io.Serializable; + +import com.indexdata.mkjsf.pazpar2.commands.BytargetCommand; +import com.indexdata.mkjsf.pazpar2.commands.CommandParameter; + +public class BytargetCommandSp implements Serializable, ServiceProxyCommand { + + private BytargetCommand command = null; + private static final long serialVersionUID = -1742198227615699037L; + + public BytargetCommandSp(BytargetCommand command) { + this.command = command; + } + + /** + * Sets the windowid parameter. See Service Proxy documentation for details. + */ + public void setWindowid (String windowid) { + command.setParameterInState(new CommandParameter("windowid","=",windowid)); + } + + /** + * Returns the windowid parameter value. + */ + public String getWindowid () { + return command.getParameterValue("windowid"); + } + + @Override + public boolean spOnly() { + // TODO Auto-generated method stub + return false; + } + +}