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 class defines a registry that caches TermCondition objects.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright statement.
      static java.lang.String REGISTRY_NAME
      The name of this registry.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static TermConditionRegistry getInstance()
      This method returns the TermConditionRegistry instance.
      TermConditionAccessBean getTermCondition(java.lang.Long anTermConditionId)
      This method returns the TermConditionAccessBean with the specified term and condition identifier.
      void initialize()
      This method initializes this registry.
      void refresh()
      This method refreshes this registry.
      void update(java.lang.String astrAction, java.lang.String astrKey)
      This method updates the TermConditionAccessBean with the specified term and condition identifier.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        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()
        This method returns the TermConditionRegistry instance.
        Returns:
        The TermConditionRegistry instance.
      • initialize

        public void initialize()
                        throws java.lang.Exception
        This method 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
        This method 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
        This method returns the TermConditionAccessBean with the specified term and condition identifier.
        Parameters:
        anTermConditionId - The TermCondition identifier.
        Returns:
        The TermConditionAccessBean, or null if it is not found.
        Throws:
        ECException
      • update

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