atg.projects.store.storeconfig
Class InternationalizationStoreConfigurationContainer

java.lang.Object
  extended by atg.projects.store.storeconfig.InternationalizationStoreConfigurationContainer

public class InternationalizationStoreConfigurationContainer
extends java.lang.Object

InternationalizationStoreConfigurationContainer contains several properties for configuring a series of country-stores to run in the same application. storeConfigurations is a map, keyed by storeId, whose values are InternationalizationStoreConfiguration components that configure each country-store within the application.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
InternationalizationStoreConfigurationContainer()
           
 
Method Summary
 InternationalizationStoreConfiguration getDefaultStoreConfiguration()
           
 java.lang.String getDefaultStoreId()
           
 InternationalizationStoreConfiguration getStoreConfiguration(java.lang.String pStoreId)
          This method gets the InternationalizationStoreConfiguration component associated with the given storeId.
 atg.nucleus.ServiceMap getStoreConfigurations()
           
 boolean isStoreExist(java.lang.String pStoreId)
          This method returns a boolean indicating if the given store ID has a valid InternationalizationStoreConfiguration component assoicated with it
 void setDefaultStoreConfiguration(InternationalizationStoreConfiguration pDefaultStoreConfiguration)
           
 void setDefaultStoreId(java.lang.String pDefaultStoreId)
           
 void setStoreConfigurations(atg.nucleus.ServiceMap pStoreConfigurations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

InternationalizationStoreConfigurationContainer

public InternationalizationStoreConfigurationContainer()
Method Detail

getDefaultStoreConfiguration

public InternationalizationStoreConfiguration getDefaultStoreConfiguration()
Returns:
The default InternationalizationStoreConfiguration component, which configures the store when no storeId has been provided.

setDefaultStoreConfiguration

public void setDefaultStoreConfiguration(InternationalizationStoreConfiguration pDefaultStoreConfiguration)
Parameters:
pDefaultStoreConfiguration - The default InternationalizationStoreConfiguration component, which configures the store when no storeId has been provided.

getDefaultStoreId

public java.lang.String getDefaultStoreId()
Returns:
The ID of the default country-store

setDefaultStoreId

public void setDefaultStoreId(java.lang.String pDefaultStoreId)
Parameters:
pDefaultStoreId - The ID of the default country-store

getStoreConfigurations

public atg.nucleus.ServiceMap getStoreConfigurations()
Returns:
A map, keyed by storeId, whose values are InternationalizationStoreConfiguration components that configure each country-store within the application.

setStoreConfigurations

public void setStoreConfigurations(atg.nucleus.ServiceMap pStoreConfigurations)
Parameters:
pStoreConfigurations - A map, keyed by storeId, whose values are InternationalizationStoreConfiguration components that configure each country-store within the application.

getStoreConfiguration

public InternationalizationStoreConfiguration getStoreConfiguration(java.lang.String pStoreId)
This method gets the InternationalizationStoreConfiguration component associated with the given storeId.

Parameters:
pStoreId - the ID of the country-store
Returns:
the InternationalizationStoreConfiguration component associated with the given storeId

isStoreExist

public boolean isStoreExist(java.lang.String pStoreId)
This method returns a boolean indicating if the given store ID has a valid InternationalizationStoreConfiguration component assoicated with it

Parameters:
pStoreId - the ID of the country-store
Returns:
boolean indicating if the given store ID has a valid InternationalizationStoreConfiguration component assoicated with it