ccc.commands
Class ScheduleActionCommand

java.lang.Object
  extended by ccc.commands.ScheduleActionCommand

public class ScheduleActionCommand
extends java.lang.Object

Command: schedule an action.

Author:
Civic Computing Ltd.

Constructor Summary
ScheduleActionCommand(IRepositoryFactory repoFactory)
          Constructor.
 
Method Summary
 void execute(UserEntity actor, java.util.Date happenedOn, ActionEntity action)
          Schedule an action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleActionCommand

public ScheduleActionCommand(IRepositoryFactory repoFactory)
Constructor.

Parameters:
repoFactory - The repository factory for this command.
Method Detail

execute

public void execute(UserEntity actor,
                    java.util.Date happenedOn,
                    ActionEntity action)
Schedule an action.

Parameters:
action - The action to schedule.
actor - The user that executed the command.
happenedOn - The date the command was executed.


Copyright © 2010. All Rights Reserved.