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

java.lang.Object
  extended by com.indexdata.mkjsf.pazpar2.data.sp.SpResponses
All Implemented Interfaces:
Serializable

public class SpResponses
extends Object
implements Serializable

Provides references to all current Service Proxy-only data objects.

Author:
Niels Erik
See Also:
Serialized Form

Constructor Summary
SpResponses(Responses responses)
           
 
Method Summary
 AuthResponse getAuth()
           
 CategoriesResponse getCategories()
           
 void resetAuthAndBeyond(boolean includePazpar2Responses)
          Resets all responses from the authentication request to any request that can follow authentication.
 void resetInitAndBeyond(boolean includePazpar2Responses)
          Resets all responses from the init request to any request that can follow init (i.e.
 void resetSearchAndBeyond(boolean includePazpar2Responses)
          Resets all responses from the search request to any request that can follow search (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpResponses

public SpResponses(Responses responses)
Method Detail

resetSearchAndBeyond

public void resetSearchAndBeyond(boolean includePazpar2Responses)
Resets all responses from the search request to any request that can follow search (i.e. show and bytarget but not init or auth)

Parameters:
includePazpar2Responses - Set to true if the invocation should reset Pazpar2 responses (non-SP-specific responses) as well.

resetInitAndBeyond

public void resetInitAndBeyond(boolean includePazpar2Responses)
Resets all responses from the init request to any request that can follow init (i.e. search and show but not auth)

Parameters:
includePazpar2Responses - Set to true if the invocation should reset Pazpar2 responses (non-SP-specific responses) as well.

resetAuthAndBeyond

public void resetAuthAndBeyond(boolean includePazpar2Responses)
Resets all responses from the authentication request to any request that can follow authentication.

Parameters:
includePazpar2Responses - Set to true if the invocation should reset Pazpar2 responses (non-SP-specific responses) as well.

getAuth

public AuthResponse getAuth()

getCategories

public CategoriesResponse getCategories()


Copyright © 2013. All Rights Reserved.