public class UserOperationLogManager extends AbstractHistoricManager
UserOperationLogEntryEventEntity
that also provides a generic and some specific log methods.historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
Constructor and Description |
---|
UserOperationLogManager() |
checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
public UserOperationLogEntry findOperationLogById(String entryId)
public long findOperationLogEntryCountByQueryCriteria(UserOperationLogQueryImpl query)
public List<UserOperationLogEntry> findOperationLogEntriesByQueryCriteria(UserOperationLogQueryImpl query, Page page)
public void deleteOperationLogEntryById(String entryId)
protected boolean isHistoryEventProduced()
protected void fireUserOperationLog(UserOperationLogContext context)
public void logUserOperations(UserOperationLogContext context)
public void logTaskOperations(String operation, TaskEntity task, List<PropertyChange> propertyChanges)
public void logLinkOperation(String operation, TaskEntity task, PropertyChange propertyChange)
public void logProcessInstanceOperation(String operation, String processInstanceId, String processDefinitionId, String processDefinitionKey, List<PropertyChange> propertyChanges)
public void logProcessDefinitionOperation(String operation, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
public void logJobOperation(String operation, String jobId, String jobDefinitionId, String processInstanceId, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
public void logJobDefinitionOperation(String operation, String jobDefinitionId, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
public void logAttachmentOperation(String operation, TaskEntity task, PropertyChange propertyChange)
public void logAttachmentOperation(String operation, ExecutionEntity processInstance, PropertyChange propertyChange)
public void logVariableOperation(String operation, String executionId, String taskId, PropertyChange propertyChange)
public void logDeploymentOperation(String operation, String deploymentId, List<PropertyChange> propertyChanges)
public boolean isUserOperationLogEnabled()
protected boolean isUserAuthenticated()
protected String getAuthenticatedUserId()
protected boolean writeUserOperationLogOnlyWithLoggedInUser()
protected boolean isUserOperationLogEnabledOnCommandContext()
public void logBatchOperation(String operation, String batchId, PropertyChange propertyChange)
public void logDecisionInstanceOperation(String operation, List<PropertyChange> propertyChanges)
public void addRemovalTimeToUserOperationLogByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
public DbOperation deleteOperationLogByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
Copyright © 2020. All rights reserved.