1 package com.indexdata.mkjsf.pazpar2.commands.sp;
\r
3 import java.io.Serializable;
\r
5 import com.indexdata.mkjsf.pazpar2.commands.CommandParameter;
\r
6 import com.indexdata.mkjsf.pazpar2.commands.RecordCommand;
\r
9 * Service Proxy extensions to the Papzar2 <code>record</code> command.
\r
11 * @author Niels Erik
\r
14 public class RecordCommandSp implements Serializable, ServiceProxyCommand {
\r
16 private static final long serialVersionUID = -3901864271733337221L;
\r
17 private RecordCommand command = null;
\r
19 public RecordCommandSp(RecordCommand command) {
\r
20 this.command = command;
\r
24 * Sets Service Proxy command parameter <code>recordquery</code>. See Service Proxy documentation for details.
\r
26 public void setRecordquery (String recordQuery) {
\r
27 command.setParameter(new CommandParameter("recordquery","=",recordQuery));
\r
31 * Gets parameter value for <code>recordquery</cod>
\r
33 public String getRecordquery() {
\r
34 return command.getParameterValue("recordquery");
\r
38 * Sets Service Proxy command parameter <code>acefilter</code>. See Service Proxy documentation for details.
\r
40 public void setAcefilter (String aceFilter) {
\r
41 command.setParameter(new CommandParameter("acefilter","=",aceFilter));
\r
45 * Gets parameter value for <code>acefilter</cod>
\r
47 public String getAcefilter () {
\r
48 return command.getParameterValue("acefilter");
\r
52 public boolean spOnly() {
\r