org.camunda.bpm.engine.impl.persistence.entity
Class UserOperationLogManager

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.AbstractManager
      extended by org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
          extended by org.camunda.bpm.engine.impl.persistence.entity.UserOperationLogManager
All Implemented Interfaces:
Session

public class UserOperationLogManager
extends AbstractHistoricManager

Manager for UserOperationLogEntryEventEntity that also provides a generic and some specific log methods.

Author:
Danny Gräf

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled
 
Constructor Summary
UserOperationLogManager()
           
 
Method Summary
protected  UserOperationLogContext createContextForTask(String entityType, String operation, TaskEntity task, List<PropertyChange> propertyChanges)
           
 void deleteOperationLogEntriesByProcessInstanceId(String historicProcessInstanceId)
           
 void deleteOperationLogEntriesByTaskId(String taskId)
           
 List<UserOperationLogEntry> findOperationLogEntriesByQueryCriteria(UserOperationLogQueryImpl query, Page page)
           
 long findOperationLogEntryCountByQueryCriteria(UserOperationLogQueryImpl query)
           
 void logAttachmentOperation(String operation, TaskEntity task, PropertyChange propertyChange)
           
 void logLinkOperation(String operation, TaskEntity task, PropertyChange propertyChange)
           
 void logTaskOperations(String operation, TaskEntity task, List<PropertyChange> propertyChanges)
           
 void logUserOperations(UserOperationLogContext context)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
 
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
close, delete, flush, getAttachmentManager, getByteArrayManager, getDbSqlSession, getDeploymentManager, getHistoricActivityInstanceManager, getHistoricDetailManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceManager, getSession, getTaskManager, getVariableInstanceManager, insert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserOperationLogManager

public UserOperationLogManager()
Method Detail

findOperationLogEntryCountByQueryCriteria

public long findOperationLogEntryCountByQueryCriteria(UserOperationLogQueryImpl query)

findOperationLogEntriesByQueryCriteria

public List<UserOperationLogEntry> findOperationLogEntriesByQueryCriteria(UserOperationLogQueryImpl query,
                                                                          Page page)

deleteOperationLogEntriesByProcessInstanceId

public void deleteOperationLogEntriesByProcessInstanceId(String historicProcessInstanceId)

deleteOperationLogEntriesByTaskId

public void deleteOperationLogEntriesByTaskId(String taskId)

logUserOperations

public void logUserOperations(UserOperationLogContext context)

logTaskOperations

public void logTaskOperations(String operation,
                              TaskEntity task,
                              List<PropertyChange> propertyChanges)

logLinkOperation

public void logLinkOperation(String operation,
                             TaskEntity task,
                             PropertyChange propertyChange)

logAttachmentOperation

public void logAttachmentOperation(String operation,
                                   TaskEntity task,
                                   PropertyChange propertyChange)

createContextForTask

protected UserOperationLogContext createContextForTask(String entityType,
                                                       String operation,
                                                       TaskEntity task,
                                                       List<PropertyChange> propertyChanges)


Copyright © 2014 camunda services GmbH. All Rights Reserved.