|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.inventory.commands.ReturnReasonCodeUpdateCmdImpl
Update an existing return reason.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Fields inherited from interface com.ibm.commerce.inventory.commands.ReturnReasonCodeUpdateCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
ReturnReasonCodeUpdateCmdImpl()
|
Method Summary | |
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 |
getStoreentId()
Return the store entity identifer. |
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 updating the 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. |
void |
setReturnReasonId(java.lang.String newReturnReasonId)
Return the return reason code identifier. |
protected void |
setStoreentId(java.lang.String newStoreentId)
Set the store entity identifer. |
void |
validateParameters()
This method gets the information of the return reason to be updated and sets the information into the command local variable. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public ReturnReasonCodeUpdateCmdImpl()
Method Detail |
protected java.lang.String getLanguageId()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
protected java.lang.String getReturnReasonCode()
protected java.lang.String getReturnReasonDescription()
protected java.lang.String getReturnReasonId()
protected java.lang.String getStoreentId()
protected void handleException(java.lang.Exception e, java.lang.String methodName) throws ECException
e
- Exception - The exception instance to be formatted.methodName
- String - The name of the method from which this method was called.ECException
- - could be one of many different exceptions:
ECApplicationException. RemoteException,
CreateException, FinderException, or NamingException.protected void handleSubmitError(ECException e) throws ECApplicationException
com.ibm.commerce.exception.ECApplicationException.
- Throw ECApplicationException with the newly constructed message.public void performExecute() throws ECException
performExecute
in interface ECCommand
ECException
- protected void setLanguageId(java.lang.String newLanguageId)
newLanguageId
- java.lang.Stringpublic void setReturnReasonCode(java.lang.String newReturnReasonCode)
setReturnReasonCode
in interface ReturnReasonCodeUpdateCmd
newReturnReasonCode
- java.lang.Stringpublic void setReturnReasonDescription(java.lang.String newReturnReasonDescription)
setReturnReasonDescription
in interface ReturnReasonCodeUpdateCmd
newReturnReasonDescription
- java.lang.Stringpublic void setReturnReasonId(java.lang.String newReturnReasonId)
setReturnReasonId
in interface ReturnReasonCodeUpdateCmd
newReturnReasonId
- java.lang.Stringprotected void setStoreentId(java.lang.String newStoreentId)
newStoreentId
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
com.ibm.commerce.exception.ECApplicationException.
- If the
XMLObject cannot be parsed as expected, throw ECApplicationException.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |