java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.common.objects.StoreAccessBean | +--com.ibm.commerce.registry.StoreCopy
This class is for internal use by the StoreRegistry.
Constructor Summary | |
---|---|
StoreCopy() Constructor for StoreCopy. |
Method Summary | |
---|---|
java.lang.String |
getDefaultContractId() Gets the default contract id |
java.lang.Long |
getDefaultContractIdInEJBType() Gets the default contract id |
java.lang.Integer[] |
getRelatedStores(java.lang.String storeRelationshipTypeName) Returns the stores related to this store by the given store relationship type. |
java.util.ResourceBundle |
getResourceBundle(java.lang.String resourceName,
java.util.Locale locale) Gets a property resource bundle from this store's properties directory. |
StoreDefaultAccessBean |
getStoreDefault() Gets the StoreDefaultAccessBean |
java.lang.Integer[] |
getStorePath(java.lang.String storeRelationshipTypeName) Returns the stores related to this store by the given store relationship type. |
java.lang.Integer[] |
getStoresForRelatedStore(java.lang.String storeRelationshipTypeName) Returns the stores where this store is the related store by the given store relationship type. |
java.lang.Integer[] |
getSupportedLanguageIds() Gets the supported languages. |
java.util.Enumeration |
getTaxCategory(java.lang.Integer taxType) Gets an enumeration of all tax category for a given tax type. |
boolean |
publicFileExists(java.lang.String filename) Caches a snapshot of the store directory under the webapp doc root, and returns true if the given file exists in the cache. |
void |
refreshCopyHelper() Refreshes copy helper. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public StoreCopy()
Method Detail |
---|
public java.lang.Integer[] getRelatedStores(java.lang.String storeRelationshipTypeName) throws FinderException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
getRelatedStores
in class
StoreAccessBean
storeRelationshipTypeName
- the store relationship type
namejava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjava.sql.SQLException
- The java.sql.SQLException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionFinderException
com.ibm.commerce.common.objects.StoreRelationshipJDBCHelperAccessBean#findRelatedStores(java.lang.Integer,
java.lang.String)
public StoreDefaultAccessBean getStoreDefault() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
getStoreDefault
in class
StoreAccessBean
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
public java.lang.Integer[] getStoresForRelatedStore(java.lang.String storeRelationshipTypeName) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException, java.sql.SQLException
getStoresForRelatedStore
in class
StoreAccessBean
storeRelationshipTypeName
- the store relationship type
namejavax.naming.NamingException
java.sql.SQLException
java.rmi.RemoteException
FinderException
CreateException
com.ibm.commerce.common.objects.StoreRelationshipJDBCHelperAccessBean#findStoresByRelatedStoreAndStoreRelType(java.lang.Integer,
java.lang.String)
public java.lang.Integer[] getStorePath(java.lang.String storeRelationshipTypeName) throws CreateException, FinderException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
getRelatedStores
,
with the additional semantic that if there are no related stores, this
store's id is returned.
getStorePath
in class
StoreAccessBean
storeRelationshipTypeName
- the store relationship type
namejavax.naming.NamingException
- The
javax.naming.NamingException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjava.sql.SQLException
- The java.sql.SQLException
exceptionCreateException
FinderException
com.ibm.commerce.common.objects.StoreRelationshipJDBCHelperAccessBean#findRelatedStores(java.lang.Integer,
java.lang.String)
public java.util.Enumeration getTaxCategory(java.lang.Integer taxType) throws javax.naming.NamingException, java.rmi.RemoteException, javax.ejb.FinderException
getTaxCategory
in class
StoreAccessBean
taxType
- tax typejavax.naming.NamingException,
- java.rmi.RemoteException,
javax.ejb.FinderExceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.FinderException
TaxCategoryAccessBean.findByStoreAndTaxType(java.lang.Integer,
java.lang.Integer)
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
refreshCopyHelper
in class
StoreAccessBean
javax.naming.NamingException,
- java.rmi.RemoteException,
javax.ejb.FinderExceptionjava.rmi.RemoteException
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
public java.util.ResourceBundle getResourceBundle(java.lang.String resourceName, java.util.Locale locale) throws ECException
resourceName
- the name of the resourcelocale
- the localeECException
public boolean publicFileExists(java.lang.String filename) throws ECException
filename
- the name of a file under the store directoryECException
public java.lang.Long getDefaultContractIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getDefaultContractIdInEJBType
in class
StoreAccessBean
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
public java.lang.String getDefaultContractId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getDefaultContractId
in class
StoreAccessBean
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
StoreDefaultAccessBean.findByStore(java.lang.Integer)
public java.lang.Integer[] getSupportedLanguageIds() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getSupportedLanguageIds
in class
StoreAccessBean
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
SupportedLanguageAccessBean.findByStore(java.lang.Integer)