com.prozima.pengine
Class UpdateProjectCommand

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

public class UpdateProjectCommand
extends java.lang.Object
implements Command

Command describes how a project should be modified.


Constructor Summary
UpdateProjectCommand(int inProjectID)
          Create command and initialise its state.
 
Method Summary
 void setActiveScheduleID(java.lang.Integer inID)
          Set the ID of the currently active schedule for this project.
 void setName(java.lang.String inName)
          Change the name of the project.
 void setPriority(java.lang.Integer inPriority)
          Set the priority of the project.
 void setStartDate(java.util.Date inDate)
          Change the start date of the project.
 void setTimeTable(TimeTable inTimeTable)
          Change the TimeTable for this project.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateProjectCommand

public UpdateProjectCommand(int inProjectID)
Create command and initialise its state.

Parameters:
inProjectID - ID of the project.
Method Detail

setActiveScheduleID

public void setActiveScheduleID(java.lang.Integer inID)
Set the ID of the currently active schedule for this project.

Parameters:
inID - of the active schedule or null if there is no active schedule.

setName

public void setName(java.lang.String inName)
Change the name of the project.

Parameters:
inName - New name for the project. Cannot be null.

setPriority

public void setPriority(java.lang.Integer inPriority)
Set the priority of the project.

Parameters:
inPriority - New value for priority or null to clear the priority.

setStartDate

public void setStartDate(java.util.Date inDate)
Change the start date of the project.

Parameters:
inDate - New start date for the Project.

setTimeTable

public void setTimeTable(TimeTable inTimeTable)
Change the TimeTable for this project.

Parameters:
inTimeTable - New TimeTable for this project.