|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.inventory.commands.ReleaseShipUpdateCmdImpl
Update carrier and shipment tracking information after the order release is packed and shipped.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Fields inherited from interface com.ibm.commerce.inventory.commands.ReleaseShipUpdateCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
ReleaseShipUpdateCmdImpl()
|
Method Summary | |
protected void |
checkIllegalArgumentException()
This method checks if the timestamp fields are not in the right timestamp format. |
protected void |
checkNumberFormatException()
This method checks if the numeric fields are not in the right numeric format. |
java.lang.String |
getDateShipped()
Return the date the package shipped. |
java.lang.String |
getLastupdate()
Return the timestamp of last update. |
java.lang.String |
getManifestId()
Return manifest (package) identifier. |
java.lang.String |
getManifestStatus()
Return the status of the manifest (package). |
java.lang.String |
getPackageId()
Return package identifier. |
java.lang.String |
getPickupRecordId()
Return pickup record identifier. |
AccessVector |
getResources()
Gets the access vector accessed by this command. |
java.lang.String |
getSetCCurr()
Return currency in which the shipment was charged. |
java.lang.String |
getShipModeId()
Return shipping provider. |
java.lang.String |
getShippingCosts()
Return shipping costs. |
java.lang.String |
getTrackingId()
Return tracking identifier. |
java.lang.String |
getWeight()
Return the weight of the package. |
java.lang.String |
getWeightMeasure()
Return the unit of measure of the package weight. |
protected void |
handleSubmitError(ECException e)
This method constructs and returns the error message. |
void |
performExecute()
This method perform the updating of carrier and shipment tracking information after the order release is packed and shipped. |
void |
setDateShipped(java.lang.String newDateShipped)
Set the date the package shipped. |
void |
setLastupdate(java.lang.String newLastupdate)
Set the timestamp of last update. |
void |
setManifestId(java.lang.String newManifestId)
Set manifest (package) identifier. |
void |
setManifestStatus(java.lang.String newManifestStatus)
Set the status of the manifest (package). |
void |
setPackageId(java.lang.String newPackageId)
Set package identifier. |
void |
setPickupRecordId(java.lang.String newPickupRecordId)
Set pickup record identifier. |
void |
setSetCCurr(java.lang.String newSetCCurr)
Set currency in which the shipment was charged. |
void |
setShipModeId(java.lang.String newShipModeId)
Set shipping provider. |
void |
setShippingCosts(java.lang.String newShippingCosts)
Set shipping costs. |
void |
setTrackingId(java.lang.String newTrackingId)
Set tracking identifier. |
void |
setWeight(java.lang.String newWeight)
Set the weight of the package. |
void |
setWeightMeasure(java.lang.String newWeightMeasure)
Set the unit of measure of the package weight. |
void |
validateParameters()
This method updates the carrier and shipment tracking information 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 ReleaseShipUpdateCmdImpl()
Method Detail |
protected void checkIllegalArgumentException() throws ECApplicationException
com.ibm.commerce.exception.ECApplicationException.
- Throw ECApplicationException to indicate which field is bad.protected void checkNumberFormatException() throws ECApplicationException
com.ibm.commerce.exception.ECApplicationException.
- Throw ECApplicationException to indicate which field is bad.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 AccessVector getResources() throws ECException
getResources
in interface ECCommand
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()
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
- public void setDateShipped(java.lang.String newDateShipped)
setDateShipped
in interface ReleaseShipUpdateCmd
newDateShipped
- java.lang.Stringpublic void setLastupdate(java.lang.String newLastupdate)
setLastupdate
in interface ReleaseShipUpdateCmd
newLastupdate
- java.lang.Stringpublic void setManifestId(java.lang.String newManifestId)
setManifestId
in interface ReleaseShipUpdateCmd
newManifestId
- java.lang.Stringpublic void setManifestStatus(java.lang.String newManifestStatus)
setManifestStatus
in interface ReleaseShipUpdateCmd
newManifestStatus
- java.lang.Stringpublic void setPackageId(java.lang.String newPackageId)
setPackageId
in interface ReleaseShipUpdateCmd
newPackageId
- java.lang.Stringpublic void setPickupRecordId(java.lang.String newPickupRecordId)
setPickupRecordId
in interface ReleaseShipUpdateCmd
newPickupRecordId
- java.lang.Stringpublic void setSetCCurr(java.lang.String newSetCCurr)
setSetCCurr
in interface ReleaseShipUpdateCmd
newSetCCurr
- java.lang.Stringpublic void setShipModeId(java.lang.String newShipModeId)
setShipModeId
in interface ReleaseShipUpdateCmd
newShipModeId
- java.lang.Stringpublic void setShippingCosts(java.lang.String newShippingCosts)
setShippingCosts
in interface ReleaseShipUpdateCmd
newShippingCosts
- java.lang.Stringpublic void setTrackingId(java.lang.String newTrackingId)
setTrackingId
in interface ReleaseShipUpdateCmd
newTrackingId
- java.lang.Stringpublic void setWeight(java.lang.String newWeight)
setWeight
in interface ReleaseShipUpdateCmd
newWeight
- java.lang.Stringpublic void setWeightMeasure(java.lang.String newWeightMeasure)
setWeightMeasure
in interface ReleaseShipUpdateCmd
newWeightMeasure
- 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 |