com.prozima.pengine
Class UpdateScheduleCommand

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

public class UpdateScheduleCommand
extends java.lang.Object
implements Command

Command modifies the state of an existing schedule.


Constructor Summary
UpdateScheduleCommand(int inProjectID, int inScheduleID)
          Create the command and identify the schedule
 
Method Summary
 boolean setNewName(java.lang.String inNewName)
          Set the new name for the schedule.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateScheduleCommand

public UpdateScheduleCommand(int inProjectID,
                             int inScheduleID)
Create the command and identify the schedule

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

setNewName

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

Parameters:
inNewName - New name. Cannot be null.
Returns:
true if it was set correctly, otherwise false.