java.lang.Object | +--com.ibm.commerce.tools.contract.beans.StoreCreationWizardDataBean
The StoreCreationWizardDataBean contains various methods used in Store Creation wizard including:
Field Summary | |
---|---|
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. |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
StoreCreationWizardDataBean() Constructor |
Method Summary | |
---|---|
java.util.Vector |
getCatalogProfileStores() Looks for catalog asset store type stores in the database with a master catalog. |
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 (e.g.: RPS) asset stores in the database. |
TypedProperty |
getRequestProperties() Gets the request properties. |
java.util.Vector |
getStoreCategories() Finds store categories available in the sytem. |
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() Retrieves the data for the contract. |
void |
setCommandContext(
CommandContext cc) Sets the command context. |
void |
setRequestProperties(
TypedProperty reqProp) Sets the request properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final int CONSTANT_INDEX_ID
public static final int CONSTANT_INDEX_DISPLAYNAME
public static final int CONSTANT_INDEX_DESCRIPTION
Constructor Detail |
---|
public StoreCreationWizardDataBean()
Method Detail |
---|
public java.util.Vector getCatalogProfileStores() throws ECSystemException
ECSystemException
-public CommandContext getCommandContext()
getCommandContext
in interface
SmartDataBean
public java.util.Vector getCurrencies() throws ECSystemException
ECSystemException
- threw with message _ERR_GENERIC when
an error occurred while getting currencies.
ECSystemException
public java.util.Vector getLanguages() throws ECSystemException
ECSystemException
- threw with message _ERR_GENERIC when an error
occurred while getting languages.public java.lang.String getOwnerPrimaryAddressId(java.lang.String astrOrgId) throws ECSystemException
ECSystemException
- threw with message _ERR_GENERIC when an error
occurred while getting the addressId.public java.util.Vector getProfileStores(java.lang.String[] astrStoretype) throws ECSystemException
ECSystemException
-public TypedProperty getRequestProperties()
getRequestProperties
in interface
InputDataBean
public java.util.Vector getStoreCategories() throws ECSystemException
ECSystemException
-public java.lang.String[] getSupportedLanguages(java.lang.String astrStoreId) throws ECSystemException
ECSystemException
- threw with message _ERR_GENERIC when an error
occurred while getting languages.public java.util.Vector getUserOrgs() throws ECSystemException
ECSystemException
- threw with message _ERR_GENERIC when an error
occurred while getting user's organizations.public void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
java.lang.Exception
public void setCommandContext(CommandContext cc)
setCommandContext
in interface
SmartDataBean
cc
- The command context..public void setRequestProperties(TypedProperty reqProp)
setRequestProperties
in interface
InputDataBean