org.prevayler.demos.jxpath.commands
Class AddTask

java.lang.Object
  extended by org.prevayler.demos.jxpath.commands.AddTask
All Implemented Interfaces:
Serializable, Transaction

public class AddTask
extends Object
implements Transaction

Author:
Carlos Villela
See Also:
Serialized Form

Constructor Summary
AddTask()
           
 
Method Summary
 void executeOn(Object system, Date ignored)
           
 int getProjectId()
          Returns the projectId.
 Task getTask()
          Returns the task.
 void setProjectId(int projectId)
          Sets the projectId.
 void setTask(Task task)
          Sets the task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddTask

public AddTask()
Method Detail

executeOn

public void executeOn(Object system,
                      Date ignored)
Specified by:
executeOn in interface Transaction

getProjectId

public int getProjectId()
Returns the projectId.

Returns:
int

getTask

public Task getTask()
Returns the task.

Returns:
Task

setProjectId

public void setProjectId(int projectId)
Sets the projectId.

Parameters:
projectId - The projectId to set

setTask

public void setTask(Task task)
Sets the task.

Parameters:
task - The task to set


Copyright © 2001-2011. All Rights Reserved.