com.indexdata.mkjsf.pazpar2.data.sp
Class SpResponseDataObject

java.lang.Object
  extended by com.indexdata.mkjsf.pazpar2.data.ResponseDataObject
      extended by com.indexdata.mkjsf.pazpar2.data.sp.SpResponseDataObject
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthResponse, CategoriesResponse

public class SpResponseDataObject
extends ResponseDataObject

Base class for Service Proxy-only response data

Author:
Niels Erik
See Also:
Serialized Form

Constructor Summary
SpResponseDataObject()
           
 
Method Summary
 boolean unsupportedCommand()
          Returns true if the command was not recognized by the Service Proxy, passed on to Pazpar2, and then also not recognized by Pazpar2.
 
Methods inherited from class com.indexdata.mkjsf.pazpar2.data.ResponseDataObject
addElement, appendContent, getApplicationError, getAttribute, getBinary, getElements, getHasResults, getIntValue, getIsBinary, getOneElement, getOneValue, getProperty, getServiceError, getType, getValue, getValueArray, getXml, hasApplicationError, hasServiceError, setAttribute, setBinary, setType, setXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpResponseDataObject

public SpResponseDataObject()
Method Detail

unsupportedCommand

public boolean unsupportedCommand()

Returns true if the command was not recognized by the Service Proxy, passed on to Pazpar2, and then also not recognized by Pazpar2.

This results in an error no 3 from Pazpar2 which is passed back through the Service Proxy.

This would normally be caused by issuing a Service Proxy-only command that the given Service Proxy is not configured for, or which the given Service Proxy has mapped to a different command name - in both cases it will just fall through.

Returns:


Copyright © 2013. All Rights Reserved.