com.ibm.commerce.registry
Class TermConditionRegistry

java.lang.Object
  |
  +--com.ibm.commerce.registry.TermConditionRegistry
All Implemented Interfaces:
ItemUpdate, Registry

public class TermConditionRegistry
extends java.lang.Object
implements Registry, ItemUpdate

This registry caches TermConditions.


Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String REGISTRY_NAME
          The name of this registry.
 
Method Summary
static  TermConditionRegistry getInstance()
          Returns the TermConditionRegistry instance.
  TermConditionAccessBean getTermCondition(java.lang.Long anTermConditionId)
          Returns the TermConditionAccessBean with the specified term and condition identifier.
 void initialize()
          Initializes this registry.
 void refresh()
          Refreshes this registry.
 void update(java.lang.String astrAction, java.lang.String astrKey)
          Updates the TermConditionAccessBean with the specified term and condition identifer.
 
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
Copyright statement.
See Also:
Constant Field Values

REGISTRY_NAME

public static final java.lang.String REGISTRY_NAME
The name of this registry.
See Also:
Constant Field Values
Method Detail

getInstance

public static TermConditionRegistry getInstance()
Returns the TermConditionRegistry instance.
Returns:
the TermConditionRegistry instance

initialize

public void initialize()
                throws java.lang.Exception
Initializes this registry.
Specified by:
initialize in interface Registry
Throws:
java.lang.Exception
See Also:
Registry.initialize()

refresh

public void refresh()
             throws java.lang.Exception
Refreshes this registry.
Specified by:
refresh in interface Registry
Throws:
java.lang.Exception
See Also:
Registry.refresh()

getTermCondition

public TermConditionAccessBean getTermCondition(java.lang.Long anTermConditionId)
                                         throws ECException
Returns the TermConditionAccessBean with the specified term and condition identifier.
Parameters:
anTermConditionId - The TermCondition identifier
Returns:
the TermConditionAccessBean, or null if not found
Throws:
ECException

update

public void update(java.lang.String astrAction,
                   java.lang.String astrKey)
            throws java.lang.Exception
Updates the TermConditionAccessBean with the specified term and condition identifer.
Specified by:
update in interface ItemUpdate
Parameters:
astrAction - ignored.
astrKey - The TermCondition identifier
Throws:
java.lang.Exception