public class BiConfigEmailRegistry
extends java.lang.Object
implements com.ibm.commerce.registry.Registry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
BiConfigEmailRegistry() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientId(java.lang.Integer storeId)
Returns the
clientId for the store specified by the storeId |
static BiConfigEmailRegistry |
getInstance()
Singleton method to return an instance of this class
|
java.lang.String |
getProvider(java.lang.Integer storeId)
Gets the analytics provider for the given store
|
void |
initialize()
Initiative the registry by reading the BI configuration file (biConfig.xml)
and setting the class properties
|
boolean |
isEnabled(java.lang.Integer storeId)
Checks whether coremetrics is enabled for the particluar store
|
void |
refresh()
Re-initializes the registry.
|
public static final java.lang.String COPYRIGHT
public java.lang.String getClientId(java.lang.Integer storeId)
clientId
for the store specified by the storeId
storeId
- The storeId
of the store for which the clientId
will be returnedclientId
public static BiConfigEmailRegistry getInstance()
public java.lang.String getProvider(java.lang.Integer storeId)
storeId
- The storeId
of the storenull
if the storeId is invalidpublic void initialize() throws java.lang.Exception
initialize
in interface com.ibm.commerce.registry.Registry
java.lang.Exception
- Indicates that biConfig.xml file cannot be found.public boolean isEnabled(java.lang.Integer storeId)
storeId
- The storeId
of the storepublic void refresh() throws java.lang.Exception
refresh
in interface com.ibm.commerce.registry.Registry
java.lang.Exception
- If the biConfig.xml file cannot be found.