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, LOG
 
Constructor Summary
UserOperationLogManager()
           
 
Method Summary
 void deleteOperationLogEntryById(String entryId)
           
 UserOperationLogEntry findOperationLogById(String entryId)
           
 List<UserOperationLogEntry> findOperationLogEntriesByQueryCriteria(UserOperationLogQueryImpl query, Page page)
           
 long findOperationLogEntryCountByQueryCriteria(UserOperationLogQueryImpl query)
           
protected  void fireUserOperationLog(UserOperationLogContext context)
           
protected  String getAuthenticatedUserId()
           
protected  boolean isUserAuthenticated()
           
protected  boolean isUserOperationLogEnabled()
           
protected  boolean isUserOperationLogEnabledOnCommandContext()
           
 void logAttachmentOperation(String operation, TaskEntity task, PropertyChange propertyChange)
           
 void logDeploymentOperation(String operation, String deploymentId, List<PropertyChange> propertyChanges)
           
 void logJobDefinitionOperation(String operation, String jobDefinitionId, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
           
 void logJobOperation(String operation, String jobId, String jobDefinitionId, String processInstanceId, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
           
 void logLinkOperation(String operation, TaskEntity task, PropertyChange propertyChange)
           
 void logProcessDefinitionOperation(String operation, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
           
 void logProcessInstanceOperation(String operation, String processInstanceId, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
           
 void logTaskOperations(String operation, TaskEntity task, List<PropertyChange> propertyChanges)
           
 void logUserOperations(UserOperationLogContext context)
           
 void logVariableOperation(String operation, String executionId, String taskId, PropertyChange propertyChange)
           
protected  boolean writeUserOperationLogOnlyWithLoggedInUser()
           
 
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
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
 
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

findOperationLogById

public UserOperationLogEntry findOperationLogById(String entryId)

findOperationLogEntryCountByQueryCriteria

public long findOperationLogEntryCountByQueryCriteria(UserOperationLogQueryImpl query)

findOperationLogEntriesByQueryCriteria

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

deleteOperationLogEntryById

public void deleteOperationLogEntryById(String entryId)

fireUserOperationLog

protected void fireUserOperationLog(UserOperationLogContext context)

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)

logProcessInstanceOperation

public void logProcessInstanceOperation(String operation,
                                        String processInstanceId,
                                        String processDefinitionId,
                                        String processDefinitionKey,
                                        PropertyChange propertyChange)

logProcessDefinitionOperation

public void logProcessDefinitionOperation(String operation,
                                          String processDefinitionId,
                                          String processDefinitionKey,
                                          PropertyChange propertyChange)

logJobOperation

public void logJobOperation(String operation,
                            String jobId,
                            String jobDefinitionId,
                            String processInstanceId,
                            String processDefinitionId,
                            String processDefinitionKey,
                            PropertyChange propertyChange)

logJobDefinitionOperation

public void logJobDefinitionOperation(String operation,
                                      String jobDefinitionId,
                                      String processDefinitionId,
                                      String processDefinitionKey,
                                      PropertyChange propertyChange)

logAttachmentOperation

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

logVariableOperation

public void logVariableOperation(String operation,
                                 String executionId,
                                 String taskId,
                                 PropertyChange propertyChange)

logDeploymentOperation

public void logDeploymentOperation(String operation,
                                   String deploymentId,
                                   List<PropertyChange> propertyChanges)

isUserOperationLogEnabled

protected boolean isUserOperationLogEnabled()

isUserAuthenticated

protected boolean isUserAuthenticated()

getAuthenticatedUserId

protected String getAuthenticatedUserId()

writeUserOperationLogOnlyWithLoggedInUser

protected boolean writeUserOperationLogOnlyWithLoggedInUser()

isUserOperationLogEnabledOnCommandContext

protected boolean isUserOperationLogEnabledOnCommandContext()


Copyright © 2016 camunda services GmbH. All rights reserved.