|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prevayler.demos.jxpath.commands.AddTask
public class AddTask
Constructor Summary | |
---|---|
AddTask()
|
Method Summary | |
---|---|
void |
executeOn(ProjectManagementSystem system,
Date ignored)
This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System. |
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 |
---|
public AddTask()
Method Detail |
---|
public void executeOn(ProjectManagementSystem system, Date ignored)
Transaction
executeOn
in interface Transaction<ProjectManagementSystem>
system
- The system on which this Transaction will execute.ignored
- The time at which this Transaction is being executed. Every Transaction executes completely within a single moment in time. Logically, a Prevalent System's time does not pass during the execution of a Transaction.public int getProjectId()
public Task getTask()
public void setProjectId(int projectId)
projectId
- The projectId to setpublic void setTask(Task task)
task
- The task to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |