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 addRemovalTimeToUserOperationLogByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
public void addRemovalTimeToUserOperationLogByProcessInstanceId(String processInstanceId, Date removalTime)
public void updateOperationLogAnnotationByOperationId(String operationId, String annotation)
public void deleteOperationLogEntryById(String entryId)
public DbOperation deleteOperationLogByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
public void logUserOperations(UserOperationLogContext context)
public void logUserOperation(IdentityOperationResult operationResult, String userId)
public void logGroupOperation(IdentityOperationResult operationResult, String groupId)
public void logTenantOperation(IdentityOperationResult operationResult, String tenantId)
public void logMembershipOperation(IdentityOperationResult operationResult, String userId, String groupId, String tenantId)
public void logMembershipOperation(String operation, String userId, String groupId, String tenantId)
public void logTaskOperations(String operation, TaskEntity task, List<PropertyChange> propertyChanges)
public void logTaskOperations(String operation, HistoricTaskInstance historicTask, List<PropertyChange> propertyChanges)
public void logLinkOperation(String operation, TaskEntity task, PropertyChange propertyChange)
public void logProcessInstanceOperation(String operation, List<PropertyChange> propertyChanges)
public void logProcessInstanceOperation(String operation, String processInstanceId, String processDefinitionId, String processDefinitionKey, List<PropertyChange> propertyChanges)
public void logProcessInstanceOperation(String operation, String processInstanceId, String processDefinitionId, String processDefinitionKey, List<PropertyChange> propertyChanges, String annotation)
public void logProcessDefinitionOperation(String operation, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
public void logCaseInstanceOperation(String operation, String caseInstanceId, List<PropertyChange> propertyChanges)
public void logCaseDefinitionOperation(String operation, String caseDefinitionId, List<PropertyChange> propertyChanges)
public void logDecisionDefinitionOperation(String operation, List<PropertyChange> propertyChanges)
public void logJobOperation(String operation, String jobId, String jobDefinitionId, String processInstanceId, String processDefinitionId, String processDefinitionKey, PropertyChange propertyChange)
public void logJobOperation(String operation, String jobId, String jobDefinitionId, String processInstanceId, String processDefinitionId, String processDefinitionKey, List<PropertyChange> propertyChanges)
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 logHistoricVariableOperation(String operation, HistoricProcessInstanceEntity historicProcessInstance, ResourceDefinitionEntity<?> definition, PropertyChange propertyChange)
public void logHistoricVariableOperation(String operation, HistoricVariableInstanceEntity historicVariableInstance, ResourceDefinitionEntity<?> definition, PropertyChange propertyChange)
public void logDeploymentOperation(String operation, String deploymentId, List<PropertyChange> propertyChanges)
public void logBatchOperation(String operation, List<PropertyChange> propertyChange)
public void logBatchOperation(String operation, String batchId, PropertyChange propertyChange)
public void logBatchOperation(String operation, String batchId, List<PropertyChange> propertyChanges)
public void logDecisionInstanceOperation(String operation, List<PropertyChange> propertyChanges)
public void logExternalTaskOperation(String operation, ExternalTaskEntity externalTask, List<PropertyChange> propertyChanges)
public void logMetricsOperation(String operation, List<PropertyChange> propertyChanges)
public void logPropertyOperation(String operation, List<PropertyChange> propertyChanges)
public void logSetAnnotationOperation(String operationId)
public void logClearAnnotationOperation(String operationId)
protected void logAnnotationOperation(String operationId, String operationType)
public void logAuthorizationOperation(String operation, AuthorizationEntity authorization, AuthorizationEntity previousValues)
protected String getPermissionStringList(AuthorizationEntity authorization)
protected String getResourceName(int resourceType)
public boolean isUserOperationLogEnabled()
protected boolean isHistoryEventProduced()
protected boolean isUserAuthenticated()
protected String getAuthenticatedUserId()
protected void fireUserOperationLog(UserOperationLogContext context)
protected boolean writeUserOperationLogOnlyWithLoggedInUser()
protected boolean isUserOperationLogEnabledOnCommandContext()
protected String getOperationType(IdentityOperationResult operationResult)
Copyright © 2019. All rights reserved.