com.ibm.commerce.inventory.commands
Class ReleaseShipConfirmCmdImpl

com.ibm.commerce.inventory.commands.ReleaseShipConfirmCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECConstants, Protectable, ReleaseShipConfirmCmd, ToolsControllerCommand

public class ReleaseShipConfirmCmdImpl
implements ReleaseShipConfirmCmd, ECConstants

Record carrier and shipment tracking information when the order release is packed and shipped. If the updateManifestStatus flag is set to "1", the UpdateReleaseManifestStatusCmd command will be called to update order status and fulfillment status after shipment tracking information is recorded.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.inventory.commands.ReleaseShipConfirmCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.server.ECConstants
CFG_MERCHANT_KEY, EC_ACC_ALL_RESOURCES, EC_ACC_CONTROLLER, EC_ACC_DEFAULT_POLICYMANAGER_CLASSNAME, EC_ACC_DEFAULT_POLICYMANAGER_CREATEINSTANCE_METHOD, EC_ACC_VIEW, EC_ADDR_PERMANENT, EC_ADDR_RN, EC_ADDR_TEMPORARY, EC_ADDRESS, EC_ADDRESSBOOK, EC_ADMIN_USER_TYPE, EC_BAD_PARAM, EC_BC_ENDTIME, EC_BC_JOBNBR, EC_BC_STATE, EC_BILLTO, EC_BUNDLE_BEAN, EC_CACHE_AUTOPAGEINVALIDATION, EC_CACHE_CACHE, EC_CACHE_CACHEABLEURL, EC_CACHE_CLEANUP_FILENAME, EC_CACHE_CLEANUPAGENTHOSTNAME, EC_CACHE_CLEANUPAGENTPORT, EC_CACHE_CLEANUPPOLLINGINTERVAL, EC_CACHE_CONNECTIONTIMEOUT, EC_CACHE_DAEMONBINDADDRESS, EC_CACHE_DAEMONMAXTHREADS, EC_CACHE_DAEMONPORT, EC_CACHE_DEL_HASHKEY, EC_CACHE_DEL_HASHVALUE, EC_CACHE_DEL_MEMBERKEY, EC_CACHE_DEL_MEMBERVALUE, EC_CACHE_DEL_URLNAME, EC_CACHE_DIRSPERMEMBER, EC_CACHE_ENABLED, EC_CACHE_FILEPATH, EC_CACHE_HASHKEY, EC_CACHE_ISMANDATORY, EC_CACHE_KEY, EC_CACHE_KEYNAME, EC_CACHE_KEYSET, EC_CACHE_MAXALLOWEDREFRESHPERIOD, EC_CACHE_MAXOBJECTSPERMEMBER, EC_CACHE_MEMBERKEY, EC_CACHE_NAME, EC_CACHE_SESSIONDEPENDENT, EC_CACHE_STORECLASSNAME, EC_CACHE_WEBAPPPATH, EC_CATALOG_ENTRY_ID, EC_CATALOG_ID, EC_CATEGORIES, EC_CATEGORY_ID, EC_CATEGORY_IDENTIFIER, EC_CATEGORY_NAME, EC_CC_NUMBER, EC_CC_TYPE, EC_CCV_CODE, EC_CCX_MONTH, EC_CCX_YEAR, EC_CFG_AUTHENTICATIONMODE, EC_CFG_CMD_PASSWORD_PROT_RETRIES, EC_CFG_CMD_PASSWORD_PROTECTION, EC_CFG_COOKIE, EC_CFG_COOKIE_ACCEPTANCE, EC_CFG_COOKIE_DOMAIN, EC_CFG_COOKIE_ENCRYPT, EC_CFG_COOKIE_PATH, EC_CFG_COOKIE_PERSIST, EC_CFG_COOKIE_SSLAUTH, EC_CFG_COOKIE_TRACE, EC_CFG_ENABLED, EC_CFG_FALSE, EC_CFG_IN_NON_SSL_PORT, EC_CFG_IN_SSL_PORT, EC_CFG_LOGIN_TIMEOUT, EC_CFG_NAME, EC_CFG_NON_SSLPORT, EC_CFG_OUT_NON_SSL_PORT, EC_CFG_OUT_SSL_PORT, EC_CFG_PASSWORD_INVALIDATION, EC_CFG_POLICYMANAGER_CLASSNAME, EC_CFG_POLICYMANAGER_CREATEINSTANCE_METHOD, EC_CFG_SSL_ACCELERATOR_OPTION, EC_CFG_SSLPORT, EC_CFG_TRUE, EC_CFG_URLMAPPER, EC_CFG_URLREWRITE, EC_CFG_VALUE, EC_CFG_WAS_PERSIST, EC_CFG_WCS_PERSIST, EC_CFG_X_SITE_SCRIPT, EC_CFG_X509, EC_CLEAR_FOR_USER, EC_CMDBEAN, EC_COLLAB_BASE_DN, EC_COLLAB_ENABLE, EC_COLLAB_LDAP_ADMIN, EC_COLLAB_LDAP_HOSTNAME, EC_COLLAB_LDAP_PASSWORD, EC_COLLAB_LDAP_PORT, EC_COLLAB_QP_COLLABADMIN_LOGON, EC_COLLAB_QP_COLLABADMIN_PASSWORD, EC_COLLAB_QP_DOMAIN, EC_COLLAB_QP_HOST, EC_COLLAB_QP_LOCALE, EC_COLLAB_QP_QPADMIN_LOGON, EC_COLLAB_QP_QPADMIN_PASSWORD, EC_COLLAB_WEBSERVER_HOSTNAME, EC_COMMANDCONTEXT, EC_COMMENT, EC_COMPONENT, EC_COMPONENT_CLASS, EC_COMPONENT_ENABLE, EC_COMPONENT_HTTPWEBCONTROLLER, EC_COMPONENT_NAME, EC_COMPONENT_PROPERTY, EC_COMPONENTS, EC_CONF_MSLOGNAME, EC_CONF_MSLOGTYPE, EC_CONF_TRACE_MASK, EC_CONTENTLENGTH, EC_CONTENTTYPE, EC_CONTRACT_CMD_GET_ELIGIBLE_TA_IDS, EC_CONTRACT_ID, EC_COOKIE_ERROR_VIEW, EC_COOKIE_ExternalReferrer, EC_CURRCONTRACTS_ID, EC_CURRCONTRACTSSSL_ID, EC_CURRENCY_ID, EC_CURRENCY_SYM, EC_DATABEAN_DEEPFETCH, EC_DEFAULT_ATTRIBUTE_VAL_LANGUAGE, EC_DEFAULT_INIT_TRANSACTION_TIMEOUT, EC_DEFAULT_STORE_ALIAS, EC_DEFAULT_TRANSACTION_TIMEOUT, EC_DISPLAY_BEAN, EC_DOCPATHNAME, EC_ELGBCONTRACTS_ID, EC_ELGBCONTRACTSSSL_ID, EC_EMPTY_STRING, EC_ERROR_CODE, EC_ERROR_JSP_NAME, EC_ERROR_VIEWNAME, EC_ERRORCODE, EC_EXCEPTION, EC_FIELD1, EC_FIELD2, EC_FIELD3, EC_FOR_USER, EC_FOR_USER_ID, EC_FORCED_PASSWORD_CHANGE_PAGE, EC_GENERIC_APP_ERROR_VIEW, EC_GENERIC_CMD, EC_GENERIC_DIRECTVIEW, EC_GENERIC_ERROR_PAGE, EC_GENERIC_FORWARDVIEW, EC_GENERIC_HTTPS_REDIRECTVIEW, EC_GENERIC_LOGONFORM, EC_GENERIC_PVCTIMEOUTFORM, EC_GENERIC_REDIRECTVIEW, EC_GENERIC_SYS_ERROR_VIEW, EC_GENERIC_USER_ID, EC_GENERIC_USER_REFNUM, EC_GENERIC_USER_TIMESTAMP, EC_GENERIC_USER_TYPE, EC_HTTP_DEVFMT, EC_HTTP_DEVFMTID_BROWSER, EC_HTTP_DEVFMTNAME_BROWSER, EC_HTTP_DEVFMTNAME_PVC, EC_HTTP_DEVFMTS, EC_HTTP_DEVFMTTYPID_BROWSER, EC_HTTP_DEVFMTTYPID_PVC, EC_HTTP_DEVFMTTYPID_XML, EC_HTTP_HDR_CACHE_CONTROL, EC_HTTP_ReferrerHeader, EC_HTTP_VALUE_PRIVATE, EC_HTTPADAPTER, EC_HTTPADAPTERS, EC_HTTPWEBCONTROLLER, EC_IBM_ENETWORK_30, EC_IILIST_ATTR_NAME, EC_IILIST_ATTR_VALUE, EC_IILIST_DISPLAYSEQ, EC_IILIST_FIELD1, EC_IILIST_FIELD2, EC_IILIST_FIELD3, EC_IILIST_ID, EC_IILIST_ID_NAME, EC_IILIST_MEMBER_ID, EC_IILIST_UOM, EC_IMERCHANT, EC_IN_IILIST_ID, EC_IN_IILIST_ID_NAME, EC_IN_IILIST_MEMBER_ID, EC_INIT_PARM_CONFIGFILE, EC_INIT_PARM_INSTANCENAME, EC_INIT_TRANSACTION_TIMEOUT, EC_INPUT_STREAM, EC_INSTANCE_INSTALL_DIR, EC_INSTANCE_NAME, EC_INVALID_PARM, EC_ITEM_BEAN, EC_JDBC_JNDINAME, EC_JSP_ADDR_ADD, EC_JSP_ADDR_UPDATE, EC_JSP_CHECK_INV_ERR, EC_JSP_COM_ERR, EC_JSP_LOGON_DSP, EC_JSP_ORD_DSP_COM, EC_JSP_ORD_DSP_PEN, EC_JSP_ORD_LST_COM, EC_JSP_ORD_LST_PEN, EC_JSP_ORD_OK, EC_JSP_PWD_ADMIN, EC_JSP_PWD_RESET, EC_JSP_PWD_UPDATE, EC_JSP_PWD_USER_AUTH, EC_JSP_REG_NEW, EC_JSP_REG_UPDATE, EC_JSP_SHIPTO_ASSOC, EC_JSP_SHIPTO_DSP, EC_JSP_SHIPTO_LST, EC_JSP_SHOPCART_DSP, EC_KRYPTO, EC_LANGUAGE_ID, EC_LDAP_OP_ONE_WAY, EC_LDAP_OP_TWO_WAY, EC_LDAP_OP_UNAVAIL, EC_LOCAL_HOST, EC_LOGIN_DEFAULT_TIMEOUT_VALUE, EC_LOGIN_RETURN_URL, EC_LOGIN_TIMEOUT, EC_LOGIN_TIMEOUT_ERROR_MSGCODE, EC_LOGIN_TIMEOUT_ERROR_VIEW, EC_LOGIN_TIMEOUT_VALUE, EC_LOGON_FAILED, EC_LOTUS_DOMINO_50, EC_MALLFOOT, EC_MALLHEAD, EC_MBRGRP_CUSTOMER, EC_MBRGRP_CUSTOMER_AGENT, EC_MBRGRP_SITE_ADMIN, EC_MBRGRP_STORE_ADMIN, EC_MBRGRPTYPE_ACCESS_GROUP, EC_MBRGRPTYPE_USER_GROUP, EC_MEMBER_AUTHENTICATIONMODE, EC_MEMBER_ID, EC_MERCHANT_KEY, EC_MERCHANT_PRODUCT, EC_MERCHANTFOOT, EC_MERCHANTHEAD, EC_MERCHANTKEY, EC_MM_CFG_CLASS, EC_MM_CFG_CONFIGURATION, EC_MM_CFG_ID, EC_MM_CFG_NAME, EC_MQWEBCONTROLLER, EC_NETSCAPE_DIR_40, EC_NO_STOREID, EC_NONENCRYPTED_PARAM_NAME, EC_NONENCRYPTED_PARAMETER, EC_NONENCRYPTED_PARAMETERS, EC_NONHTTPADAPTER, EC_NONHTTPADAPTERS, EC_NULLSTRING, EC_ORDER_RN, EC_ORDER_STATE, EC_ORDERITEM_RN, EC_ORDERLISTSUMMARY, EC_ORDERSUMMARY, EC_ORDERTOTALS, EC_ORIGINATING_COMMAND, EC_OUT_IILIST_DESC, EC_OUT_IILIST_ID, EC_OUT_IILIST_ID_NAME, EC_PACKAGE_BEAN, EC_PARORG_ID, EC_PARORGSSL_ID, EC_PASSWORD, EC_PASSWORD_EXPIRED_FLAG, EC_PASSWORD_PROTECTED_CMD, EC_PASSWORD_PROTECTED_CMDS, EC_PASSWORD_REREQUEST_CHECKRESULT, EC_PASSWORD_REREQUEST_ERRORVIEW, EC_PASSWORD_REREQUEST_FOR_CMD, EC_PASSWORD_REREQUEST_MSGCODE, EC_PASSWORD_REREQUEST_PASSWORD1, EC_PASSWORD_REREQUEST_PASSWORD2, EC_PASSWORD_REREQUEST_URL, EC_PASSWORD_REREQUEST_VIEW, EC_PAYINFO_ORDER_RN, EC_PAYINFO_URL, EC_PAYMTHDID, EC_PRC_CURRENCY, EC_PRC_FIELD1, EC_PRC_FIELD2, EC_PRC_MERCHANT_REF_NUM, EC_PRC_PRECEDENCE, EC_PRC_PRICE, EC_PRC_PRICE_REF_NUM, EC_PRC_PRODUCT_REF_NUM, EC_PRC_SHOPPER_GROUP_REF_NUM, EC_PRC_TIME_BEGIN, EC_PRC_TIME_END, EC_PRODUCT, EC_PRODUCT_BEAN, EC_PRODUCT_ID, EC_PRODUCT_SKU, EC_PRODUCTS, EC_PROHIB_CHAR_ENCODING_ATT, EC_PROHIB_CHAR_ENCODING_CMD, EC_PROHIB_CHARS_ENCODING, EC_PROHIB_CHARS_ENCODING_ERROR_PAGE, EC_PROHIBITED_ATTR, EC_PROHIBITED_ATTR_ERROR_PAGE, EC_PROHIBITED_ATTRIBUTES, EC_PROHIBITED_CHAR, EC_PROHIBITED_CHAR_ERROR_PAGE, EC_PROHIBITED_CHARS, EC_PROPERTIES, EC_PROPERTIES_DATABASE, EC_PROPERTIES_DB, EC_PROPERTIES_DBACTIVE, EC_PROPERTIES_DBACTIVE_VALUE, EC_PROPERTIES_DBMS_NAME, EC_PROPERTIES_INSTANCE, EC_PROTECTED_PARAM_NAME, EC_PROTECTED_PARAM_VALUE, EC_PROTECTED_PARAMETER, EC_PROTECTED_PARAMETERS, EC_PROTECTED_VIEW, EC_PROTECTED_VIEW_NAME, EC_PROTECTED_VIEWS, EC_PVC_ADDRESS1, EC_PVC_ADDRESS2, EC_PVC_ADDRTYPE1, EC_PVC_ADDRTYPE2, EC_PVC_ALREADY_REGISTERED, EC_PVC_B_ERR, EC_PVC_B_EXEC, EC_PVC_B_NEW, EC_PVC_B_NO, EC_PVC_B_UPDATE, EC_PVC_B_URL, EC_PVC_BROWSER, EC_PVC_BUF_ACTION, EC_PVC_BUF_TIMEOUT, EC_PVC_LOGONSTATUS, EC_PVC_MULTIPLE_DEVICE, EC_PVC_REENTPW, EC_PVC_REENTPW_FORM, EC_PVC_SINGLE_DEVICE, EC_PVC_USER_ALREADY_REGISTERED, EC_PVCADAPTER, EC_PVCADAPTERS, EC_PVCMODE_ACCEPT, EC_PVCMODE_REENTER_PWD, EC_PVCMODE_REJECT, EC_QUANTITY, EC_QUERYSTRING_DELIM, EC_RAWDOCUMENT, EC_REDIRECTURL, EC_REGISTRIES, EC_REGISTRY, EC_REGISTRY_CAPACITY, EC_REGISTRY_CLASS, EC_REGISTRY_ITEM_ADD, EC_REGISTRY_ITEM_DELETE, EC_REGISTRY_ITEM_UPDATE, EC_REGISTRY_LOAD_FACTOR, EC_REGISTRY_MAX_SIZE, EC_REGISTRY_NAME, EC_REQ_DEFAULT_NON_SSL_PORT, EC_REQ_DEFAULT_SSL_PORT, EC_REQ_HTTP, EC_REQ_HTTPS, EC_REQHDR_HOST, EC_REQUESTPROPERTIES, EC_RETRIABLE_CMD, EC_RF_ACTION, EC_RF_ITEM_KEY, EC_RF_REGISTRY_NAME, EC_SCHED_APPLICATION_TYPE, EC_SCHED_APPLICATIONNAME, EC_SCHED_APPLICATIONTYPE, EC_SCHED_APPTYPE_BROADCAST, EC_SCHED_APPTYPE_DEFAULT, EC_SCHED_ATTEMPTS, EC_SCHED_AUTOCLEAN, EC_SCHED_BROADCAST, EC_SCHED_BROADCASTEXPIRETIME, EC_SCHED_CHKCMD_ID, EC_SCHED_CLONEID, EC_SCHED_COMMAND, EC_SCHED_CYCLETIME, EC_SCHED_DEFAULT_DELAYTIME, EC_SCHED_DELAY, EC_SCHED_END_TIME, EC_SCHED_HOST, EC_SCHED_HOSTNAME, EC_SCHED_INTERVAL, EC_SCHED_JOB_ACTIVE, EC_SCHED_JOB_DELETED, EC_SCHED_JOBINSTREFNUM, EC_SCHED_JOBREFNUM, EC_SCHED_MAXNUMOFTHREADS, EC_SCHED_NAME, EC_SCHED_ON, EC_SCHED_PARAMETERS, EC_SCHED_POLICY, EC_SCHED_POLICY_MAINTAIN_SEQUENCE, EC_SCHED_POLICY_NOT_MAINTAIN_SEQUENCE, EC_SCHED_POLICY_RUNMISSEDJOBS, EC_SCHED_POLICY_SKIPMISSEDJOBS, EC_SCHED_PRIORITY, EC_SCHED_RESULT_FAILED, EC_SCHED_RESULT_SUCCESS, EC_SCHED_START_TIME, EC_SCHED_STATE, EC_SCHED_STATE_COMPLETED, EC_SCHED_STATE_COMPLETED_FAILED, EC_SCHED_STATE_IDLE, EC_SCHED_STATE_IDLE_FAILED, EC_SCHED_STATE_RUNNING, EC_SCHED_STATE_RUNNING_FAILED, EC_SCHED_STATE_WAITING, EC_SCS_ENDTIME, EC_SCS_INSTREFNUM, EC_SCS_JOBNBR, EC_SCS_QUEUE, EC_SCS_STATE, EC_SERVERPORT, EC_SESSCONTRACTS_ID, EC_SESSCONTRACTSSSL_ID, EC_SESSION_ACCEPTVALUE, EC_SESSION_COOKIEACCEPT, EC_SESSION_ID, EC_SESSIONDATA_ID, EC_SHIPMODE_RN, EC_SHOPPINGCART, EC_SITE_DEFAULT_LANGID, EC_SITE_ORGANIZATION, EC_SITE_SUPPORTED_LANGIDS, EC_SQL_CURRENT_TIMESTAMP, EC_START_TIME, EC_START_TIME_NANOS, EC_STATUS, EC_STORE_ENTITY_ID, EC_STORE_ID, EC_STR_EMPTY, EC_TECHNOLOGY_JSP, EC_TECHNOLOGY_XML, EC_TEXTDOCUMENT, EC_TIMEDOUT_USER_ID, EC_TIMEDOUT_USER_URL, EC_TIMESTAMP_PATTERN, EC_TRANSACTION_TIMEOUT, EC_UID, EC_UNITIALIZED_COMMAND, EC_UOM, EC_UPDATEABLE, EC_URL, EC_URL_PATH_SEPARATOR, EC_USE_STORE_DIR, EC_USER, EC_USER_ADMINISTRATOR, EC_USER_REGISTERED, EC_USER_SITE_ADMINISTRATOR, EC_USERNAME, EC_VIEWNAME, EC_VIEWTASKNAME, EC_WASSESSION_CONTRACTIDS, EC_WASSESSION_CURRENCYID, EC_WASSESSION_EXPIRYTIME, EC_WASSESSION_LANGID, EC_WASSESSION_LOCALE, EC_WASSESSION_LOGONTIME, EC_WASSESSION_STOREID, EC_WASSESSION_USERID, EC_WCS_SESSION_EXPIRED, EC_WCS_SESSION_EXPIRY, EC_WCS_SESSION_INFO, EC_WCS_SESSION_LAST_USER, EC_WCS_SESSION_LOGON, EC_WCS_SESSION_RELOGON, EC_WCS_SESSION_RELOGONURL, EC_WCS_SESSION_STATUS, EC_WCSADMIN, EC_WEBPATH, EC_WEBSERVER_HOSTNAME, EC_WILDCARD_CHAR, EC_X_SITE_SCRIPTING, EC_X509_ERROR_VIEW
 
Constructor Summary
ReleaseShipConfirmCmdImpl()
           
 
Method Summary
protected  void checkForeignKeyViolation()
          This method checks for foreign key violation.
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 getManifestFound()
          Return the flag to indicate if there is any shipment tracking information for the order release is found.
 java.lang.String getManifestId()
          Return manifest (package) identifier.
 java.lang.String getManifestStatus()
          Return the status of the manifest (package).
 java.lang.String getOrdersId()
          Return the order identifier.
 java.lang.String getOrdReleaseNum()
          Return order release number.
 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 getUpdateManifestStatus()
          Return the flag to indicate if the order and fulfillment status should be updated after the carrier and shipment tracking information is recorded.
 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 recording of carrier and shipment tracking information when 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 setManifestFound(java.lang.String newManifestFound)
          Set the flag to indicate if there is any shipment tracking information for the order release is found.
 void setManifestId(java.lang.String newManifestId)
          Set manifest (package) identifier.
 void setManifestStatus(java.lang.String newManifestStatus)
          Set the status of the manifest (package).
 void setOrdersId(java.lang.String newOrdersId)
          Set the order identifier.
 void setOrdReleaseNum(java.lang.String newOrdReleaseNum)
          Set order release number.
 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 setUpdateManifestStatus(java.lang.String newUpdateManifestStatus)
          Set the flag to indicate if the order and fulfillment status should be updated after the carrier and shipment tracking information is recorded.
 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 gets 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

ReleaseShipConfirmCmdImpl

public ReleaseShipConfirmCmdImpl()
Method Detail

checkForeignKeyViolation

protected void checkForeignKeyViolation()
                                 throws ECApplicationException
This method checks for foreign key violation.
Throws:
com.ibm.commerce.exception.ECApplicationException. - Throw ECApplicationException to indicate which foreign or unique key is violated.

checkIllegalArgumentException

protected void checkIllegalArgumentException()
                                      throws ECApplicationException
This method checks if the timestamp fields are not in the right timestamp format.
Throws:
com.ibm.commerce.exception.ECApplicationException. - Throw ECApplicationException to indicate which field is bad.

checkNumberFormatException

protected void checkNumberFormatException()
                                   throws ECApplicationException
This method checks if the numeric fields are not in the right numeric format.
Throws:
com.ibm.commerce.exception.ECApplicationException. - Throw ECApplicationException to indicate which field is bad.

getDateShipped

public java.lang.String getDateShipped()
Return the date the package shipped.
Returns:
java.lang.String

getLastupdate

public java.lang.String getLastupdate()
Return the timestamp of last update.
Returns:
java.lang.String

getManifestFound

public java.lang.String getManifestFound()
Return the flag to indicate if there is any shipment tracking information for the order release is found.
Returns:
java.lang.String

getManifestId

public java.lang.String getManifestId()
Return manifest (package) identifier.
Returns:
java.lang.String

getManifestStatus

public java.lang.String getManifestStatus()
Return the status of the manifest (package).
Returns:
java.lang.String

getOrdersId

public java.lang.String getOrdersId()
Return the order identifier.
Returns:
java.lang.String

getOrdReleaseNum

public java.lang.String getOrdReleaseNum()
Return order release number.
Returns:
java.lang.String

getPackageId

public java.lang.String getPackageId()
Return package identifier.
Returns:
java.lang.String

getPickupRecordId

public java.lang.String getPickupRecordId()
Return pickup record identifier.
Returns:
java.lang.String

getResources

public AccessVector getResources()
                          throws ECException
Gets the access vector accessed by this command.

Specified by:
getResources in interface ECCommand
Returns:
AccessVector - a vector of resource action pairs

getSetCCurr

public java.lang.String getSetCCurr()
Return currency in which the shipment was charged.
Returns:
java.lang.String

getShipModeId

public java.lang.String getShipModeId()
Return shipping provider.
Returns:
java.lang.String

getShippingCosts

public java.lang.String getShippingCosts()
Return shipping costs.
Returns:
java.lang.String

getTrackingId

public java.lang.String getTrackingId()
Return tracking identifier.
Returns:
java.lang.String

getUpdateManifestStatus

public java.lang.String getUpdateManifestStatus()
Return the flag to indicate if the order and fulfillment status should be updated after the carrier and shipment tracking information is recorded.
Returns:
java.lang.String

getWeight

public java.lang.String getWeight()
Return the weight of the package.
Returns:
java.lang.String

getWeightMeasure

public java.lang.String getWeightMeasure()
Return the unit of measure of the package weight.
Returns:
java.lang.String

handleSubmitError

protected void handleSubmitError(ECException e)
                          throws ECApplicationException
This method constructs and returns the error message.
Throws:
com.ibm.commerce.exception.ECApplicationException. - Throw ECApplicationException with the newly constructed message.

performExecute

public void performExecute()
                    throws ECException
This method perform the recording of carrier and shipment tracking information when the order release is packed and shipped. If the updateManifestStatus flag is set to "1", the UpdateReleaseManifestStatusCmd command will be called to update order status and fulfillment status after shipment tracking information is recorded.
Specified by:
performExecute in interface ECCommand
Throws:
ECException -  

setDateShipped

public void setDateShipped(java.lang.String newDateShipped)
Set the date the package shipped.
Specified by:
setDateShipped in interface ReleaseShipConfirmCmd
Parameters:
newDateShipped - java.lang.String

setLastupdate

public void setLastupdate(java.lang.String newLastupdate)
Set the timestamp of last update.
Specified by:
setLastupdate in interface ReleaseShipConfirmCmd
Parameters:
newLastupdate - java.lang.String

setManifestFound

public void setManifestFound(java.lang.String newManifestFound)
Set the flag to indicate if there is any shipment tracking information for the order release is found.
Parameters:
newManifestFound - java.lang.String

setManifestId

public void setManifestId(java.lang.String newManifestId)
Set manifest (package) identifier.
Specified by:
setManifestId in interface ReleaseShipConfirmCmd
Parameters:
newManifestId - java.lang.String

setManifestStatus

public void setManifestStatus(java.lang.String newManifestStatus)
Set the status of the manifest (package).
Specified by:
setManifestStatus in interface ReleaseShipConfirmCmd
Parameters:
newManifestStatus - java.lang.String

setOrdersId

public void setOrdersId(java.lang.String newOrdersId)
Set the order identifier.
Specified by:
setOrdersId in interface ReleaseShipConfirmCmd
Parameters:
newOrdersId - java.lang.String

setOrdReleaseNum

public void setOrdReleaseNum(java.lang.String newOrdReleaseNum)
Set order release number.
Specified by:
setOrdReleaseNum in interface ReleaseShipConfirmCmd
Parameters:
newOrdReleaseNum - java.lang.String

setPackageId

public void setPackageId(java.lang.String newPackageId)
Set package identifier.
Specified by:
setPackageId in interface ReleaseShipConfirmCmd
Parameters:
newPackageId - java.lang.String

setPickupRecordId

public void setPickupRecordId(java.lang.String newPickupRecordId)
Set pickup record identifier.
Specified by:
setPickupRecordId in interface ReleaseShipConfirmCmd
Parameters:
newPickupRecordId - java.lang.String

setSetCCurr

public void setSetCCurr(java.lang.String newSetCCurr)
Set currency in which the shipment was charged.
Specified by:
setSetCCurr in interface ReleaseShipConfirmCmd
Parameters:
newSetCCurr - java.lang.String

setShipModeId

public void setShipModeId(java.lang.String newShipModeId)
Set shipping provider.
Specified by:
setShipModeId in interface ReleaseShipConfirmCmd
Parameters:
newShipModeId - java.lang.String

setShippingCosts

public void setShippingCosts(java.lang.String newShippingCosts)
Set shipping costs.
Specified by:
setShippingCosts in interface ReleaseShipConfirmCmd
Parameters:
newShippingCosts - java.lang.String

setTrackingId

public void setTrackingId(java.lang.String newTrackingId)
Set tracking identifier.
Specified by:
setTrackingId in interface ReleaseShipConfirmCmd
Parameters:
newTrackingId - java.lang.String

setUpdateManifestStatus

public void setUpdateManifestStatus(java.lang.String newUpdateManifestStatus)
Set the flag to indicate if the order and fulfillment status should be updated after the carrier and shipment tracking information is recorded.
Specified by:
setUpdateManifestStatus in interface ReleaseShipConfirmCmd
Parameters:
newTrackingId - java.lang.String

setWeight

public void setWeight(java.lang.String newWeight)
Set the weight of the package.
Specified by:
setWeight in interface ReleaseShipConfirmCmd
Parameters:
newWeight - java.lang.String

setWeightMeasure

public void setWeightMeasure(java.lang.String newWeightMeasure)
Set the unit of measure of the package weight.
Specified by:
setWeightMeasure in interface ReleaseShipConfirmCmd
Parameters:
newWeightMeasure - java.lang.String

validateParameters

public void validateParameters()
                        throws ECException
This method gets the carrier and shipment tracking information and sets the information into the command local variable. It also sets the success redirect URL.
Specified by:
validateParameters in interface ECCommand
Throws:
com.ibm.commerce.exception.ECApplicationException. - If the XMLObject cannot be parsed as expected, throw ECApplicationException.