com.ibm.commerce.installment.facade.server.util

Class BSFInstallmentRuleConditionImpl

  • java.lang.Object
    • com.ibm.commerce.installment.facade.server.util.BSFInstallmentRuleConditionImpl
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean evaluate(java.lang.Long anCatalogEntryId)
      Evaluates whether a catalog entry meets the condition.
      void setProperties(java.util.Map amapProperties)
      Sets the properties of the condition.
      • Methods inherited from class java.lang.Object

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

      • BSFInstallmentRuleConditionImpl

        public BSFInstallmentRuleConditionImpl()
    • Method Detail

      • setProperties

        public void setProperties(java.util.Map amapProperties)
        Description copied from interface: InstallmentRuleCondition
        Sets the properties of the condition. This method is called once by the installment component when the condition is instantiated.
        Specified by:
        setProperties in interface InstallmentRuleCondition
        Parameters:
        amapProperties - the properties.
        Key type: String.
        Value type: String.
      • evaluate

        public boolean evaluate(java.lang.Long anCatalogEntryId)
                         throws java.lang.Exception
        Description copied from interface: InstallmentRuleCondition
        Evaluates whether a catalog entry meets the condition. This method must be reentrant.
        Specified by:
        evaluate in interface InstallmentRuleCondition
        Parameters:
        anCatalogEntryId - A catalog entry ID.
        Returns:
        True if the condition is met, false otherwise.
        Throws:
        java.lang.Exception