public class MybatisCommentDataManager extends AbstractDataManager<CommentEntity> implements CommentDataManager
processEngineConfiguration
Constructor and Description |
---|
MybatisCommentDataManager(ProcessEngineConfigurationImpl processEngineConfiguration) |
Modifier and Type | Method and Description |
---|---|
CommentEntity |
create() |
void |
deleteCommentsByProcessInstanceId(String processInstanceId) |
void |
deleteCommentsByTaskId(String taskId) |
Comment |
findComment(String commentId) |
List<Comment> |
findCommentsByProcessInstanceId(String processInstanceId) |
List<Comment> |
findCommentsByProcessInstanceId(String processInstanceId,
String type) |
List<Comment> |
findCommentsByTaskId(String taskId) |
List<Comment> |
findCommentsByTaskIdAndType(String taskId,
String type) |
List<Comment> |
findCommentsByType(String type) |
Event |
findEvent(String commentId) |
List<Event> |
findEventsByProcessInstanceId(String processInstanceId) |
List<Event> |
findEventsByTaskId(String taskId) |
Class<? extends CommentEntity> |
getManagedEntityClass() |
delete, delete, findById, findById, findByQuery, getDbSqlSession, getEntityCache, getList, getManagedEntitySubClasses, insert, update
getAsyncExecutor, getAttachmentEntityManager, getByteArrayEntityManager, getClock, getCommandContext, getCommandExecutor, getCommentEntityManager, getDeploymentEntityManager, getEventDispatcher, getEventSubscriptionEntityManager, getExecutionEntityManager, getGroupEntityManager, getHistoricActivityInstanceEntityManager, getHistoricDetailEntityManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceEntityManager, getHistoricTaskInstanceEntityManager, getHistoricVariableInstanceEntityManager, getHistoryManager, getIdentityInfoEntityManager, getIdentityLinkEntityManager, getJobEntityManager, getJobExecutor, getMembershipEntityManager, getModelEntityManager, getProcessDefinitionEntityManager, getProcessDefinitionInfoEntityManager, getProcessEngineConfiguration, getResourceEntityManager, getSession, getTaskEntityManager, getUserIdentityEntityManager, getVariableInstanceEntityManager
public MybatisCommentDataManager(ProcessEngineConfigurationImpl processEngineConfiguration)
public Class<? extends CommentEntity> getManagedEntityClass()
getManagedEntityClass
in class AbstractDataManager<CommentEntity>
public CommentEntity create()
create
in interface DataManager<CommentEntity>
public List<Comment> findCommentsByTaskId(String taskId)
findCommentsByTaskId
in interface CommentDataManager
public List<Comment> findCommentsByTaskIdAndType(String taskId, String type)
findCommentsByTaskIdAndType
in interface CommentDataManager
public List<Comment> findCommentsByType(String type)
findCommentsByType
in interface CommentDataManager
public List<Event> findEventsByTaskId(String taskId)
findEventsByTaskId
in interface CommentDataManager
public List<Event> findEventsByProcessInstanceId(String processInstanceId)
findEventsByProcessInstanceId
in interface CommentDataManager
public void deleteCommentsByTaskId(String taskId)
deleteCommentsByTaskId
in interface CommentDataManager
public void deleteCommentsByProcessInstanceId(String processInstanceId)
deleteCommentsByProcessInstanceId
in interface CommentDataManager
public List<Comment> findCommentsByProcessInstanceId(String processInstanceId)
findCommentsByProcessInstanceId
in interface CommentDataManager
public List<Comment> findCommentsByProcessInstanceId(String processInstanceId, String type)
findCommentsByProcessInstanceId
in interface CommentDataManager
public Comment findComment(String commentId)
findComment
in interface CommentDataManager
public Event findEvent(String commentId)
findEvent
in interface CommentDataManager
Copyright © 2015 Alfresco. All rights reserved.