|
||||||||||
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.RecordCommand
public class RecordCommand
Represents a Pazpar2 record
command, can be accessed by pzreq.record
Field Summary |
---|
Fields inherited from class com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command |
---|
name, parameters |
Constructor Summary | |
---|---|
RecordCommand()
|
Method Summary | |
---|---|
RecordCommand |
copy()
Commands must implement this method to provide an completely detached, deep clone of themselves. |
String |
getBinary()
Returns the binary parameter value. |
String |
getChecksum()
Returns the checksum parameter value. |
String |
getEsn()
Returns the esn parameter value. |
String |
getId()
Returns the id parameter value. |
String |
getNativesyntax()
Returns the nativesyntax parameter value. |
String |
getOffset()
Returns the offset parameter value. |
RecordCommandSp |
getSp()
Returns a record command object with Service Proxy extension parameters |
String |
getSyntax()
Returns the syntax parameter value. |
ResponseDataObject |
run()
Special handling of record responses since they come in three distinctly different ways As a regular <record> document In arbitrary XML format, in case of an offset request to get the native format In binary (non XML) format |
void |
setBinary(String binary)
Sets the binary parameter. |
void |
setChecksum(String checksum)
Sets the checksum parameter. |
void |
setEsn(String esn)
Sets the esn parameter. |
void |
setId(String recId)
Sets the id parameter. |
void |
setNativesyntax(String nativesyntax)
Sets the nativesyntax parameter. |
void |
setOffset(String offset)
Sets the offset parameter. |
void |
setSyntax(String syntax)
Sets the syntax parameter. |
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, 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 RecordCommand()
Method Detail |
---|
public ResponseDataObject run()
run
in class Pazpar2Command
public void setId(String recId)
id
parameter. See Pazpar2 documentation for details.
recId
- record IDpublic String getId()
id
parameter value.
public void setOffset(String offset)
offset
parameter. See Pazpar2 documentation for details.
public String getOffset()
offset
parameter value.
public void setChecksum(String checksum)
checksum
parameter. See Pazpar2 documentation for details.
public String getChecksum()
checksum
parameter value.
public void setNativesyntax(String nativesyntax)
nativesyntax
parameter. See Pazpar2 documentation for details.
public String getNativesyntax()
nativesyntax
parameter value.
public void setSyntax(String syntax)
syntax
parameter. See Pazpar2 documentation for details.
public String getSyntax()
syntax
parameter value.
public void setEsn(String esn)
esn
parameter. See Pazpar2 documentation for details.
public String getEsn()
esn
parameter value.
public void setBinary(String binary)
binary
parameter. See Pazpar2 documentation for details.
public String getBinary()
binary
parameter value.
public RecordCommand copy()
Pazpar2Command
copy
in class Pazpar2Command
public RecordCommandSp getSp()
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 |