From be532cf4928f497e5e718d78959dfff4039c01b9 Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Sun, 14 Apr 2013 00:51:32 -0400 Subject: [PATCH] Moves response objects from pz2 bean to dedicated bean ... like commands were factored out of the main bean, so are response data objects now ... this commit also drops the distinction between bean and session, all session methods (that are not commands or response methods) moved to the bean and the session object dropped --- src/META-INF/resources/pz2utils/pz2watch.xhtml | 4 +- src/META-INF/resources/pz2widgets/pager.xhtml | 2 +- .../pz2utils4jsf/controls/ResultsPager.java | 31 +- .../pz2utils4jsf/pazpar2/ForStraightPz2.java | 15 - .../indexdata/pz2utils4jsf/pazpar2/Pz2Bean.java | 318 +++++++++------ .../indexdata/pz2utils4jsf/pazpar2/Pz2Client.java | 4 - .../pz2utils4jsf/pazpar2/Pz2Interface.java | 78 +--- .../pz2utils4jsf/pazpar2/Pz2ProxyBean.java | 114 +++--- .../indexdata/pz2utils4jsf/pazpar2/Pz2Session.java | 420 -------------------- .../pazpar2/commands/Pazpar2Command.java | 7 +- .../pazpar2/data/Pazpar2Responses.java | 123 ++++++ .../pz2utils4jsf/pazpar2/sp/ForServiceProxy.java | 15 - .../pazpar2/sp/ServiceProxyClient.java | 10 +- .../pazpar2/sp/ServiceProxySession.java | 100 ----- 14 files changed, 396 insertions(+), 845 deletions(-) delete mode 100644 src/main/java/com/indexdata/pz2utils4jsf/pazpar2/ForStraightPz2.java delete mode 100644 src/main/java/com/indexdata/pz2utils4jsf/pazpar2/Pz2Session.java create mode 100644 src/main/java/com/indexdata/pz2utils4jsf/pazpar2/data/Pazpar2Responses.java delete mode 100644 src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ForServiceProxy.java delete mode 100644 src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxySession.java diff --git a/src/META-INF/resources/pz2utils/pz2watch.xhtml b/src/META-INF/resources/pz2utils/pz2watch.xhtml index fbdd66d..da88ba6 100644 --- a/src/META-INF/resources/pz2utils/pz2watch.xhtml +++ b/src/META-INF/resources/pz2utils/pz2watch.xhtml @@ -52,9 +52,9 @@ - + - + #{suggestion} diff --git a/src/META-INF/resources/pz2widgets/pager.xhtml b/src/META-INF/resources/pz2widgets/pager.xhtml index 3d7a8d2..013b60e 100644 --- a/src/META-INF/resources/pz2widgets/pager.xhtml +++ b/src/META-INF/resources/pz2widgets/pager.xhtml @@ -24,7 +24,7 @@ - +