|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.prevayler.demos.jxpath.commands.AddProject
public class AddProject
Adds a Project to the system.
| Constructor Summary | |
|---|---|
AddProject()
|
|
| 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. |
Project |
getProject()
Returns the project. |
void |
setProject(Project project)
Sets the project. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddProject()
| 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 Project getProject()
public void setProject(Project project)
project - The project to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||