public class StoreCreationWizardDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTANT_INDEX_DESCRIPTION
A constant for the third index of a returned array.
|
static int |
CONSTANT_INDEX_DISPLAYNAME
A constant for the second index of a returned array.
|
static int |
CONSTANT_INDEX_ID
A constant for the first index of a returned array.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Constructor and Description |
|---|
StoreCreationWizardDataBean()
Constructs a StoreCreationWizardDataBean.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getCatalogProfileStores()
Looks for catalog profile store type stores and supplier catalog store
type stores in the database with a master catalog.
|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Returns the current command's context
|
java.util.Vector |
getCurrencies()
Gets all currencies in WebSphere Commerce.
|
java.util.Vector |
getLanguages()
Gets all languages in WebSphere Commerce.
|
java.lang.String |
getOwnerPrimaryAddressId(java.lang.String astrOrgId)
Gets the primary address ID based on a given organization ID with the address type "SB".
|
java.util.Vector |
getProfileStores(java.lang.String[] astrStoretype)
Looks for the given store type (for example: RPS) asset stores in the database.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request properties.
|
java.util.Vector |
getStoreCategories()
Finds store categories available in the system.
|
java.lang.String[] |
getSupportedLanguages(java.lang.String astrStoreId)
Gets all the supported languages of a store.
|
java.util.Vector |
getUserOrgs()
Gets all the organizations which user has access to.
|
void |
populate()
This method is used to retrieve the data for the contract.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext cc)
Sets the command context.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqProp)
Sets the request properties.
|
public static final int CONSTANT_INDEX_DESCRIPTION
public static final int CONSTANT_INDEX_DISPLAYNAME
public static final int CONSTANT_INDEX_ID
public static final java.lang.String COPYRIGHT
public StoreCreationWizardDataBean()
public java.util.Vector getCatalogProfileStores()
throws com.ibm.commerce.exception.ECSystemException
Returns a Vector of String arrays, each of which contains three values:
com.ibm.commerce.exception.ECSystemException - Thrown with message _ERR_GENERIC if an error occurs while
getting the ID, name, or description.public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext in interface com.ibm.commerce.beans.SmartDataBeanpublic java.util.Vector getCurrencies()
throws com.ibm.commerce.exception.ECSystemException
ECSystemException
- threw with message _ERR_GENERIC when an error occurred while getting currencies.com.ibm.commerce.exception.ECSystemExceptionpublic java.util.Vector getLanguages()
throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemException - threw with message _ERR_GENERIC when an error occurred while getting languages.public java.lang.String getOwnerPrimaryAddressId(java.lang.String astrOrgId)
throws com.ibm.commerce.exception.ECSystemException
astrOrgId - The organization entity Id.com.ibm.commerce.exception.ECSystemException - threw with message _ERR_GENERIC when an error occurred while getting the addressId.public java.util.Vector getProfileStores(java.lang.String[] astrStoretype)
throws com.ibm.commerce.exception.ECSystemException
astrStoretype - The store type (for example: RPS).com.ibm.commerce.exception.ECSystemException - public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties in interface com.ibm.commerce.beans.InputDataBeanpublic java.util.Vector getStoreCategories()
throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemException - public java.lang.String[] getSupportedLanguages(java.lang.String astrStoreId)
throws com.ibm.commerce.exception.ECSystemException
astrStoreId - The store Id.com.ibm.commerce.exception.ECSystemException - threw with message _ERR_GENERIC when an error occurred while getting languages.public java.util.Vector getUserOrgs()
throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemException - threw with message _ERR_GENERIC when an error occurred while getting user's organizations.public void populate()
throws java.lang.Exception
DataBeanManager.activate()
runs.populate in interface com.ibm.commerce.beans.SmartDataBeanjava.lang.Exceptionpublic void setCommandContext(com.ibm.commerce.command.CommandContext cc)
setCommandContext in interface com.ibm.commerce.beans.SmartDataBeancc - com.ibm.commerce.command.CommandContextpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqProp)
setRequestProperties in interface com.ibm.commerce.beans.InputDataBeanreqProp - The request properties