com.prozima.pengine
Class DeleteWorkCommand

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

public class DeleteWorkCommand
extends java.lang.Object
implements Command

Command deletes finished work for an activity. After the work is deleted, the schedule is recalculated and all lower priority projects will also be recalculated.

See Also:
Activity, Resource, Work

Constructor Summary
DeleteWorkCommand(Work inWork)
          Create the command and initialise its state.
 
Method Summary
 Work getWork()
          Get a description of the Work.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteWorkCommand

public DeleteWorkCommand(Work inWork)
Create the command and initialise its state.

Parameters:
inWork - Description of the Work to be deleted. null should never be passed as value.
Method Detail

getWork

public Work getWork()
Get a description of the Work.

Returns:
Work. null should never be returned.