public class ReturnReasonCodeCreateCmdImpl extends ToolsControllerCommandImpl implements ReturnReasonCodeCreateCmd, ECConstants, ECToolsConstants, com.ibm.commerce.base.helpers.EJBConstants, com.ibm.commerce.inventory.commands.InventoryConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT |
Constructor and Description |
---|
ReturnReasonCodeCreateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | getLanguageId()
Return the language identifier.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
protected java.lang.String | getReturnReasonCode()
Return the return reason code.
|
protected java.lang.String | getReturnReasonDescription()
Return the description of the reason for the return.
|
protected java.lang.String | getReturnReasonId()
Return the return reason code identifier.
|
protected java.lang.String | getReturnReasonType()
Return the type of return reason code.
|
protected java.lang.String | getStoreentId()
Return the store entity identifier.
|
protected void | handleException(java.lang.Exception e, java.lang.String methodName)
Formats an ECException based on the input exception value.
|
protected void | handleSubmitError(ECException e)
This method constructs and returns the error message.
|
void | performExecute()
This method performs the execution of creating a new return reason.
|
protected void | setLanguageId(java.lang.String newLanguageId)
Set the language identifier.
|
void | setReturnReasonCode(java.lang.String newReturnReasonCode)
Set the return reason code.
|
void | setReturnReasonDescription(java.lang.String newReturnReasonDescription)
Set the description of the reason for the return.
|
protected void | setReturnReasonId(java.lang.String newReturnReasonId)
Set the return reason code identifier.
|
void | setReturnReasonType(java.lang.String newReturnReasonType)
Set the type of return reason code.
|
protected void | setStoreentId(java.lang.String newStoreentId)
Set the store entity identifier.
|
void | validateParameters()
This method gets the information of the new return reason to be created and sets the information into the command local variable.
|
public static final java.lang.String COPYRIGHT
protected java.lang.String getLanguageId()
protected java.lang.String getReturnReasonCode()
protected java.lang.String getReturnReasonDescription()
protected java.lang.String getReturnReasonId()
protected java.lang.String getReturnReasonType()
protected java.lang.String getStoreentId()
protected void setLanguageId(java.lang.String newLanguageId)
public void setReturnReasonCode(java.lang.String newReturnReasonCode)
public void setReturnReasonDescription(java.lang.String newReturnReasonDescription)
protected void setReturnReasonId(java.lang.String newReturnReasonId)
public void setReturnReasonType(java.lang.String newReturnReasonType)
protected void setStoreentId(java.lang.String newStoreentId)
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
This method uses the following AccessBean:
Exceptions
public void performExecute() throws ECException
This method uses the following AccessBean:
protected void handleException(java.lang.Exception e, java.lang.String methodName) throws ECException
protected void handleSubmitError(ECException e) throws ECApplicationException