jBPM distribution 6.0.0.CR5

org.jbpm.services.task.impl
Class TaskCommentServiceImpl

java.lang.Object
  extended by org.jbpm.services.task.impl.TaskCommentServiceImpl
All Implemented Interfaces:
org.kie.internal.task.api.TaskCommentService

@ApplicationScoped
public class TaskCommentServiceImpl
extends Object
implements org.kie.internal.task.api.TaskCommentService


Constructor Summary
TaskCommentServiceImpl()
           
 
Method Summary
 long addComment(long taskId, Comment comment)
           
 void deleteComment(long taskId, long commentId)
           
 List<Comment> getAllCommentsByTaskId(long taskId)
           
 CommentImpl getCommentById(long commentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskCommentServiceImpl

public TaskCommentServiceImpl()
Method Detail

addComment

public long addComment(long taskId,
                       Comment comment)
Specified by:
addComment in interface org.kie.internal.task.api.TaskCommentService

deleteComment

public void deleteComment(long taskId,
                          long commentId)
Specified by:
deleteComment in interface org.kie.internal.task.api.TaskCommentService

getAllCommentsByTaskId

public List<Comment> getAllCommentsByTaskId(long taskId)
Specified by:
getAllCommentsByTaskId in interface org.kie.internal.task.api.TaskCommentService

getCommentById

public CommentImpl getCommentById(long commentId)
Specified by:
getCommentById in interface org.kie.internal.task.api.TaskCommentService

jBPM distribution 6.0.0.CR5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.