com.ibm.commerce.tickler.commands

Class TicklerAssignCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, TicklerAssignCmd, 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 TicklerAssignCmdImpl
    extends ControllerCommandImpl
    implements TicklerAssignCmd
    The class TicklerAssignCmdImpl assigns a list of ticklers to another Customer Service Representative (CSR).

    Mandatory parameters: ticklerId, ticklerActionId, URL

    Optional parameters: actionDate, inAssignToMemberId, comment

    Behavior:

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

    Exceptional conditions:

    • No tickler ID is supplied.
    • No tickler action code is supplied.

    Default security policies:

    • CSR Supervisors 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

      • TicklerAssignCmdImpl

        public TicklerAssignCmdImpl()
    • Method Detail

      • getTicklerIds

        public java.lang.Long[] getTicklerIds()
        This method retrieves the list of tickler identifiers. Tickler id is the unique number to identify the to-do item.
        Returns:
        array of tickler identifiers.
      • setTicklerIds

        public void setTicklerIds(java.lang.Long[] aarrnTicklerIds)
        This method sets the list of tickler identifiers. Tickler id is the unique number to identify the to-do item.
        Parameters:
        aarrnTicklerIds - array of tickler identifiers.
      • 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 sets 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 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.
      • getActionDate

        public java.sql.Timestamp getActionDate()
        This method retrieves the timestamp of the tickler action. A tickler action classifies work that is performed in an effort to resolve a tickler.
        Returns:
        the timestamp of the tickler action.
      • setActionDate

        public void setActionDate(java.sql.Timestamp anActionDate)
        This method sets the timestamp of the tickler action. A tickler action classifies work that is performed in an effort to resolve a tickler.
        Parameters:
        anActionDate - timestamp of the tickler action.
      • getAssignToMemberId

        public java.lang.Long getAssignToMemberId()
        This method gets 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.
      • getActionComment

        public java.lang.String getActionComment()
        This method returns the tickler action comment (notes on the action). A tickler action classifies work that is performed in an effort to resolve a tickler.
        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