com.prozima.pengine
Class DeleteScheduleCommand

java.lang.Object
  extended by com.prozima.pengine.CreateScheduleCommand
      extended by com.prozima.pengine.DeleteScheduleCommand
All Implemented Interfaces:
Command

public class DeleteScheduleCommand
extends CreateScheduleCommand

Command requests the deletion of a schedule. A schedule may only be deleted if it has no activities or milestones. When a schedule is deleted, the API fires the event EventInterface.ID.SCHEDULE_REMOVED. IF it is attempted to delete a schedule which has an attached schedule node, the the API fires the event EventInterface.ID.ERROR_DELETE_SCHEDULE_WITH_NODES.


Constructor Summary
DeleteScheduleCommand(Schedule inSchedule)
          Creates a command to delete the specified schedule.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteScheduleCommand

public DeleteScheduleCommand(Schedule inSchedule)
Creates a command to delete the specified schedule.

Parameters:
inSchedule - Description of schedule to be deleted. null is not a valid value.