Package | Description |
---|---|
com.indexdata.mkjsf.pazpar2 |
Overall control and execution of search logic.
|
com.indexdata.mkjsf.pazpar2.commands |
Each Pazpar2 command is represented by a class with methods for
setting parameters and running the command against
the selected Pazpar2 service.
|
com.indexdata.mkjsf.pazpar2.commands.sp |
Each Service Proxy-only command and each Pazpar2 command with Service Proxy-only parameters
is represented by a class with methods for setting parameters and ultimately running the
command against the selected Service Proxy.
|
com.indexdata.mkjsf.pazpar2.state |
Tracks the state of commands, parameter settings and
command execution - primarily used for handling browser
history navigation.
|
Modifier and Type | Method and Description |
---|---|
Pazpar2Command |
CommandThread.getCommand() |
Modifier and Type | Method and Description |
---|---|
HttpResponseWrapper |
ServiceProxyClient.executeCommand(Pazpar2Command command) |
HttpResponseWrapper |
SearchClient.executeCommand(Pazpar2Command command)
Issues the provided command against the selected Pazpar2 service.
|
HttpResponseWrapper |
Pz2Client.executeCommand(Pazpar2Command command)
Runs the give Pazpar2 command and returns a response wrapper with either the received response or
with some form of error message.
|
HttpResponseWrapper |
ServiceProxyClient.postInitDoc(byte[] initDoc,
Pazpar2Command command) |
ClientCommandResponse |
ServiceProxyClient.send(Pazpar2Command command)
Makes the request
|
void |
ServiceProxyClient.setSearchCommand(Pazpar2Command command)
Does nothing in Service Proxy context
|
void |
SearchClient.setSearchCommand(Pazpar2Command command)
Search commands are saved for management purposes, like bootstrapping
expired sessions and write log statements.
|
void |
Pz2Client.setSearchCommand(Pazpar2Command command) |
Constructor and Description |
---|
CommandThread(Pazpar2Command command,
SearchClient client,
Responses pzresp) |
Modifier and Type | Class and Description |
---|---|
class |
BytargetCommand
Represents a Pazpar2
bytarget command, can be accessed by pzreq.bytarget |
class |
InitCommand
Represents a Pazpar2
init command, can be accessed by pzreq.init |
class |
PingCommand
Represents a Pazpar2
ping command, , can be accessed by pzreq.ping |
class |
RecordCommand
Represents a Pazpar2
record command, can be accessed by pzreq.record |
class |
SearchCommand
Represents a Pazpar2
search command, can be accessed by pzreq.search |
class |
SettingsCommand
Represents a Pazpar2
settings command, can be accessed by pzreq.settings |
class |
ShowCommand
Represents a Pazpar2
show command, can be accessed by pzreq.show |
class |
StatCommand
Represents a Pazpar2
stat command, can be accessed by pzreq.stat |
class |
TermlistCommand
Represents a Pazpar2
termlist command, can be accessed by pzreq.termlist |
Modifier and Type | Method and Description |
---|---|
abstract Pazpar2Command |
Pazpar2Command.copy()
Commands must implement this method to provide an completely detached, deep clone of
themselves.
|
Pazpar2Command |
Pazpar2Commands.getCommand(java.lang.String name)
Generically retrieves any command
|
Modifier and Type | Class and Description |
---|---|
class |
AuthCommand
Represents a Service Proxy
auth command, can be accessed by pzreq.sp.auth |
class |
CategoriesCommand
Represents a Service Proxy
categories command, can be accessed by pzreq.sp.categories |
Modifier and Type | Method and Description |
---|---|
Pazpar2Command |
CategoriesCommand.copy() |
Modifier and Type | Method and Description |
---|---|
Pazpar2Command |
StateManager.getCommand(java.lang.String commandName) |
Pazpar2Command |
Pazpar2State.getCommand(java.lang.String name)
Returns a command from this state
|
Modifier and Type | Method and Description |
---|---|
void |
StateManager.checkIn(Pazpar2Command command)
Registers a Pazpar2 command for execution.
|
boolean |
Pazpar2State.stateMutating(Pazpar2Command command)
Checks if a command represents a change of this state
|
Constructor and Description |
---|
Pazpar2State(Pazpar2State previousState,
Pazpar2Command newCommand)
Creates new state by cloning all commands of the provided state and
then overriding one of them with the provided state changing command.
|