public class InitCommand extends Pazpar2Command implements ServiceProxyCommand
init
Pazpar2 command, referenced as: pzreq.init
Constructor and Description |
---|
InitCommand() |
Modifier and Type | Method and Description |
---|---|
InitCommand |
copy()
Commands must implement this method to provide a completely detached, deep clone of
themselves.
|
java.lang.String |
getClear()
Returns the
clear parameter value. |
java.lang.String |
getService()
Returns the
service parameter value. |
java.lang.String |
getSession()
Disabled, not supported for
init |
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.
|
void |
setClear(java.lang.String clear)
Sets the
clear parameter. |
void |
setService(java.lang.String serviceId)
Sets the
service parameter. |
void |
setSession(java.lang.String sessionId)
Disabled, not supported for
init |
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, getValueWithExpressions, hashCode, hasParameters, hasParameterValue, removeExpression, removeExpressions, removeExpressionsAfter, removeParameter, removeParameters, removeParametersInState, run, run, runWith, runWith2, setCommandName, setParameter, setParameterInState, setParameters, setParametersInState, toString
public void setClear(java.lang.String clear)
clear
parameter. See Pazpar2 documentation for details.clear
- public java.lang.String getClear()
clear
parameter value.public void setService(java.lang.String serviceId)
service
parameter. See Pazpar2 documentation for details.serviceId
- public java.lang.String getService()
service
parameter value.public void setSession(java.lang.String sessionId)
init
setSession
in class Pazpar2Command
public java.lang.String getSession()
init
getSession
in class Pazpar2Command
public InitCommand 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