Refactors state management
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Wed, 10 Apr 2013 17:05:59 +0000 (13:05 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Wed, 10 Apr 2013 17:05:59 +0000 (13:05 -0400)
commit0f71d8e1a79d3d007cc52b58bfe33517a69224b7
tree916d9ab10ebae3c53c467683e5ef1cfb1e322be7
parentcb3fd709780895b5fc2f8fb16cb4b0b3744850a0
Refactors state management

.. with the intend to decouple the complexities of setting up
commands and parameters from the maintenance of state (before
the state manager was involved in every setting of parameters,
in order to detect and record the change of state. Now it
just recieves a copy of the complete command after the fact, and
doesn't need to know about command parameters.
src/META-INF/resources/pz2utils/fieldlisteners.js
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/CommandParameter.java
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/Pz2Session.java
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/state/Pazpar2State.java [new file with mode: 0644]
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/state/QueryState.java [deleted file]
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/state/QueryStates.java [deleted file]
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/state/StateManager.java [new file with mode: 0644]