com.ibm.commerce.contract.commands
Interface CreateLightWeightStoreCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateLightWeightStoreCmdImpl

public interface CreateLightWeightStoreCmd
extends TaskCommand

Creates the light weight store based on the store XML. (WebSphere Commerce Business Edition only)


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.contract.commands.CreateLightWeightStoreCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.contract.commands.CreateLightWeightStoreCmd".
 
Method Summary
 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 creates the store.
 java.lang.Integer getDefaultShippingModeId()
          Gets the default shipping mode of the store.
 boolean getHasMasterCatalogProfileStore()
          Gets if master catalog exists in catalog profile store.
 java.util.Vector getPricePolicies()
          Gets price policies.
 java.lang.Long getProfileStoreCatalogId()
          Gets the catalog asset 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.
 void setChannelStoreId(java.lang.Integer id)
          Sets the channel store ID.
 void setCreatedByContractId(java.lang.Long id)
          Sets the contract's ID that creates the store.
 void setStoreType(java.lang.Integer i)
          Sets the store type.
 void setStoreXML(java.lang.String storeXML)           Sets the store XML string.
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.contract.commands.CreateLightWeightStoreCmd".
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.CreateLightWeightStoreCmdImpl".
See Also:
Constant Field Values
Method Detail

getStoreElement

public org.w3c.dom.Element getStoreElement()
Gets the Store element.
Returns:
Store element

getPricePolicies

public java.util.Vector getPricePolicies()
Gets price policies.
Returns:
price policies
See Also:
com.ibm.commerce.contract.util

getHasMasterCatalogProfileStore

public boolean getHasMasterCatalogProfileStore()
Gets if master catalog exists in catalog profile store.
Returns:
true found master catalog in one of the specified catalog profile store
false no master catalog was found in one of the specified catalog profile store, or there was no catalog profile store specified

setStoreXML

public void setStoreXML(java.lang.String storeXML)
Sets the store XML string.
Parameters:
storeXML - store XML string

getStoreXML

public java.lang.String getStoreXML()
Gets the store XML string.
Returns:
Store XML string

getStoreInitialState

public java.lang.String getStoreInitialState()
Gets the store initial state.
Returns:
store initial state

getStore_Id

public java.lang.String getStore_Id()
Gets the store ID.
Returns:
store ID

getStoreOwnerMemberId

public java.lang.String getStoreOwnerMemberId()
Gets the store owner's member ID.
Returns:
store owner's member ID

getStoreIdentifier

public java.lang.String getStoreIdentifier()
Gets the store name/identifier.
Returns:
Store name/identifier

setStoreType

public void setStoreType(java.lang.Integer i)
Sets the store type.
Parameters:
i - 0: distributor proxy store 1: reseller hosting store Only 0 and 1 are allowed here.

getStoreType

public java.lang.Integer getStoreType()
Gets the store type.
Returns:
0: distributor proxy store 1: reseller hosting store Only 0 and 1 will be returned.

getProfileStoreCatalogId

public java.lang.Long getProfileStoreCatalogId()
Gets the catalog asset store's catalog ID.
Returns:
catalog asset store's catalog ID

getProfileStoreCatalogOwnerMemberId

public java.lang.String getProfileStoreCatalogOwnerMemberId()
Gets the catalog owner's member ID.
Returns:
catalog owner's member ID

getProfileStoreCatalogName

public java.lang.String getProfileStoreCatalogName()
Gets the catalog asset store's catalog name.
Returns:
catalog asset store's catalog name

getStoreDefaultLanguageId

public java.lang.Integer getStoreDefaultLanguageId()
Gets the store default language ID.
Returns:
store default language ID

getResult

public boolean getResult()
Gets if the store is successfully created.
Returns:
true: store is created successfully false: store is not created

getBusinessPolicyName

public java.lang.String[] getBusinessPolicyName()
Gets the business policy names.
Returns:
Business policy names

setCreatedByContractId

public void setCreatedByContractId(java.lang.Long id)
Sets the contract's ID that creates the store.
Parameters:
id - contract ID

getCreatedByContractId

public java.lang.Long getCreatedByContractId()
Gets the contract's ID that creates the store.
Returns:
the contract ID of the contract that creates the store

setChannelStoreId

public void setChannelStoreId(java.lang.Integer id)
Sets the channel store ID.
Parameters:
id - channel store ID

getChannelStoreId

public java.lang.Integer getChannelStoreId()
Gets the channel store ID.
Returns:
channel store ID

getDefaultShippingModeId

public java.lang.Integer getDefaultShippingModeId()
Gets the default shipping mode of the store.
Returns:
Default shipping mode