|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.indexdata.mkjsf.pazpar2.commands.Pazpar2Command
com.indexdata.mkjsf.pazpar2.commands.ShowCommand
public class ShowCommand
Represents a Pazpar2 show
command, can be accessed by pzreq.show
Field Summary |
---|
Fields inherited from class com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command |
---|
name, parameters |
Constructor Summary | |
---|---|
ShowCommand()
|
Method Summary | |
---|---|
ShowCommand |
copy()
Commands must implement this method to provide an completely detached, deep clone of themselves. |
String |
getBlock()
Get the parameter value for block |
String |
getMergekey()
Get the parameter value for mergekey |
int |
getNum()
Get the parameter value for num |
String |
getPageSize()
Retrieves the currently defined number of items to show at a time |
String |
getRank()
Get the parameter value for rank |
String |
getSort()
Gets parameter value for sort |
ServiceProxyCommand |
getSp()
Implementing classes must provide their Service Proxy extension command if any extension parameters exists, or -- just to be polite -- 'this' if there is no Service Proxy extension to the given command. |
int |
getStart()
Retrieves the sequence number of the record that pazpaz2 will return as the first record in 'show' |
void |
setBlock(String block)
Sets Pazpar2 parameter block . |
void |
setMergekey(String mergekey)
Sets Pazpar2 parameter mergekey . |
void |
setNum(int num)
Sets Pazpar2 parameter num . |
void |
setPageSize(String perPageOption)
Sets the number of records that pazpar2 should show at a time. |
void |
setRank(String rank)
Sets Pazpar2 parameter rank . |
void |
setSort(String sort)
Sets Pazpar2 parameter sort . |
void |
setStart(int start)
Sets Pazpar2 parameter start . |
boolean |
spOnly()
Here implementing commands publish whether they only apply to the Service Proxy or can be executed against straight Pazpar2 as well. |
Methods inherited from class com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command |
---|
addExpression, checkInState, equals, getCommandName, getEncodedQueryString, getParameter, getParameterValue, getSession, getValueWithExpressions, hashCode, hasParameters, hasParameterValue, removeExpression, removeExpressions, removeExpressionsAfter, removeParameter, removeParameters, removeParametersInState, run, run, runWith, setCommandName, setParameter, setParameterInState, setParameters, setParametersInState, setSession, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ShowCommand()
Method Detail |
---|
public void setSort(String sort)
sort
. See Pazpar2 documentation for details.
public String getSort()
sort
public void setPageSize(String perPageOption)
perPageOption
- i.e. 10, default is 20.public String getPageSize()
public void setStart(int start)
start
. See Pazpar2 documentation for details.
public int getStart()
public void setNum(int num)
num
. See Pazpar2 documentation for details.
public int getNum()
num
public void setBlock(String block)
block
. See Pazpar2 documentation for details.
public String getBlock()
block
public void setMergekey(String mergekey)
mergekey
. See Pazpar2 documentation for details.
public String getMergekey()
mergekey
public void setRank(String rank)
rank
. See Pazpar2 documentation for details.
public String getRank()
rank
public ShowCommand copy()
Pazpar2Command
copy
in class Pazpar2Command
public ServiceProxyCommand getSp()
Pazpar2Command
getSp
in class Pazpar2Command
public boolean spOnly()
Pazpar2Command
spOnly
in interface ServiceProxyCommand
spOnly
in class Pazpar2Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |