com.ibm.commerce.tickler.commands

Class TicklerUpdateCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, TicklerUpdateCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class TicklerUpdateCmdImpl
    extends ControllerCommandImpl
    implements TicklerUpdateCmd
    The class TicklerUpdateCmdImpl updates a tickler.

    Mandatory parameters: ticklerId, remindOnDate, URL

    Optional parameters: comment

    Behavior:

    • Checks if the supplied tickler IDs are valid and the ticklers are not locked by another CSR.
    • Calls the UpdateTickler task command to update the tickler.

    Exception conditions:

    • The tickler ID is not supplied.
    • The tickler is already locked by another CSR.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The name of this class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TicklerUpdateCmdImpl

        public TicklerUpdateCmdImpl()
    • Method Detail

      • getURL

        public java.lang.String getURL()
        This method retrieves the redirect URL.
        Returns:
        redirect URL.
      • setURL

        public void setURL(java.lang.String astrURL)
        This method sets the redirect URL.
        Parameters:
        astrURL - redirect URL.
      • getTicklerComment

        public java.lang.String getTicklerComment()
        This method retrieves the tickler comment.
        Returns:
        the tickler comment.
      • setTicklerComment

        public void setTicklerComment(java.lang.String astrTicklerComment)
        This method sets the tickler comment.
        Parameters:
        astrTicklerComment - text of the comment.
      • getRemindOnDate

        public java.sql.Timestamp getRemindOnDate()
        This method gets the date-time when this tickler should next pop into the queue.
        Returns:
        the date-time when this tickler should next pop into the queue.
      • setRemindOnDate

        public void setRemindOnDate(java.sql.Timestamp aRemindOnDate)
        This method sets the date-time when this tickler should next pop into the queue.
        Parameters:
        aRemindOnDate - date-time when this tickler should next pop into the queue.
      • getStrRemindOnDate

        public java.lang.String getStrRemindOnDate()
        This method retrieves the date-time when this tickler should next pop into the queue.
        Returns:
        the date-time when this tickler should next pop into the queue.
      • setStrRemindOnDate

        public void setStrRemindOnDate(java.lang.String astrRemindOnDate)
        This method sets the date-time when this tickler should next pop into the queue.
        Parameters:
        astrRemindOnDate - date-time when this tickler should next pop into the queue.
      • getAssignToMemberId

        public java.lang.Long getAssignToMemberId()
        This method retrieves the identifier of the Customer Service Representative to whom this tickler is assigned.
        Returns:
        the Customer Service Representative identifier.
      • setAssignToMemberId

        public void setAssignToMemberId(java.lang.Long anAssignToMemberId)
        This method sets the identifier of the Customer Service Representative to whom this tickler is assigned.
        Parameters:
        anAssignToMemberId - Customer Service Representative identifier.
      • getTicklerId

        public java.lang.Long getTicklerId()
        This method retrieves the tickler identifier. Tickler id is the unique number to identify the to-do item.
        Returns:
        the tickler identifier.
      • setTicklerId

        public void setTicklerId(java.lang.Long anTicklerId)
        This method sets the tickler identifier. Tickler id is the unique number to identify the to-do item.
        Parameters:
        anTicklerId - tickler identifier.
      • reset

        public void reset()
        This method resets all the command parameters.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand