com.ibm.commerce.inventory.commands
Interface FulfillmentCenterUpdateCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
FulfillmentCenterUpdateCmdImpl

public interface FulfillmentCenterUpdateCmd
extends ToolsControllerCommand

Update the fulfillment center.

This 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 identifer 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
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
           
 
Method Summary
 void setAddress1(java.lang.String newAddress1)
          Set fulfillment center address line 1.
 void setAddress2(java.lang.String newAddress2)
          Set fulfillment center address line 2.
 void setAddress3(java.lang.String newAddress3)
          Set fulfillment center address line 3.
 void setCity(java.lang.String newCity)
          Set the city within this address.
 void setCountry(java.lang.String newCountry)
          Set the country or region within this address.
 void setDefaultShipOffset(java.lang.String newDefaultShipOffset)
          Set the value of default shipped offset.
 void setDescription(java.lang.String newDescription)
          Set the description of the fulfillment center.
 void setDisplayName(java.lang.String newDisplayName)
          Set the display name of fulfillment center.
 void setFulfillmentCenterId(java.lang.String newFulfillmentCenterId)
          Set the fulfillment center identifier.
 void setFulfillmentCenterName(java.lang.String newFulfillmentCenterName)
          Set the fulfillment center name.
 void setMemberId(java.lang.String newMemberId)
          Set the owner identifier.
 void setState(java.lang.String newState)
          Set the state within this address.
 void setStoreAddressId(java.lang.String newStoreAddressId)
          Set the store address identifier.
 void setZipcode(java.lang.String newZipcode)
          Set the ZIP code within this address.
 
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, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name.

NAME

public static final java.lang.String NAME
Method Detail

setAddress1

public void setAddress1(java.lang.String newAddress1)
Set fulfillment center address line 1.
Parameters:
newAddress1 - java.lang.String

setAddress2

public void setAddress2(java.lang.String newAddress2)
Set fulfillment center address line 2.
Parameters:
newAddress2 - java.lang.String

setAddress3

public void setAddress3(java.lang.String newAddress3)
Set fulfillment center address line 3.
Parameters:
newAddress3 - java.lang.String

setCity

public void setCity(java.lang.String newCity)
Set the city within this address.
Parameters:
newCity - java.lang.String

setCountry

public void setCountry(java.lang.String newCountry)
Set the country or region within this address.
Parameters:
newCountry - java.lang.String

setDefaultShipOffset

public void setDefaultShipOffset(java.lang.String newDefaultShipOffset)
Set the value of default shipped offset.
Parameters:
newDefaultShipOffset - java.lang.String

setDescription

public void setDescription(java.lang.String newDescription)
Set the description of the fulfillment center.
Parameters:
newDescription - java.lang.String

setDisplayName

public void setDisplayName(java.lang.String newDisplayName)
Set the display name of fulfillment center.
Parameters:
newDisplayName - java.lang.String

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.String newFulfillmentCenterId)
Set the fulfillment center identifier.
Parameters:
newFulfillmentCenterId - java.lang.String

setFulfillmentCenterName

public void setFulfillmentCenterName(java.lang.String newFulfillmentCenterName)
Set the fulfillment center name.
Parameters:
newFulfillmentCenterName - java.lang.String

setMemberId

public void setMemberId(java.lang.String newMemberId)
Set the owner identifier.
Parameters:
newMemberId - java.lang.String

setState

public void setState(java.lang.String newState)
Set the state within this address.
Parameters:
newState - java.lang.String

setStoreAddressId

public void setStoreAddressId(java.lang.String newStoreAddressId)
Set the store address identifier.
Parameters:
newStoreAddressId - java.lang.String

setZipcode

public void setZipcode(java.lang.String newZipcode)
Set the ZIP code within this address.
Parameters:
newZipcode - java.lang.String