com.ibm.commerce.negotiation.commands
Class CheckAutoBidUpdateAuthorizationCmdImpl
com.ibm.commerce.negotiation.commands.CheckAutoBidUpdateAuthorizationCmdImpl
- All Implemented Interfaces:
- CheckAutoBidUpdateAuthorizationCmd, ECCommand
- public class CheckAutoBidUpdateAuthorizationCmdImpl
- implements CheckAutoBidUpdateAuthorizationCmd
Auto Bid Update Authorizatoin Command.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
java.lang.String |
getAutoBidReferenceKey()
Returns the auto bid reference key. |
protected void |
handleException(java.lang.Exception e)
Formats an ECException based on the input exception value. |
boolean |
isReadyToCallExecute()
Verifies that the this command is ready to be executed. |
void |
performExecute()
Determine if current bidder is authorized to update the auto bid specified
by the auto bid reference key. |
void |
setAutoBidReferenceKey(java.lang.String autoBidRefKey)
Sets the auto bid reference key |
void |
setErrorTaskName(java.lang.String errorTaskName)
Set error task name that will be returned by the exceptions. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
CheckAutoBidUpdateAuthorizationCmdImpl
public CheckAutoBidUpdateAuthorizationCmdImpl()
- CheckAutoBidUpdateAuthorizationCmdImpl default constructor.
getAutoBidReferenceKey
public java.lang.String getAutoBidReferenceKey()
- Returns the auto bid reference key.
- Returns:
- String - auto bid reference key.
handleException
protected void handleException(java.lang.Exception e)
throws ECException
- Formats an ECException based on the input exception value.
- Parameters:
e
- Exception - The exception instance to be formatted.- Throws:
ECException
- - could be one of many diffrenet exceptions:
ECApplicationException. RemoteException, CreateException, FinderException, or NamingException.
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Verifies that the this command is ready to be executed.
- Returns:
- boolean =true if command is ready, otherwise false.
performExecute
public void performExecute()
throws ECException
- Determine if current bidder is authorized to update the auto bid specified
by the auto bid reference key.
- Specified by:
performExecute
in interface ECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setAutoBidReferenceKey
public void setAutoBidReferenceKey(java.lang.String autoBidRefKey)
- Sets the auto bid reference key
- Specified by:
setAutoBidReferenceKey
in interface CheckAutoBidUpdateAuthorizationCmd
- Parameters:
autoBidReferenceKey
- String - Auto Bid reference key
setErrorTaskName
public void setErrorTaskName(java.lang.String errorTaskName)
- Set error task name that will be returned by the exceptions.
- Specified by:
setErrorTaskName
in interface CheckAutoBidUpdateAuthorizationCmd
- Parameters:
errorTaskName
- java.lang.String