public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand
show
command, can be accessed by pzreq.show
Constructor and Description |
---|
ShowCommand() |
Modifier and Type | Method and Description |
---|---|
ShowCommand |
copy()
Commands must implement this method to provide an completely detached, deep clone of
themselves.
|
java.lang.String |
getBlock()
Get the parameter value for
block |
java.lang.String |
getMergekey()
Get the parameter value for
mergekey |
int |
getNum()
Get the parameter value for
num |
java.lang.String |
getPageSize()
Retrieves the currently defined number of items to show at a time
|
java.lang.String |
getRank()
Get the parameter value for
rank |
java.lang.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(java.lang.String block)
Sets Pazpar2 parameter
block . |
void |
setMergekey(java.lang.String mergekey)
Sets Pazpar2 parameter
mergekey . |
void |
setNum(int num)
Sets Pazpar2 parameter
num . |
void |
setPageSize(java.lang.String perPageOption)
Sets the number of records that pazpar2 should show at a time.
|
void |
setRank(java.lang.String rank)
Sets Pazpar2 parameter
rank . |
void |
setSort(java.lang.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.
|
addExpression, equals, getCommandName, getEncodedQueryString, getParameter, getParameterValue, getSession, getValueWithExpressions, hashCode, hasParameters, hasParameterValue, removeExpression, removeExpressions, removeExpressionsAfter, removeParameter, removeParameters, removeParametersInState, run, run, runWith, runWith2, setCommandName, setParameter, setParameterInState, setParameters, setParametersInState, setSession, toString
public void setSort(java.lang.String sort)
sort
. See Pazpar2 documentation for details.public java.lang.String getSort()
sort
public void setPageSize(java.lang.String perPageOption)
perPageOption
- i.e. 10, default is 20.public java.lang.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(java.lang.String block)
block
. See Pazpar2 documentation for details.public java.lang.String getBlock()
block
public void setMergekey(java.lang.String mergekey)
mergekey
. See Pazpar2 documentation for details.public java.lang.String getMergekey()
mergekey
public void setRank(java.lang.String rank)
rank
. See Pazpar2 documentation for details.public java.lang.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