projects
/
mkjsf-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
878bcbd
)
Javadoc
author
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Thu, 6 Jun 2013 15:34:49 +0000
(11:34 -0400)
committer
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Thu, 6 Jun 2013 15:34:49 +0000
(11:34 -0400)
src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/SettingsCommand.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/TermlistCommand.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/CategoriesCommand.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/InitCommandSp.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/RecordCommandSp.java
patch
|
blob
|
history
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java
patch
|
blob
|
history
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java
index
a447cfe
..
5213e52
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/QueryParameter.java
@@
-3,7
+3,7
@@
package com.indexdata.mkjsf.pazpar2.commands;
/**
\r
* Represents a query parameter as it applies to the Pazpar2 search command
\r
*
\r
/**
\r
* Represents a query parameter as it applies to the Pazpar2 search command
\r
*
\r
- * <p>A query parameter can consists of a term value and/or one or more expressions
\r
+ * <p>A query parameter can consist of a term value and/or one or more expressions
\r
* separated by boolean operators.</p>
\r
*
\r
* <p>A complex query can be represented in the object as either one long string
\r
* separated by boolean operators.</p>
\r
*
\r
* <p>A complex query can be represented in the object as either one long string
\r
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/SettingsCommand.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/SettingsCommand.java
index
267e4f8
..
e2b8d29
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/SettingsCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/SettingsCommand.java
@@
-2,6
+2,12
@@
package com.indexdata.mkjsf.pazpar2.commands;
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
+/**
\r
+ * Represents a Pazpar2 <code>settings</code> command.
\r
+ *
\r
+ * @author Niels Erik
\r
+ *
\r
+ */
\r
public class SettingsCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = 2291179325470387102L;
\r
public class SettingsCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = 2291179325470387102L;
\r
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
index
223f8f4
..
a24172a
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
@@
-2,6
+2,13
@@
package com.indexdata.mkjsf.pazpar2.commands;
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
+
\r
+/**
\r
+ * Represents a Pazpar2 <code>show</code> command.
\r
+ *
\r
+ * @author Niels Erik
\r
+ *
\r
+ */
\r
public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = -8242768313266051307L;
\r
public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = -8242768313266051307L;
\r
@@
-12,21
+19,14
@@
public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
}
\r
\r
/**
\r
}
\r
\r
/**
\r
- * Sets the sort order for results, the updates the 'show' data object
\r
- * from pazpar2. Set valid sort options in the documentation for pazpar2.
\r
- *
\r
- * The parts of the UI that display 'show' data should be rendered following
\r
- * this request.
\r
- *
\r
- * @param sortOption
\r
+ * Sets Pazpar2 parameter <code>sort</code>. See Pazpar2 documentation for details.
\r
*/
\r
public void setSort (String sort) {
\r
setParameter(new CommandParameter("sort","=",sort));
\r
}
\r
\r
/**
\r
*/
\r
public void setSort (String sort) {
\r
setParameter(new CommandParameter("sort","=",sort));
\r
}
\r
\r
/**
\r
- * Retrieves the current sort order for results
\r
- * @return sort order - i.e. 'relevance'
\r
+ * Gets parameter value for <code>sort</cod>
\r
*/
\r
public String getSort () {
\r
return getParameter("sort") != null ? getParameter("sort").value : "relevance";
\r
*/
\r
public String getSort () {
\r
return getParameter("sort") != null ? getParameter("sort").value : "relevance";
\r
@@
-56,13
+56,7
@@
public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
}
\r
\r
/**
\r
}
\r
\r
/**
\r
- * Sets the first record to show - starting at record '0'. After setting
\r
- * first record number, the 'show' data object will be updated from pazpar2,
\r
- * and the parts of the UI displaying show data should be re-rendered.
\r
- *
\r
- * To be used by the UI for paging.
\r
- *
\r
- * @param start first record to show
\r
+ * Sets Pazpar2 parameter <code>start</code>. See Pazpar2 documentation for details.
\r
*/
\r
public void setStart (int start) {
\r
setParameter(new CommandParameter("start","=",start));
\r
*/
\r
public void setStart (int start) {
\r
setParameter(new CommandParameter("start","=",start));
\r
@@
-79,34
+73,58
@@
public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
return getParameter("start") != null ? Integer.parseInt(getParameter("start").value) : 0;
\r
}
\r
\r
return getParameter("start") != null ? Integer.parseInt(getParameter("start").value) : 0;
\r
}
\r
\r
+ /**
\r
+ * Sets Pazpar2 parameter <code>num</code>. See Pazpar2 documentation for details.
\r
+ */
\r
public void setNum (int num) {
\r
setParameter(new CommandParameter("num","=",num));
\r
}
\r
public void setNum (int num) {
\r
setParameter(new CommandParameter("num","=",num));
\r
}
\r
-
\r
+
\r
+ /**
\r
+ * Get the parameter value for <code>num</code>
\r
+ */
\r
public int getNum () {
\r
return getParameter("num") != null ? Integer.parseInt(getParameter("num").value) : 0;
\r
}
\r
\r
public int getNum () {
\r
return getParameter("num") != null ? Integer.parseInt(getParameter("num").value) : 0;
\r
}
\r
\r
+ /**
\r
+ * Sets Pazpar2 parameter <code>block</code>. See Pazpar2 documentation for details.
\r
+ */
\r
public void setBlock(String block) {
\r
setParameterInState(new CommandParameter("block","=",block));
\r
}
\r
public void setBlock(String block) {
\r
setParameterInState(new CommandParameter("block","=",block));
\r
}
\r
-
\r
+
\r
+ /**
\r
+ * Get the parameter value for <code>block</code>
\r
+ */
\r
public String getBlock() {
\r
return getParameterValue("block");
\r
}
\r
\r
public String getBlock() {
\r
return getParameterValue("block");
\r
}
\r
\r
+ /**
\r
+ * Sets Pazpar2 parameter <code>mergekey</code>. See Pazpar2 documentation for details.
\r
+ */
\r
public void setMergekey (String mergekey) {
\r
setParameter(new CommandParameter("mergekey","=",mergekey));
\r
}
\r
\r
public void setMergekey (String mergekey) {
\r
setParameter(new CommandParameter("mergekey","=",mergekey));
\r
}
\r
\r
+ /**
\r
+ * Get the parameter value for <code>mergekey</code>
\r
+ */
\r
public String getMergekey () {
\r
return getParameterValue("mergekey");
\r
}
\r
\r
public String getMergekey () {
\r
return getParameterValue("mergekey");
\r
}
\r
\r
+ /**
\r
+ * Sets Pazpar2 parameter <code>rank</code>. See Pazpar2 documentation for details.
\r
+ */
\r
public void setRank (String rank) {
\r
setParameter(new CommandParameter("rank","=",rank));
\r
}
\r
\r
public void setRank (String rank) {
\r
setParameter(new CommandParameter("rank","=",rank));
\r
}
\r
\r
+ /**
\r
+ * Get the parameter value for <code>rank</code>
\r
+ */
\r
public String getRank () {
\r
return getParameterValue("rank");
\r
}
\r
public String getRank () {
\r
return getParameterValue("rank");
\r
}
\r
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
index
73867fd
..
b415ec4
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
@@
-2,6
+2,12
@@
package com.indexdata.mkjsf.pazpar2.commands;
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
+/**
\r
+ * Represents a Pazpar2 <code>stat</code> command.
\r
+ *
\r
+ * @author Niels Erik
\r
+ *
\r
+ */
\r
public class StatCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = 3980630346114157336L;
\r
public class StatCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = 3980630346114157336L;
\r
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
3631b5b
..
adb84a3
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/TermlistCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/TermlistCommand.java
@@
-2,6
+2,12
@@
package com.indexdata.mkjsf.pazpar2.commands;
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
\r
+/**
\r
+ * Represents a Pazpar2 <code>termlist</code> command.
\r
+ *
\r
+ * @author Niels Erik
\r
+ *
\r
+ */
\r
public class TermlistCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = -7067878552863021727L;
\r
public class TermlistCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = -7067878552863021727L;
\r
@@
-10,18
+16,30
@@
public class TermlistCommand extends Pazpar2Command implements ServiceProxyComma
super("termlist");
\r
}
\r
\r
super("termlist");
\r
}
\r
\r
+ /**
\r
+ * Sets Pazpar2 parameter <code>name</code>. See Pazpar2 documentation for details.
\r
+ */
\r
public void setName(String names) {
\r
setParameter(new CommandParameter("name","=",names));
\r
}
\r
\r
public void setName(String names) {
\r
setParameter(new CommandParameter("name","=",names));
\r
}
\r
\r
+ /**
\r
+ * Gets parameter value for <code>name</cod>
\r
+ */
\r
public String getName () {
\r
return getParameterValue("name");
\r
}
\r
public String getName () {
\r
return getParameterValue("name");
\r
}
\r
-
\r
+
\r
+ /**
\r
+ * Sets Pazpar2 parameter <code>num</code>. See Pazpar2 documentation for details.
\r
+ */
\r
public void setNum (String num) {
\r
setParameter(new CommandParameter("num","=",num));
\r
}
\r
\r
public void setNum (String num) {
\r
setParameter(new CommandParameter("num","=",num));
\r
}
\r
\r
+ /**
\r
+ * Gets parameter value for <code>num</cod>
\r
+ */
\r
public String getNum () {
\r
return getParameterValue("num");
\r
}
\r
public String getNum () {
\r
return getParameterValue("num");
\r
}
\r
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java
index
3167720
..
67780e5
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java
@@
-10,7
+10,9
@@
import com.indexdata.mkjsf.pazpar2.data.ResponseParser;
import com.indexdata.mkjsf.pazpar2.data.sp.SpResponseDataObject;
\r
\r
/**
\r
import com.indexdata.mkjsf.pazpar2.data.sp.SpResponseDataObject;
\r
\r
/**
\r
- * Authenticates a user against a Pazpar2 Service Proxy
\r
+ * Represents a Service Proxy <code>auth</code> command.
\r
+ *
\r
+ * <p>Authenticates a user against a Pazpar2 Service Proxy</p>
\r
*
\r
* @author Niels Erik
\r
*
\r
*
\r
* @author Niels Erik
\r
*
\r
@@
-40,33
+42,59
@@
public class AuthCommand extends Pazpar2Command implements ServiceProxyCommand {
return responseObject;
\r
}
\r
\r
return responseObject;
\r
}
\r
\r
+ /**
\r
+ * Normalizes the response XML for the benefit of the SAX parser that creates data objects.
\r
+ * <p>The parser expects responses to have document element names corresponding to the names of
\r
+ * the commands that created the responses.</p>
\r
+ *
\r
+ * @param responseString
\r
+ * @param newName
\r
+ * @return
\r
+ */
\r
private String renameResponseElement(String responseString, String newName) {
\r
responseString = responseString.replace("<response>", "<" + newName + ">");
\r
responseString = responseString.replace("</response>", "</" + newName + ">");
\r
return responseString;
\r
}
\r
\r
private String renameResponseElement(String responseString, String newName) {
\r
responseString = responseString.replace("<response>", "<" + newName + ">");
\r
responseString = responseString.replace("</response>", "</" + newName + ">");
\r
return responseString;
\r
}
\r
\r
-
\r
+ /**
\r
+ * Sets Service Proxy command parameter <code>action</code>. See Service Proxy documentation for details.
\r
+ */
\r
public void setAction (String action) {
\r
setParameterInState(new CommandParameter("action","=",action));
\r
}
\r
\r
public void setAction (String action) {
\r
setParameterInState(new CommandParameter("action","=",action));
\r
}
\r
\r
+ /**
\r
+ * Gets parameter value for <code>action</cod>
\r
+ */
\r
public String getAction () {
\r
return getParameterValue("action");
\r
}
\r
\r
public String getAction () {
\r
return getParameterValue("action");
\r
}
\r
\r
+ /**
\r
+ * Sets Service Proxy command parameter <code>username</code>. See Service Proxy documentation for details.
\r
+ */
\r
public void setUsername(String username) {
\r
setParameterInState(new CommandParameter("username","=",username));
\r
}
\r
\r
public void setUsername(String username) {
\r
setParameterInState(new CommandParameter("username","=",username));
\r
}
\r
\r
+ /**
\r
+ * Gets parameter value for <code>username</cod>
\r
+ */
\r
public String getUsername () {
\r
return getParameterValue("username");
\r
}
\r
public String getUsername () {
\r
return getParameterValue("username");
\r
}
\r
-
\r
+
\r
+ /**
\r
+ * Sets Service Proxy command parameter <code>password</code>. See Service Proxy documentation for details.
\r
+ */
\r
public void setPassword (String password) {
\r
setParameterInState(new CommandParameter("password","=",password));
\r
}
\r
\r
public void setPassword (String password) {
\r
setParameterInState(new CommandParameter("password","=",password));
\r
}
\r
\r
+ /**
\r
+ * Gets parameter value for <code>password</cod>
\r
+ */
\r
public String getPassword () {
\r
return getParameterValue("password");
\r
}
\r
public String getPassword () {
\r
return getParameterValue("password");
\r
}
\r
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/CategoriesCommand.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/CategoriesCommand.java
index
b3794ec
..
756f85c
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/CategoriesCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/CategoriesCommand.java
@@
-7,12
+7,13
@@
import com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command;
import com.indexdata.mkjsf.pazpar2.data.sp.CategoriesResponse;
\r
\r
/**
\r
import com.indexdata.mkjsf.pazpar2.data.sp.CategoriesResponse;
\r
\r
/**
\r
- * Retrieves target categories available to the current Service Proxy user.
\r
+ * Represents a Service Proxy <code>categories</code> command.
\r
+ *
\r
+ * <p>Retrieves target categories available to the current Service Proxy user.</p>
\r
+ * <p>Target categories can be used to limit a search to resources tagged with the given
\r
+ * category. The following request in a Faces page would obtain categories for display in, say, a select list:
\r
* <p>
\r
* <p>
\r
- * Target categories can be used to limit a search to resources tagged with the given
\r
- * category. The following request in a Faces page would obtain categories for displaying, say, a select list:
\r
- * <p>
\r
- * pzreq.sp.categories.run().targetCategories
\r
+ * <code>pzreq.sp.categories.run().targetCategories</code>
\r
* <p>
\r
* This would get the Service Proxy extension commands, pick the categories command, execute it, and retrieve
\r
* a list of TargetCategory objects from the returned response data object.
\r
* <p>
\r
* This would get the Service Proxy extension commands, pick the categories command, execute it, and retrieve
\r
* a list of TargetCategory objects from the returned response data object.
\r
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
dba12b0
..
1c7748a
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/InitCommandSp.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/InitCommandSp.java
@@
-16,10
+16,12
@@
import com.indexdata.mkjsf.pazpar2.data.ResponseParser;
import com.indexdata.mkjsf.pazpar2.data.sp.SpResponseDataObject;
\r
\r
/**
\r
import com.indexdata.mkjsf.pazpar2.data.sp.SpResponseDataObject;
\r
\r
/**
\r
- * Service Proxy extensions to the init command - specifically
\r
+ * Service Proxy extensions to the Pazpar2 <code>init</code> command - specifically
\r
* support for POSTing to the Service Proxy an init doc containing Pazpar2
\r
* definitions and settings.
\r
*
\r
* support for POSTing to the Service Proxy an init doc containing Pazpar2
\r
* definitions and settings.
\r
*
\r
+ * This feature, however, is not supported in the publicly released Service Proxy at this point.
\r
+ *
\r
* @author Niels Erik
\r
*
\r
*/
\r
* @author Niels Erik
\r
*
\r
*/
\r
@@
-36,6
+38,9
@@
public class InitCommandSp implements Serializable, ServiceProxyCommand {
initDocUpload = new InitDocUpload();
\r
}
\r
\r
initDocUpload = new InitDocUpload();
\r
}
\r
\r
+ /**
\r
+ * Sets Service Proxy command parameter <code>includeDebug</code>.
\r
+ */
\r
public void setIncludeDebug (String includeDebug) {
\r
command.setParameterInState(new CommandParameter("includeDebug","=",includeDebug));
\r
}
\r
public void setIncludeDebug (String includeDebug) {
\r
command.setParameterInState(new CommandParameter("includeDebug","=",includeDebug));
\r
}
\r
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/RecordCommandSp.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/RecordCommandSp.java
index
1d7cfc8
..
e1b94d8
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/RecordCommandSp.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/RecordCommandSp.java
@@
-6,7
+6,7
@@
import com.indexdata.mkjsf.pazpar2.commands.CommandParameter;
import com.indexdata.mkjsf.pazpar2.commands.RecordCommand;
\r
\r
/**
\r
import com.indexdata.mkjsf.pazpar2.commands.RecordCommand;
\r
\r
/**
\r
- * Service Proxy extensions to the record command.
\r
+ * Service Proxy extensions to the Papzar2 <code>record</code> command.
\r
*
\r
* @author Niels Erik
\r
*
\r
*
\r
* @author Niels Erik
\r
*
\r
@@
-20,18
+20,30
@@
public class RecordCommandSp implements Serializable, ServiceProxyCommand {
this.command = command;
\r
}
\r
\r
this.command = command;
\r
}
\r
\r
+ /**
\r
+ * Sets Service Proxy command parameter <code>recordquery</code>. See Service Proxy documentation for details.
\r
+ */
\r
public void setRecordquery (String recordQuery) {
\r
command.setParameter(new CommandParameter("recordquery","=",recordQuery));
\r
}
\r
\r
public void setRecordquery (String recordQuery) {
\r
command.setParameter(new CommandParameter("recordquery","=",recordQuery));
\r
}
\r
\r
+ /**
\r
+ * Gets parameter value for <code>recordquery</cod>
\r
+ */
\r
public String getRecordquery() {
\r
return command.getParameterValue("recordquery");
\r
}
\r
\r
public String getRecordquery() {
\r
return command.getParameterValue("recordquery");
\r
}
\r
\r
+ /**
\r
+ * Sets Service Proxy command parameter <code>acefilter</code>. See Service Proxy documentation for details.
\r
+ */
\r
public void setAcefilter (String aceFilter) {
\r
command.setParameter(new CommandParameter("acefilter","=",aceFilter));
\r
}
\r
\r
public void setAcefilter (String aceFilter) {
\r
command.setParameter(new CommandParameter("acefilter","=",aceFilter));
\r
}
\r
\r
+ /**
\r
+ * Gets parameter value for <code>acefilter</cod>
\r
+ */
\r
public String getAcefilter () {
\r
return command.getParameterValue("acefilter");
\r
}
\r
public String getAcefilter () {
\r
return command.getParameterValue("acefilter");
\r
}
\r
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java
index
8c34260
..
c874cc1
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java
@@
-9,7
+9,7
@@
import com.indexdata.mkjsf.utils.Utils;
\r
/**
\r
* ServiceProxyCommands holds references to all commands that are
\r
\r
/**
\r
* ServiceProxyCommands holds references to all commands that are
\r
- * Service Proxy-only, that is, not supported by straight Pazpar2.
\r
+ * Service Proxy-only, those that are NOT supported by straight Pazpar2, that is.
\r
*
\r
* @author Niels Erik
\r
*
\r
*
\r
* @author Niels Erik
\r
*
\r
@@
-27,10
+27,20
@@
public class ServiceProxyCommands implements Serializable {
this.stateMgr = stateMgr;
\r
}
\r
\r
this.stateMgr = stateMgr;
\r
}
\r
\r
+ /**
\r
+ * auth command - referenced from UI as <code>pzreq.sp.auth</code>
\r
+ *
\r
+ * @return auth command from current state
\r
+ */
\r
public AuthCommand getAuth() {
\r
return (AuthCommand) (stateMgr.getCommand(AUTH));
\r
}
\r
\r
public AuthCommand getAuth() {
\r
return (AuthCommand) (stateMgr.getCommand(AUTH));
\r
}
\r
\r
+ /**
\r
+ * categories command - referenced from UI as <code>pzreq.sp.categories</code>
\r
+ *
\r
+ * @return categories command from current state
\r
+ */
\r
public CategoriesCommand getCategories() {
\r
return (CategoriesCommand) (stateMgr.getCommand(CATEGORIES));
\r
}
\r
public CategoriesCommand getCategories() {
\r
return (CategoriesCommand) (stateMgr.getCommand(CATEGORIES));
\r
}
\r