java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.tools.command.ToolsControllerCommandImpl
com.ibm.commerce.inventory.commands.ReleaseShipUpdateCmdImpl
Default implementation of the ReceiptCreateCmd interface. Updates carrier and shipment tracking information after the order release is packed and shipped.
If the redirect URL is not specified, calls GenericRedirectView upon successful completion, or GenericApplicationError, upon failure. Utilizes these access beans:
Field Summary | |
static java.lang.String | COPYRIGHT The internal copyright field. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.inventory.commands.ReleaseShipUpdateCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.tools.common.ECToolsConstants |
EC_LINE_SEPARATOR, EC_TOOLS_FULFILLMENT_CENTER_ID, EC_TOOLS_MERCHANT_CENTER_URL, EC_TOOLS_STORE_LANGUAGE_URL, EC_TOOLS_STORES_ACCESS_CONTROL_REQUIRED, EC_TOOLS_STORES_EMPTY, EC_TOOLS_STORES_NO_ACCESS, EC_TOOLS_STORES_NOT_ADMINISTRATOR, EC_XML, EC_XMLFILE, EC_XMLFILEOBJECT, EC_XMLOBJECT, EC_XMLSTRING |
Constructor Summary | |
ReleaseShipUpdateCmdImpl() |
Method Summary | |
protected void | checkIllegalArgumentException() Verifies that the DATESHIPPED field is in the correct timestamp format. |
protected void | checkNumberFormatException() Checks that the numeric fields are in the correct numeric format. |
java.lang.String | getDateShipped() Returns the date the package shipped. |
java.lang.String | getLastupdate() Returns the timestamp of last update. |
java.lang.String | getManifestId() Returns the manifest (package) identifier. |
java.lang.String | getManifestStatus() Returns the status of the manifest (package). |
java.lang.String | getPackageId() Returns package identifier. |
java.lang.String | getPickupRecordId() Returns the pickup record identifier. |
AccessVector | getResources() Gets the access vector accessed by this command. |
java.lang.String | getSetCCurr() Returns the currency in which the shipment was charged. |
java.lang.String | getShipModeId() Returns the shipping provider. |
java.lang.String | getShippingCosts() Returns the shipping costs. |
java.lang.String | getTrackingId() Returns the tracking identifier. |
java.lang.String | getWeight() Returns the weight of the package. |
java.lang.String | getWeightMeasure() Returns the unit of measure of the package weight. |
protected void | handleSubmitError(ECException e) Constructs and returns the error message. |
void | performExecute() Performs the updating of carrier and shipment tracking information after the order release is packed and shipped. |
void | setDateShipped(java.lang.String newDateShipped) Sets the date the package shipped. |
void | setLastupdate(java.lang.String newLastupdate) Sets the timestamp of last update. |
void | setManifestId(java.lang.String newManifestId) Sets the manifest (package) identifier. |
void | setManifestStatus(java.lang.String newManifestStatus) Sets the status of the manifest (package). |
void | setPackageId(java.lang.String newPackageId) Sets the package identifier. |
void | setPickupRecordId(java.lang.String newPickupRecordId) Sets the pickup record identifier. |
void | setSetCCurr(java.lang.String newSetCCurr) Sets the currency in which the shipment was charged. |
void | setShipModeId(java.lang.String newShipModeId) Sets the shipping provider. |
void | setShippingCosts(java.lang.String newShippingCosts) Sets the shipping costs. |
void | setTrackingId(java.lang.String newTrackingId) Sets the tracking identifier. |
void | setWeight(java.lang.String newWeight) Sets the weight of the package. |
void | setWeightMeasure(java.lang.String newWeightMeasure) Sets the unit of measure of the package weight. |
void | validateParameters() Updates the carrier and shipment tracking information and sets the information into the command local variables. |
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl |
getViewInputProperties, setRequestProperties |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, 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, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public ReleaseShipUpdateCmdImpl()
Method Detail |
public java.lang.String getDateShipped()
public java.lang.String getLastupdate()
public java.lang.String getManifestId()
public java.lang.String getManifestStatus()
public java.lang.String getPackageId()
public java.lang.String getPickupRecordId()
public java.lang.String getSetCCurr()
public java.lang.String getShipModeId()
public java.lang.String getShippingCosts()
public java.lang.String getTrackingId()
public java.lang.String getWeight()
public java.lang.String getWeightMeasure()
public void setDateShipped(java.lang.String newDateShipped)
public void setLastupdate(java.lang.String newLastupdate)
public void setManifestId(java.lang.String newManifestId)
public void setManifestStatus(java.lang.String newManifestStatus)
public void setPackageId(java.lang.String newPackageId)
public void setPickupRecordId(java.lang.String newPickupRecordId)
public void setSetCCurr(java.lang.String newSetCCurr)
public void setShipModeId(java.lang.String newShipModeId)
public void setShippingCosts(java.lang.String newShippingCosts)
public void setTrackingId(java.lang.String newTrackingId)
public void setWeight(java.lang.String newWeight)
public void setWeightMeasure(java.lang.String newWeightMeasure)
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
Uses ManifestAccessBean to get order id, to get OrderItemAccessBean to get fulfillment center id to get FulfillmentCenterAccessBean which is returned.
public void performExecute() throws ECException
protected void checkNumberFormatException() throws ECApplicationException
protected void checkIllegalArgumentException() throws ECApplicationException
protected void handleSubmitError(ECException e) throws ECApplicationException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.