|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.indexdata.mkjsf.pazpar2.commands.Pazpar2Commands
@SessionScoped @Named public class Pazpar2Commands
Pazpar2Commands holds references to all Pazpar2 commands.
The Pazpar2Commands object itself is exposed to the UI as pzreq
.
When the UI request a command it will be retrieved from the current state through the state manager, so that the command can trigger a mutation of the state if the user/UI modifies its parameters.
Examples:
pzreq.show
- will retrieve the show command for editing or execution
pzreq.sp.auth
- will retrieve the Service Proxy extension command 'auth'
Field Summary | |
---|---|
static String |
BYTARGET
|
static String |
INIT
|
static String |
PING
|
static String |
RECORD
|
static String |
SEARCH
|
static String |
SETTINGS
|
static String |
SHOW
|
static String |
STAT
|
static String |
TERMLIST
|
Constructor Summary | |
---|---|
Pazpar2Commands()
|
Method Summary | |
---|---|
BytargetCommand |
getBytarget()
|
Pazpar2Command |
getCommand(String name)
Generically retrieves any command |
InitCommand |
getInit()
init command - referenced from UI as pzreq.init |
PingCommand |
getPing()
ping command - referenced from UI as pzreq.ping |
RecordCommand |
getRecord()
|
SearchCommand |
getSearch()
|
SettingsCommand |
getSettings()
settings command - referenced from UI as pzreq.settings |
ShowCommand |
getShow()
|
ServiceProxyCommands |
getSp()
Gets the object holding references to Service Proxy-only commands. |
StatCommand |
getStat()
|
TermlistCommand |
getTermlist()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INIT
public static final String PING
public static final String SETTINGS
public static final String SEARCH
public static final String STAT
public static final String SHOW
public static final String RECORD
public static final String TERMLIST
public static final String BYTARGET
Constructor Detail |
---|
public Pazpar2Commands()
Method Detail |
---|
public InitCommand getInit()
pzreq.init
public PingCommand getPing()
pzreq.ping
public SettingsCommand getSettings()
pzreq.settings
public SearchCommand getSearch()
public StatCommand getStat()
public ShowCommand getShow()
public RecordCommand getRecord()
public TermlistCommand getTermlist()
public BytargetCommand getBytarget()
public Pazpar2Command getCommand(String name)
name
- name of command to retrieve
public ServiceProxyCommands getSp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |