public class CommentEntityManagerImpl extends AbstractEntityManager<CommentEntity> implements CommentEntityManager
| Modifier and Type | Field and Description |
|---|---|
protected CommentDataManager |
commentDataManager |
processEngineConfiguration| Constructor and Description |
|---|
CommentEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration,
CommentDataManager commentDataManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkHistoryEnabled() |
void |
delete(CommentEntity commentEntity) |
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) |
CommentDataManager |
getCommentDataManager() |
protected DataManager<CommentEntity> |
getDataManager() |
void |
insert(CommentEntity commentEntity) |
void |
setCommentDataManager(CommentDataManager commentDataManager) |
create, delete, delete, findById, insert, update, updategetAsyncExecutor, 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, getVariableInstanceEntityManagerprotected CommentDataManager commentDataManager
public CommentEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration, CommentDataManager commentDataManager)
protected DataManager<CommentEntity> getDataManager()
getDataManager in class AbstractEntityManager<CommentEntity>public void insert(CommentEntity commentEntity)
insert in interface EntityManager<CommentEntity>insert in class AbstractEntityManager<CommentEntity>public List<Comment> findCommentsByTaskId(String taskId)
findCommentsByTaskId in interface CommentEntityManagerpublic List<Comment> findCommentsByTaskIdAndType(String taskId, String type)
findCommentsByTaskIdAndType in interface CommentEntityManagerpublic List<Comment> findCommentsByType(String type)
findCommentsByType in interface CommentEntityManagerpublic List<Event> findEventsByTaskId(String taskId)
findEventsByTaskId in interface CommentEntityManagerpublic List<Event> findEventsByProcessInstanceId(String processInstanceId)
findEventsByProcessInstanceId in interface CommentEntityManagerpublic void deleteCommentsByTaskId(String taskId)
deleteCommentsByTaskId in interface CommentEntityManagerpublic void deleteCommentsByProcessInstanceId(String processInstanceId)
deleteCommentsByProcessInstanceId in interface CommentEntityManagerpublic List<Comment> findCommentsByProcessInstanceId(String processInstanceId)
findCommentsByProcessInstanceId in interface CommentEntityManagerpublic List<Comment> findCommentsByProcessInstanceId(String processInstanceId, String type)
findCommentsByProcessInstanceId in interface CommentEntityManagerpublic Comment findComment(String commentId)
findComment in interface CommentEntityManagerpublic Event findEvent(String commentId)
findEvent in interface CommentEntityManagerpublic void delete(CommentEntity commentEntity)
delete in interface EntityManager<CommentEntity>delete in class AbstractEntityManager<CommentEntity>protected void checkHistoryEnabled()
public CommentDataManager getCommentDataManager()
public void setCommentDataManager(CommentDataManager commentDataManager)
Copyright © 2015 Alfresco. All rights reserved.