Class TicklerLockCmdImpl

  • All Implemented Interfaces:
    AccCommand,, ControllerCommand, ECCommand, ECTargetableCommand, TaskCommand, Protectable, TicklerLockCmd,,,,,,

    public class TicklerLockCmdImpl
    extends ControllerCommandImpl
    implements TicklerLockCmd
    The class TicklerLockCmdImpl locks a tickler when a CSR is working on it.

    Mandatory parameters: ticklerId, URL


    1. Checks if the supplied tickler ID is valid and the tickler is not locked by another CSR.
    2. Checks if the tickler is open.
    3. Calls the LockTickler task command to lock the tickler.

    Exceptional conditions:

    • No tickler ID is supplied.
    • The tickler has been closed.
    • The tickler is already locked by another CSR.
    See Also:
    Serialized Form
    • Field Detail


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

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

      • TicklerLockCmdImpl

        public TicklerLockCmdImpl()
    • Method Detail

      • getURL

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

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

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