|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.commands.ClearWorkingCopyCommand
public class ClearWorkingCopyCommand
Command: clears the working copy for a resource.
Constructor Summary | |
---|---|
ClearWorkingCopyCommand(ResourceRepository repository,
LogEntryRepository audit)
Constructor. |
Method Summary | |
---|---|
void |
execute(UserEntity actor,
java.util.Date happenedOn,
java.util.UUID resourceId)
Clear a resource's working copy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClearWorkingCopyCommand(ResourceRepository repository, LogEntryRepository audit)
repository
- The ResourceDao used for CRUD operations, etc.audit
- The audit logger, for logging business actions.Method Detail |
---|
public void execute(UserEntity actor, java.util.Date happenedOn, java.util.UUID resourceId)
resourceId
- The resource's id.actor
- The user that executed the command.happenedOn
- The date the command was executed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |