com.ibm.commerce.giftregistry.beans

Class GiftRegistryRuleDataBean

    • Field Detail

      • COPYRIGHT

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

      • GiftRegistryRuleDataBean

        public GiftRegistryRuleDataBean()
        Generates an empty GiftRegistryRulesDataBean
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context as CommandContext object.
      • setCommandContext

        public void setCommandContext(CommandContext commandContext)
        Sets the command context set within this bean
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        commandContext - The command context.
      • populate

        public void populate()
        Populates the data bean with data elements
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - if there is a problem populating the data bean with data.
      • setRequestProperties

        public void setRequestProperties(TypedProperty param)
        Sets the request properties within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        requestProperties - the set of properties passed to the JSP page that invokes this data bean,
        Throws:
        java.lang.Exception - if there is a problem when setting the request properties. This particular method should not throw any exception because it just stores the request properties.
      • getStoreId

        public java.lang.Integer getStoreId()
        Returns the internal gift registry rule store ID
        Overrides:
        getStoreId in class GiftRegistryRuleAccessBean
        Returns:
        The internal gift registry rule store ID
      • getEventTypeName

        public java.lang.String getEventTypeName()
        Returns the event type ID stored in the registry rule.
        Overrides:
        getEventTypeName in class GiftRegistryRuleAccessBean
        Returns:
        The event type ID stored in the registry rule.
      • getName

        public java.lang.Integer getName()
        Returns the internal gift registry rule name
        Overrides:
        getName in class GiftRegistryRuleAccessBean
        Returns:
        The internal gift registry rule name
      • getDescription

        public java.lang.String getDescription()
        Returns the internal gift registry rule description
        Overrides:
        getDescription in class GiftRegistryRuleAccessBean
        Returns:
        The internal gift registry rule description
      • getGrRuleVal

        public java.lang.String getGrRuleVal()
        Returns the internal gift registry rule value
        Overrides:
        getGrRuleVal in class GiftRegistryRuleAccessBean
        Returns:
        The internal gift registry rule value
      • getGrRegRuleId

        public java.lang.Integer getGrRegRuleId()
        Returns the internal gift registry rule ID
        Overrides:
        getGrRegRuleId in class GiftRegistryRuleAccessBean
        Returns:
        The internal gift registry rule ID