com.ibm.commerce.tickler.beans

Class TicklerDataBean

    • Field Detail

      • COPYRIGHT

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

      • TicklerDataBean

        public TicklerDataBean()
        Constructs a TicklerDataBean, initializing its fields to null.
      • TicklerDataBean

        public TicklerDataBean(TicklerAccessBean anAccessBean)
        Constructs a TicklerDataBean from a given TicklerAccessBean. TicklerAccessBean holds to-do items requiring actions to resolve.
        Parameters:
        anAccessBean - the TicklerAccessBean
        Throws:
        java.lang.Exception
    • Method Detail

      • populate

        public void populate()
        Fetches the field values from the access bean.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - thrown on any access bean error
      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request parameters as a TypedProperty. TypedProperties is a wrapper to a java.util.Map.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        the request parameters
      • setRequestProperties

        public void setRequestProperties(TypedProperty newRequestProperties)
        This method copies the input parameters supplied as a TypedProperty. TypedProperties is a wrapper to a java.util.Map.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        newRequestProperties - request parameters
      • getCommandContext

        public CommandContext getCommandContext()
        This method gets the active command context. Use the commandContext to obtain information related to session and users from the web controller.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        the active command context
      • setCommandContext

        public void setCommandContext(CommandContext newCommandContext)
        This method sets the active command context. Use the commandContext to obtain information related to session and users from the web controller.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        newCommandContext - active command context
      • getDataBeanKeyTicklerId

        public java.lang.Long getDataBeanKeyTicklerId()
        This method gets the tickler ID database key. Tickler id is the unique number to identify the to-do item.
        Specified by:
        getDataBeanKeyTicklerId in interface TicklerSmartDataBean
        Returns:
        tickler ID
      • setDataBeanKeyTicklerId

        public void setDataBeanKeyTicklerId(java.lang.Long ticklerId)
        This method sets the tickler ID database key. This will override any tickler ID value from the request parameters. Tickler id is the unique number to identify the to-do item.
        Specified by:
        setDataBeanKeyTicklerId in interface TicklerInputDataBean
        Parameters:
        ticklerId - tickler ID