com.indexdata.mkjsf.pazpar2.commands
Class BytargetCommand
java.lang.Object
com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command
com.indexdata.mkjsf.pazpar2.commands.BytargetCommand
- All Implemented Interfaces:
- ServiceProxyCommand, Serializable
public class BytargetCommand
- extends Pazpar2Command
- implements ServiceProxyCommand
Represents a Pazpar2 bytarget
command, can be accessed by pzreq.bytarget
- Author:
- Niels Erik
- See Also:
- Serialized Form
Method Summary |
BytargetCommand |
copy()
Commands must implement this method to provide an completely detached, deep clone of
themselves. |
ServiceProxyCommand |
getSp()
Implementing classes must provide their Service Proxy
extension command if any extension parameters exists,
or -- just to be polite -- 'this' if there is no
Service Proxy extension to the given command. |
boolean |
spOnly()
Here implementing commands publish whether they only
apply to the Service Proxy or can be executed
against straight Pazpar2 as well. |
Methods inherited from class com.indexdata.mkjsf.pazpar2.commands.Pazpar2Command |
addExpression, checkInState, equals, getCommandName, getEncodedQueryString, getParameter, getParameterValue, getSession, getValueWithExpressions, hashCode, hasParameters, hasParameterValue, removeExpression, removeExpressions, removeExpressionsAfter, removeParameter, removeParameters, removeParametersInState, run, run, runWith, setCommandName, setParameter, setParameterInState, setParameters, setParametersInState, setSession, toString |
BytargetCommand
public BytargetCommand()
copy
public BytargetCommand copy()
- Description copied from class:
Pazpar2Command
- Commands must implement this method to provide an completely detached, deep clone of
themselves.
The clone is needed by the state manager to transfer commands with current setting
from one state to the next.
Whenever a non-standard attribute is added to a command class, the copy method must
be updated to ensure that the new attribute is brought over as well.
- Specified by:
copy
in class Pazpar2Command
- Returns:
- a Pazpar2 command of the given type
getSp
public ServiceProxyCommand getSp()
- Description copied from class:
Pazpar2Command
- Implementing classes must provide their Service Proxy
extension command if any extension parameters exists,
or -- just to be polite -- 'this' if there is no
Service Proxy extension to the given command.
- Specified by:
getSp
in class Pazpar2Command
- Returns:
spOnly
public boolean spOnly()
- Description copied from class:
Pazpar2Command
- Here implementing commands publish whether they only
apply to the Service Proxy or can be executed
against straight Pazpar2 as well. This is convenient for a
UI that switches between service types either
deployment time or run time.
- Specified by:
spOnly
in interface ServiceProxyCommand
- Specified by:
spOnly
in class Pazpar2Command
- Returns:
- false if the command applies to straight Pazpar2
Copyright © 2013. All Rights Reserved.