|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.commands.Command<CommentEntity>
ccc.commands.UpdateCommentCommand
public class UpdateCommentCommand
Command to update a comment.
Constructor Summary | |
---|---|
UpdateCommentCommand(IRepositoryFactory repoFactory,
java.util.UUID commentId,
Comment comment)
Constructor. |
Method Summary | |
---|---|
protected CommentEntity |
doExecute(UserEntity actor,
java.util.Date happenedOn)
Execute the command. |
protected CommandType |
getType()
Get the type of this command. |
Methods inherited from class ccc.commands.Command |
---|
afterExecute, authorize, beforeExecute, execute, getAudit, getComments, getData, getGroups, getRepository, getUsers, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateCommentCommand(IRepositoryFactory repoFactory, java.util.UUID commentId, Comment comment)
repoFactory
- The repository factory for this command.commentId
- The ID of the comment to update.comment
- Details of the comment to update.Method Detail |
---|
protected CommentEntity doExecute(UserEntity actor, java.util.Date happenedOn)
doExecute
in class Command<CommentEntity>
actor
- The user who performed the command.happenedOn
- When the command was performed.
protected CommandType getType()
getType
in class Command<CommentEntity>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |