X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2Fsp%2FInitCommandSp.java;h=1c7748aec7e01bb67f62731a1dec97adc3140c43;hb=86f289cd42ba95846c80d22129ed565e4e9d6dde;hp=629c07c8de953424de1dfe08d649cb78fefcf4e6;hpb=4fb36567523ea8795fd610bfd92b991215439a65;p=mkjsf-moved-to-github.git diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/InitCommandSp.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/InitCommandSp.java index 629c07c..1c7748a 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/InitCommandSp.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/InitCommandSp.java @@ -15,6 +15,16 @@ import com.indexdata.mkjsf.pazpar2.data.ResponseDataObject; import com.indexdata.mkjsf.pazpar2.data.ResponseParser; import com.indexdata.mkjsf.pazpar2.data.sp.SpResponseDataObject; +/** + * Service Proxy extensions to the Pazpar2 init command - specifically + * support for POSTing to the Service Proxy an init doc containing Pazpar2 + * definitions and settings. + * + * This feature, however, is not supported in the publicly released Service Proxy at this point. + * + * @author Niels Erik + * + */ public class InitCommandSp implements Serializable, ServiceProxyCommand { private static final long serialVersionUID = -6609045941782375651L; @@ -28,6 +38,9 @@ public class InitCommandSp implements Serializable, ServiceProxyCommand { initDocUpload = new InitDocUpload(); } + /** + * Sets Service Proxy command parameter includeDebug. + */ public void setIncludeDebug (String includeDebug) { command.setParameterInState(new CommandParameter("includeDebug","=",includeDebug)); }