public class CreateLightWeightStoreCmdImpl extends TaskCommandImpl implements CreateLightWeightStoreCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class is "com.ibm.commerce.contract.commands.CreateLightWeightStoreCmdImpl".
|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
CreateLightWeightStoreCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean | additionalMethodAfterStoreCreation()
Additional method to be called after the store creation process.
|
protected boolean | additionalMethodBeforeStoreCreation()
Additional method to be called before the store creation process.
|
protected void | copyESpotData(org.w3c.dom.NodeList pathNodeList)
This method is responsible for duplicating the flex flow an style data entries from the Asset store to the newly created Extended Site store.
|
protected void | createBussinessPolicies(org.w3c.dom.NodeList bps)
Creates business policies.
|
protected void | createBussinessPolicy(org.w3c.dom.Element e)
Creates business policy based one business policy element.
|
protected void | createCalculationUsage(org.w3c.dom.NodeList nl)
Create the Calculation Usage
|
protected void | createDefaultCatalogOverrideGroup()
This method is called only with FEP5 build and it creates records into CATOVRGRP & STORECATOVRGRP tables
|
protected void | createInventoryAdjustmentCode(org.w3c.dom.NodeList nl)
Create the Inventory Adjustment Code and Description
|
protected void | createProfile(org.w3c.dom.NodeList nl)
Creates store profile.
|
protected void | createScheduledCommand(org.w3c.dom.Element ele)
Run the Custom Extension Command via the scheduler
|
protected void | createShippingArrangement(org.w3c.dom.NodeList inlSA)
Creates Shipping Arrangement between the Reseller store and the Manufacturer's Shared Fulfillment Center
|
protected void | createShippingMode(org.w3c.dom.NodeList inlShippingMode)
Creates Shipping Modes for the store
|
protected boolean | createStore()
Creates the distributor or reseller store based on the information in store XML string.
|
protected void | createStoreAddressAndSetContactAndLocationAddress(java.lang.Long storeOrgMemberId, java.lang.Integer storeId, java.lang.String storeIdentifier, java.lang.Integer languageId, java.lang.String url)
Creates two store addresses (Location and Contact) and populates storeentdesc table Calls copyOrgAddress to create store addresses
|
protected void | createStorePath(org.w3c.dom.NodeList pathNodeList)
Creates store relationship: relationship with profile store(s)
|
protected void | createStorePathFromStore(org.w3c.dom.NodeList pathNodeList)
Creates store relationship: relationship with channel store
|
protected void | createSupportedCurrency(org.w3c.dom.NodeList inlCurrency)
Sets store supported currencies
|
protected void | createSupportedLang(org.w3c.dom.NodeList inlLang)
Sets store supported languages
|
java.lang.String[] | getBusinessPolicyName()
Gets the business policy names.
|
java.lang.Integer | getChannelStoreId()
Gets the channel store ID.
|
java.lang.Long | getCreatedByContractId()
Gets the contract's ID that created the store.
|
java.lang.Integer | getDefaultShippingModeId()
Gets the default shipping mode of the store.
|
boolean | getHasMasterCatalogProfileStore()
Gets the master catalog if one exists in catalog profile store.
|
java.util.Vector | getPricePolicies()
Gets price policies.
|
java.lang.Long | getProfileStoreCatalogId()
Gets the catalog assets store's catalog ID.
|
java.lang.String | getProfileStoreCatalogName()
Gets the catalog asset store's catalog name.
|
java.lang.String | getProfileStoreCatalogOwnerMemberId()
Gets the catalog owner's member ID.
|
boolean | getResult()
Gets if the store is successfully created.
|
java.lang.String | getStore_Id()
Gets the store ID.
|
java.lang.Integer | getStoreDefaultLanguageId()
Gets the store default language ID.
|
org.w3c.dom.Element | getStoreElement()
Gets the Store element.
|
java.lang.String | getStoreIdentifier()
Gets the store name (identifier).
|
java.lang.String | getStoreInitialState()
Gets the store initial state.
|
java.lang.String | getStoreOwnerMemberId()
Gets the store owner's member Id.
|
java.lang.Integer | getStoreType()
Gets the store type.
|
java.lang.String | getStoreXML()
Gets the store XML string.
|
boolean | getSynchronousDeployment()
Gets the synchronousDeployment flag to indicate contract should be deployed synchronously.
|
protected org.w3c.dom.Document | getXMLDoc(java.lang.String xmlString)
Gets the XML document from the XML string
|
protected void | parseXMLDoc(org.w3c.dom.Document XMLDoc)
Parses the XML document
|
void | performExecute()
Executes the business logic of this command implementation.
|
protected void | setBusinessPolicyName(java.lang.String[] bpNames)
Sets the business policy names.
|
void | setChannelStoreId(java.lang.Integer id)
Sets the channel store ID.
|
void | setCreatedByContractId(java.lang.Long id)
Sets the contract's ID that created the store.
|
protected void | setDefaultShippingModeId(java.lang.Integer i)
Sets the default shipping mode of the store
|
protected void | setHasMasterCatalogProfileStore(boolean b)
Sets if master catalog exists in catalog asset store.
|
protected void | setPricePolicies(java.util.Vector v)
Sets price policies
|
protected void | setProfileStoreCatalogId(java.lang.Long id)
Sets the catalog asset store's catalog ID.
|
protected void | setProfileStoreCatalogName(java.lang.String s)
Sets the catalog asset store's catalog name.
|
protected void | setProfileStoreCatalogOwnerMemberId(java.lang.String s)
Sets the catalog owner's member ID.
|
protected void | setResult(boolean r)
Sets if the store is successfully created
|
protected void | setStore_Id(java.lang.String sid)
Sets the store ID
|
protected void | setStoreDefaultLanguageId(java.lang.Integer id)
Sets the store default language ID.
|
protected void | setStoreIdentifier(java.lang.String s)
Sets the store name (identifier)
|
protected void | setStoreInitialState(java.lang.String s)
Sets the store initial state.
|
protected void | setStoreOwnerMemberId(java.lang.String s)
Sets the store owner's member Id
|
void | setStoreType(java.lang.Integer i)
Sets the store type.
|
void | setStoreXML(java.lang.String s)
Sets the store XML string.
|
void | setSynchronousDeployment(boolean synchronousDeploymentFlag)
Sets the synchronousDeployment flag to indicate contract should be deployed synchronously.
|
void | validateParameters()
Validates the parameters.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public org.w3c.dom.Element getStoreElement()
public java.util.Vector getPricePolicies()
protected void setPricePolicies(java.util.Vector v)
public boolean getHasMasterCatalogProfileStore()
protected void setHasMasterCatalogProfileStore(boolean b)
public void setStoreXML(java.lang.String s)
public java.lang.String getStoreXML()
public java.lang.String getStoreInitialState()
protected void setStoreInitialState(java.lang.String s)
public void setChannelStoreId(java.lang.Integer id)
public java.lang.Integer getChannelStoreId()
public java.lang.Integer getStoreDefaultLanguageId()
protected void setStoreDefaultLanguageId(java.lang.Integer id)
public void setCreatedByContractId(java.lang.Long id)
public java.lang.Long getCreatedByContractId()
public void setStoreType(java.lang.Integer i)
public java.lang.Integer getStoreType()
public java.lang.Long getProfileStoreCatalogId()
protected void setProfileStoreCatalogId(java.lang.Long id)
public java.lang.String getProfileStoreCatalogName()
protected void setProfileStoreCatalogName(java.lang.String s)
public java.lang.String getProfileStoreCatalogOwnerMemberId()
protected void setProfileStoreCatalogOwnerMemberId(java.lang.String s)
public java.lang.String getStore_Id()
protected void setStore_Id(java.lang.String sid)
public java.lang.String[] getBusinessPolicyName()
protected void setBusinessPolicyName(java.lang.String[] bpNames)
public boolean getResult()
protected void setResult(boolean r)
public java.lang.String getStoreOwnerMemberId()
protected void setStoreOwnerMemberId(java.lang.String s)
public java.lang.String getStoreIdentifier()
protected void setStoreIdentifier(java.lang.String s)
public java.lang.Integer getDefaultShippingModeId()
protected void setDefaultShippingModeId(java.lang.Integer i)
protected boolean additionalMethodBeforeStoreCreation()
protected boolean additionalMethodAfterStoreCreation()
public void validateParameters() throws ECException
public void performExecute() throws ECException
protected boolean createStore() throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, ECApplicationException, java.sql.SQLException
protected void createDefaultCatalogOverrideGroup() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.sql.SQLException
protected org.w3c.dom.Document getXMLDoc(java.lang.String xmlString) throws org.xml.sax.SAXException, java.io.IOException
protected void parseXMLDoc(org.w3c.dom.Document XMLDoc)
protected void createStorePath(org.w3c.dom.NodeList pathNodeList) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, ECException, ECApplicationException, java.sql.SQLException
protected void createBussinessPolicies(org.w3c.dom.NodeList bps) throws ECException
protected void createBussinessPolicy(org.w3c.dom.Element e) throws ECException
protected void createSupportedLang(org.w3c.dom.NodeList inlLang) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, ECException, ECApplicationException
protected void createSupportedCurrency(org.w3c.dom.NodeList inlCurrency) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
protected void createProfile(org.w3c.dom.NodeList nl) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, ECException, ECApplicationException
protected void createStoreAddressAndSetContactAndLocationAddress(java.lang.Long storeOrgMemberId, java.lang.Integer storeId, java.lang.String storeIdentifier, java.lang.Integer languageId, java.lang.String url) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, ECApplicationException
protected void createShippingMode(org.w3c.dom.NodeList inlShippingMode) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, ECException
protected void createShippingArrangement(org.w3c.dom.NodeList inlSA) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, ECException, ECApplicationException
protected void createStorePathFromStore(org.w3c.dom.NodeList pathNodeList) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, ECException, ECApplicationException, java.sql.SQLException
protected void createInventoryAdjustmentCode(org.w3c.dom.NodeList nl) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECApplicationException
protected void createCalculationUsage(org.w3c.dom.NodeList nl) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECApplicationException, java.sql.SQLException
protected void createScheduledCommand(org.w3c.dom.Element ele) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECApplicationException
public void setSynchronousDeployment(boolean synchronousDeploymentFlag)
public boolean getSynchronousDeployment()
protected void copyESpotData(org.w3c.dom.NodeList pathNodeList) throws ECApplicationException, java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException