接口 org.activiti.engine.task.Comment
的使用

使用 Comment 的软件包
org.activiti.engine Public API of the Activiti engine. 
org.activiti.engine.impl API implementation classes, which shouldn't directly be used by end-users. 
org.activiti.engine.impl.cmd   
org.activiti.engine.impl.persistence.entity   
 

org.activiti.engineComment 的使用
 

返回 Commentorg.activiti.engine 中的方法
 Comment TaskService.addComment(String taskId, String processInstanceId, String message)
          Add a comment to a task and/or process instance.
 Comment TaskService.addComment(String taskId, String processInstanceId, String type, String message)
          Add a comment to a task and/or process instance with a custom type.
 Comment TaskService.getComment(String commentId)
          Returns an individual comment with the given id.
 

返回变量类型为 Comment 的类型的 org.activiti.engine 中的方法
 List<Comment> TaskService.getCommentsByType(String type)
          All comments of a given type.
 List<Comment> TaskService.getProcessInstanceComments(String processInstanceId)
          The comments related to the given process instance.
 List<Comment> TaskService.getTaskComments(String taskId)
          The comments related to the given task.
 List<Comment> TaskService.getTaskComments(String taskId, String type)
          The comments related to the given task of the given type.
 

org.activiti.engine.implComment 的使用
 

返回 Commentorg.activiti.engine.impl 中的方法
 Comment TaskServiceImpl.addComment(String taskId, String processInstance, String message)
           
 Comment TaskServiceImpl.addComment(String taskId, String processInstance, String type, String message)
           
 Comment TaskServiceImpl.getComment(String commentId)
           
 

返回变量类型为 Comment 的类型的 org.activiti.engine.impl 中的方法
 List<Comment> TaskServiceImpl.getCommentsByType(String type)
           
 List<Comment> TaskServiceImpl.getProcessInstanceComments(String processInstanceId)
           
 List<Comment> TaskServiceImpl.getTaskComments(String taskId)
           
 List<Comment> TaskServiceImpl.getTaskComments(String taskId, String type)
           
 

org.activiti.engine.impl.cmdComment 的使用
 

返回 Commentorg.activiti.engine.impl.cmd 中的方法
 Comment GetCommentCmd.execute(CommandContext commandContext)
           
 Comment AddCommentCmd.execute(CommandContext commandContext)
           
 

返回变量类型为 Comment 的类型的 org.activiti.engine.impl.cmd 中的方法
 List<Comment> GetTypeCommentsCmd.execute(CommandContext commandContext)
           
 List<Comment> GetTaskCommentsCmd.execute(CommandContext commandContext)
           
 List<Comment> GetTaskCommentsByTypeCmd.execute(CommandContext commandContext)
           
 List<Comment> GetProcessInstanceCommentsCmd.execute(CommandContext commandContext)
           
 

org.activiti.engine.impl.persistence.entityComment 的使用
 

实现 Commentorg.activiti.engine.impl.persistence.entity 中的类
 class CommentEntity
           
 

返回 Commentorg.activiti.engine.impl.persistence.entity 中的方法
 Comment CommentEntityManager.findComment(String commentId)
           
 

返回变量类型为 Comment 的类型的 org.activiti.engine.impl.persistence.entity 中的方法
 List<Comment> CommentEntityManager.findCommentsByProcessInstanceId(String processInstanceId)
           
 List<Comment> CommentEntityManager.findCommentsByTaskId(String taskId)
           
 List<Comment> CommentEntityManager.findCommentsByTaskIdAndType(String taskId, String type)
           
 List<Comment> CommentEntityManager.findCommentsByType(String type)
           
 



Copyright © 2013 Alfresco. All rights reserved.