Class DeleteTaskCmd

  • All Implemented Interfaces:
    java.io.Serializable, Command<java.lang.Void>

    public class DeleteTaskCmd
    extends java.lang.Object
    implements Command<java.lang.Void>, java.io.Serializable
    Author:
    Joram Barrez
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean cascade  
      protected java.lang.String deleteReason  
      protected java.lang.String taskId  
      protected java.util.Collection<java.lang.String> taskIds  
    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteTaskCmd​(java.lang.String taskId, java.lang.String deleteReason, boolean cascade)  
      DeleteTaskCmd​(java.util.Collection<java.lang.String> taskIds, java.lang.String deleteReason, boolean cascade)  
    • Field Detail

      • taskId

        protected java.lang.String taskId
      • taskIds

        protected java.util.Collection<java.lang.String> taskIds
      • cascade

        protected boolean cascade
      • deleteReason

        protected java.lang.String deleteReason
    • Constructor Detail

      • DeleteTaskCmd

        public DeleteTaskCmd​(java.lang.String taskId,
                             java.lang.String deleteReason,
                             boolean cascade)
      • DeleteTaskCmd

        public DeleteTaskCmd​(java.util.Collection<java.lang.String> taskIds,
                             java.lang.String deleteReason,
                             boolean cascade)
    • Method Detail

      • deleteTask

        protected void deleteTask​(java.lang.String taskId,
                                  CommandContext commandContext)