|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.commands.MoveResourceCommand
public class MoveResourceCommand
Command: move a resource to another folder.
Constructor Summary | |
---|---|
MoveResourceCommand(ResourceRepository repository,
LogEntryRepository audit)
Constructor. |
Method Summary | |
---|---|
void |
execute(UserEntity actor,
java.util.Date happenedOn,
java.util.UUID resourceId,
java.util.UUID newParentId)
Move a resource to a new parent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveResourceCommand(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, java.util.UUID newParentId)
resourceId
- The id of the resource to move.newParentId
- The id of the new parent.actor
- The user who performed the command.happenedOn
- When the command was performed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |