com.ibm.commerce.inventory.commands
Interface FulfillmentCenterUpdateCmd
-
- All Superinterfaces:
- AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, ToolsControllerCommand
- All Known Implementing Classes:
- FulfillmentCenterUpdateCmdImpl
public interface FulfillmentCenterUpdateCmd extends ToolsControllerCommand
Update the fulfillment center.This controller command requires to have the store entity id and language id set in the command context.
Parameters
- EC_XMLObject
- An input xml_string that contains all required data for updating
the fulfillment center.
Example xml_string for fulfillment center:
<?xml version="1.0" encoding="UTF-8"?> <XML> <XMLFile>inventory.FFMCenterChangeDialog</XMLFile> <fulfillmentCenterId>7000</fulfillmentCenterId> <description>description of fulfillment center</description> <displayName>fulfillment center display name</displayName> <name>fulfillment center name</name> <address1>Line 1 of address</address1> <address2>Line 2 of address</address2> <address3>Line 3 of address</address3> <city>city</city> <country>country</country> <defaultShipOffset>86400</defaultShipOffset> <memberId>3000</memberId> <state>state</state> <zipCode>zip code</zipCode> </XML>
- URL
- The URL to be called when the command completes successfully.
Response Parameters
- fulfillmentCenterId
- Return the identifier of the fulfillment center.
Exceptions
When the required fields are missing or not in the right data type, this command will throw exception to indicate which field is missing or bad.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The internal copyright field.static java.lang.String
defaultCommandClassName
The default implementation class name is "com.ibm.commerce.inventory.commands.FulfillmentCenterUpdateCmdImpl".static java.lang.String
NAME
The name of this interface is "com.ibm.commerce.inventory.commands.FulfillmentCenterUpdateCmd".
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
setAddress1(java.lang.String newAddress1)
Sets fulfillment center address line 1.void
setAddress2(java.lang.String newAddress2)
Sets fulfillment center address line 2.void
setAddress3(java.lang.String newAddress3)
Sets fulfillment center address line 3.void
setCity(java.lang.String newCity)
Sets the city within this address.void
setCountry(java.lang.String newCountry)
Sets the country or region within this address.void
setDefaultShipOffset(java.lang.String newDefaultShipOffset)
Sets the value of default shipped offset.void
setDescription(java.lang.String newDescription)
Sets the description of the fulfillment center.void
setDisplayName(java.lang.String newDisplayName)
Sets the display name of fulfillment center.void
setFulfillmentCenterId(java.lang.String newFulfillmentCenterId)
Sets the fulfillment center identifier.void
setFulfillmentCenterName(java.lang.String newFulfillmentCenterName)
Sets the fulfillment center name.void
setMaxNumPick(java.lang.String newMaxNumPick)
Sets the MaxNUMPICKvoid
setMemberId(java.lang.String newMemberId)
Sets the owner identifier.void
setPickDelayInMin(java.lang.String newPickDelayInMin)
Sets the PICKDELAYINMINvoid
setState(java.lang.String newState)
Sets the state within this address.void
setStoreAddressId(java.lang.String newStoreAddressId)
Sets the store address identifier.void
setZipcode(java.lang.String newZipcode)
Sets the ZIP code within this address.-
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.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
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, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
The internal copyright field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.inventory.commands.FulfillmentCenterUpdateCmd".- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation class name is "com.ibm.commerce.inventory.commands.FulfillmentCenterUpdateCmdImpl".- See Also:
- Constant Field Values
-
-
Method Detail
-
setAddress1
void setAddress1(java.lang.String newAddress1)
Sets fulfillment center address line 1.- Parameters:
newAddress1
- address line 1
-
setAddress2
void setAddress2(java.lang.String newAddress2)
Sets fulfillment center address line 2.- Parameters:
newAddress2
- address line 2
-
setAddress3
void setAddress3(java.lang.String newAddress3)
Sets fulfillment center address line 3.- Parameters:
newAddress3
- address line 3
-
setCity
void setCity(java.lang.String newCity)
Sets the city within this address.- Parameters:
newCity
- city
-
setCountry
void setCountry(java.lang.String newCountry)
Sets the country or region within this address.- Parameters:
newCountry
- country or region
-
setDefaultShipOffset
void setDefaultShipOffset(java.lang.String newDefaultShipOffset)
Sets the value of default shipped offset.- Parameters:
newDefaultShipOffset
- default shipped offset
-
setDescription
void setDescription(java.lang.String newDescription)
Sets the description of the fulfillment center.- Parameters:
newDescription
- description
-
setDisplayName
void setDisplayName(java.lang.String newDisplayName)
Sets the display name of fulfillment center.- Parameters:
newDisplayName
- display name
-
setFulfillmentCenterId
void setFulfillmentCenterId(java.lang.String newFulfillmentCenterId)
Sets the fulfillment center identifier.- Parameters:
newFulfillmentCenterId
- id
-
setFulfillmentCenterName
void setFulfillmentCenterName(java.lang.String newFulfillmentCenterName)
Sets the fulfillment center name.- Parameters:
newFulfillmentCenterName
- name
-
setMemberId
void setMemberId(java.lang.String newMemberId)
Sets the owner identifier.- Parameters:
newMemberId
- owner id
-
setState
void setState(java.lang.String newState)
Sets the state within this address.- Parameters:
newState
- state
-
setStoreAddressId
void setStoreAddressId(java.lang.String newStoreAddressId)
Sets the store address identifier.- Parameters:
newStoreAddressId
- store address id
-
setZipcode
void setZipcode(java.lang.String newZipcode)
Sets the ZIP code within this address.- Parameters:
newZipcode
- postal code
-
setMaxNumPick
void setMaxNumPick(java.lang.String newMaxNumPick)
Sets the MaxNUMPICK- Parameters:
newMaxNumPick
- maxNumPick
-
setPickDelayInMin
void setPickDelayInMin(java.lang.String newPickDelayInMin)
Sets the PICKDELAYINMIN- Parameters:
newpickDelayInMin
- Picking delay
-
-