com.ibm.commerce.tickler.commands

Class TicklerActionRecordCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, TicklerActionRecordCmd, 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 TicklerActionRecordCmdImpl
    extends ControllerCommandImpl
    implements TicklerActionRecordCmd
    The class TicklerActionRecordCmdImpl is used to record a Customer Service Representative action on a tickler, closing the tickler if the action is a resolving action.

    Mandatory parameters: ticklerId, ticklerActionId, URL

    Optional parameters: actionDate, inAssignToMemberId, comment

    Behavior:

    • Checks if the supplied tickler ID is valid.
    • Checks if the supplied tickler action code is valid.
    • Calls the RecordTicklerAction task command to record the action on the tickler.

    Exceptional conditions:

    • Tickler ID is not supplied.
    • Tickler action code is not supplied.

    Default security policies:

    • CSRs can execute this command.
    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

      • TicklerActionRecordCmdImpl

        public TicklerActionRecordCmdImpl()
    • Method Detail

      • getTicklerId

        public java.lang.Long getTicklerId()
        This method returns 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.
      • getTicklerActionId

        public java.lang.Integer getTicklerActionId()
        This method retrieves the tickler action code. A tickler action classifies work that is performed in an effort to resolve a tickler.
        Returns:
        the tickler action code
      • setTicklerActionId

        public void setTicklerActionId(java.lang.Integer anTicklerActionId)
        This method is used to set the tickler action code. A tickler action classifies work that is performed in an effort to resolve a tickler.
        Parameters:
        anTicklerActionId - tickler action code.
      • getURL

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

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

        public java.sql.Timestamp getActionDate()
        This method retrieves the timestamp of the tickler action.
        Returns:
        the timestamp of the tickler action.
      • setActionDate

        public void setActionDate(java.sql.Timestamp anActionDate)
        This method sets the timestamp of the tickler action.
        Parameters:
        anActionDate - timestamp of the tickler action.
      • getAssignToMemberId

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

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

        public java.lang.String getActionComment()
        This method retrieves the tickler action comment(notes on the action).
        Returns:
        the tickler action comment.
      • setActionComment

        public void setActionComment(java.lang.String astrComment)
        This method sets the tickler action comment (notes on the action). A tickler action classifies work that is performed in an effort to resolve a tickler.
        Parameters:
        astrComment - tickler action comment.
      • 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