public class TradingAgreementRegistry extends AbstractManagedDynamicCacheRegistry
Modifier and Type | Field and Description |
---|---|
protected static TradingAgreementRegistry | singleton
A pointer to the trading agreement registry
|
Constructor and Description |
---|
TradingAgreementRegistry()
TradingAgreementRegistry constructor.
|
Modifier and Type | Method and Description |
---|---|
void | addElement(TradingAgreementAccessBean tradingAgreement)
This method adds a TradingAgreementAccessBean object to the list.
|
java.lang.Object | createKey(java.lang.String strKey)
This method creates a cache key.
|
java.lang.String | createKeyString(TypedProperty prop)
This method creates a cache key
|
TradingAgreementAccessBean | find(java.lang.String key)
This method returns the TradingAgreementAccessBean with a given id from the cache.
|
TradingAgreementAccessBean[] | findAll(java.lang.String[] taIdStr)
This method returns all the TradingAgreementAccessBean objects with the given ids from the cache.
|
TradingAgreementAccessBean[] | getAll()
This method returns all the TradingAgreementAccessBean objects in the cache
|
void | initialize()
This method initializes the TradingAgreementRegistry object.
|
void | populate(com.ibm.commerce.registry.LRUDynamicHashtable aCache)
This method populates the cache.
|
void | putAll(TradingAgreementAccessBean[] ta)
This method will store the given TradingAgreementAccessBean object in the registry.
|
void | refresh()
This method this method refreshes the trading agreement registry from the database.
|
void | refreshDependentRegistry(java.lang.String astrRegistryName)
This method refreshes a dependent registry.
|
java.lang.Object | retrieve(java.lang.Object key)
This method retrieves a TradingAgreementAccessBean object from the database.
|
static TradingAgreementRegistry | singleton()
This method returns a singleton instance of the trading agreement registry.
|
void | update(java.lang.String action, java.lang.Object key)
This method updates a given trading agreement element.
|
void | updateDependentRegistry(java.lang.String astrRegistryName, java.lang.String astrAction, java.lang.Object aKey)
This method updates a dependent registry.
|
protected static TradingAgreementRegistry singleton
public TradingAgreementRegistry()
public void addElement(TradingAgreementAccessBean tradingAgreement)
public TradingAgreementAccessBean find(java.lang.String key) throws java.lang.Exception
public TradingAgreementAccessBean[] findAll(java.lang.String[] taIdStr) throws java.lang.Exception
public TradingAgreementAccessBean[] getAll()
public void initialize() throws java.lang.Exception
public void putAll(TradingAgreementAccessBean[] ta)
public void updateDependentRegistry(java.lang.String astrRegistryName, java.lang.String astrAction, java.lang.Object aKey)
public void refreshDependentRegistry(java.lang.String astrRegistryName)
public void refresh() throws java.lang.Exception
public static TradingAgreementRegistry singleton()
public void update(java.lang.String action, java.lang.Object key) throws java.lang.Exception
public java.lang.Object retrieve(java.lang.Object key) throws java.lang.Exception
public void populate(com.ibm.commerce.registry.LRUDynamicHashtable aCache) throws java.lang.Exception
public java.lang.String createKeyString(TypedProperty prop) throws java.lang.Exception
public java.lang.Object createKey(java.lang.String strKey) throws java.lang.Exception