package com.indexdata.pz2utils4jsf.pazpar2;\r
\r
+import java.io.Serializable;\r
import java.util.List;\r
\r
import com.indexdata.pz2utils4jsf.controls.ResultsPager;\r
import com.indexdata.pz2utils4jsf.pazpar2.TargetFilter;\r
+import com.indexdata.pz2utils4jsf.pazpar2.data.ApplicationError;\r
import com.indexdata.pz2utils4jsf.pazpar2.data.ByTarget;\r
import com.indexdata.pz2utils4jsf.pazpar2.data.RecordResponse;\r
import com.indexdata.pz2utils4jsf.pazpar2.data.ShowResponse;\r
import com.indexdata.pz2utils4jsf.pazpar2.data.TermListsResponse;\r
import com.indexdata.pz2utils4jsf.pazpar2.data.TermResponse;\r
\r
-public interface Pz2Interface {\r
+public interface Pz2Interface extends Serializable {\r
\r
/**\r
* Executes a Pazpar2 search using the given query string\r
* @param key corresponding to browsers hash string\r
*/\r
public void setCurrentStateKey(String key);\r
+ \r
+ public boolean hasErrors();\r
+ \r
+ public ApplicationError getOneError();\r
+ \r
}\r