com.ibm.commerce.negotiation.bean.commands

Class SealedBidControlRuleBeanCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SealedBidControlRuleBeanCmdImpl

        public SealedBidControlRuleBeanCmdImpl()
        Creates an instance of OpenCryBidRuleControlBeanCmdImpl, default constructor.
    • Method Detail

      • getBidControlRule

        public ControlRuleAccessBean getBidControlRule()
        Returns the access bean manipulated by the command.
        Returns:
        com.ibm.commerce.negotiation.objects.ControlRuleAccessBean
      • getBidControlRuleId

        public java.lang.Long getBidControlRuleId()
        Returns the control rule ID.
        Returns:
        java.lang.Integer
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Description copied from class: AbstractECTargetableCommand
        This method is called by the targetable command framework. This is where client side parameter checking is performed (before the execution of the command). The default implementation is to return true.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        Always returns 'true'.
      • performExecute

        public void performExecute()
                            throws ECException
        Uses the access bean to lookup a control rule, then populates its associated rule interpreter data bean.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - when data bean could not be populated.
      • performSecurityCheck

        public boolean performSecurityCheck()
        Returns:
        Always returns 'false' (does nothing).
      • reset

        public void reset()
        Does nothing.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand