com.ibm.commerce.tickler.commands

Class TicklerUnlockCmdImpl

  • All Implemented Interfaces:
    AccCommand, com.ibm.commerce.command.CacheableECCommand, ControllerCommand, ECCommand, ECTargetableCommand, TaskCommand, Protectable, TicklerUnlockCmd, 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 TicklerUnlockCmdImpl
    extends ControllerCommandImpl
    implements TicklerUnlockCmd
    The class TicklerUnlockCmdImpl unlocks a tickler after a CSR has finished working on it.

    Mandatory parameters: ticklerId, URL

    Behavior:

    1. Checks if the supplied tickler ID is valid and the tickler is locked by this TSR.
    2. Calls the UnlockTickler task command to unlock the tickler.

    Exceptional conditions:

    • No tickler ID is supplied.
    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

      • TicklerUnlockCmdImpl

        public TicklerUnlockCmdImpl()
    • Method Detail

      • getURL

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

        public void setURL(java.lang.String astrURL)
        This method sets the redirect URL.
        Parameters:
        astrURL - redirect URL.
      • 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