com.prozima.pengine
Class CopyScheduleCommand

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

public class CopyScheduleCommand
extends java.lang.Object
implements Command

Copies a schedule and its schedule nodes.


Constructor Summary
CopyScheduleCommand(int inProjectID, int inScheduleID)
          Create a new command and set the Project and Schedule IDs.
 
Method Summary
 void setIsBaseline(boolean inIsBaseline)
          Set the Baseline status of the new schedule.
 boolean setNewName(java.lang.String inNewName)
          Set the name for the new schedule.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyScheduleCommand

public CopyScheduleCommand(int inProjectID,
                           int inScheduleID)
Create a new command and set the Project and Schedule IDs.

Parameters:
inProjectID - ID of the Project.
inScheduleID - ID of the Schedule.
Method Detail

setIsBaseline

public void setIsBaseline(boolean inIsBaseline)
Set the Baseline status of the new schedule.

Parameters:
inIsBaseline - true if schedule is to be a Baseline.

setNewName

public boolean setNewName(java.lang.String inNewName)
Set the name for the new schedule.

Parameters:
inNewName - Name of the newly created schedule. null is not permitted as a value.
Returns:
true if it was set correctly, otherwise false.