java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.returns.commands.LogReturnAuthCmdImpl
Default implementation of the LogReturnAuthCmd
interface.
Command which makes note that customer has been notified of their return
mechandise authorization (RMA) number and its content. Inserts a row into
RMAAuthLog. If a RMA has been "finalized", the authorization logged
and then someone with appropriate authority makes changes, a new authorization
will be logged. Therefore there can be more than one authorization logged for
each RMA.
Utilizes these access beans
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.returns.commands. LogReturnAuthCmd |
className,
COPYRIGHT,
defaultCommandClassName |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
LogReturnAuthCmdImpl() LogReturnAuthCmdImpl constructor. |
Method Summary | |
---|---|
protected
void |
logAuth() Inserts Authorization notification into database. |
void |
performExecute() Execute the command. |
void |
reset() This method should be called after a command has been executed to reset its states variables. |
void |
setRMAAB(
RMAAccessBean rmaAB) Set the RMA being accessed. |
void |
validateParameters() Check mandatory parameters. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Constructor Detail |
---|
public LogReturnAuthCmdImpl()
Method Detail |
---|
protected void logAuth() throws FinderException, java.rmi.RemoteException, javax.naming.NamingException, CreateException, ECSystemException
FinderException
java.rmi.RemoteException
javax.naming.NamingException
CreateException
ECSystemException
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in class
AbstractECTargetableCommand
public void setRMAAB(RMAAccessBean rmaAB)
setRMAAB
in interface
LogReturnAuthCmd
rmaAB
- the RMA access bean.public void validateParameters() throws ECException
Parameters
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
- If there is no RMAccessBean specified ,
throws com.ibm.commerce.exception.ECApplicationException with
ECMessage._ERR_BAD_MISSING_CMD_PARAMETERECException