com.ibm.commerce.contract.commands
Interface StoreCreationWizardCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- StoreCreationWizardCmdImpl
- public interface StoreCreationWizardCmd
- extends ControllerCommand
Reads the XML template file used by the Store Creation wizard, substituting default values.
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName
The default implementation class name of this interface. |
Method Summary |
org.w3c.dom.Document |
createCustomXMLElement(org.w3c.dom.Document adocRoot)
Override this method to customize the XML template read by the command. |
java.lang.String |
createHostedStoreHomepageURL()
Override this method to define the hosted store home page URL. |
java.util.Vector |
getPaymentsList()
Returns a Vector of hashtables of all payment listed (except for offline card and custom offline entries) |
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.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class name of this interface.
- See Also:
- Constant Field Values
createCustomXMLElement
public org.w3c.dom.Document createCustomXMLElement(org.w3c.dom.Document adocRoot)
throws ECApplicationException
- Override this method to customize the XML template read by the command. This function is called before the XML object is passed to ContractImportApprovedVersionCmd.
The current Document object of the XML is passed in as paramenter. The method should return a Document object when the new XML elements are added.
-
- Parameters:
- adocRoot - The XML document root
- Returns:
- Document object after modifications
- Throws:
- ECApplicationException - the exception to throw if the custom code needs to throw an exception
getPaymentsList
public java.util.Vector getPaymentsList()
- Returns a Vector of hashtables of all payment listed (except for offline card and custom offline entries)
-
- Returns:
- a Vector of hashtables of all payment listed
createHostedStoreHomepageURL
public java.lang.String createHostedStoreHomepageURL()
- Override this method to define the hosted store home page URL. Returns _HOSTED_STORE_HOMEPAGE_URL by default.
-
- Returns:
- The hosted store URL string
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.