org.camunda.bpm.engine.impl.interceptor
Class CommandContext
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandContext
public class CommandContext
- extends Object
- Author:
- Tom Baeyens, Agim Emruli, Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
command
protected Command<?> command
transactionContext
protected TransactionContext transactionContext
sessionFactories
protected Map<Class<?>,SessionFactory> sessionFactories
sessions
protected Map<Class<?>,Session> sessions
exception
protected Throwable exception
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
failedJobCommandFactory
protected FailedJobCommandFactory failedJobCommandFactory
commandContextCloseListeners
protected List<CommandContextCloseListener> commandContextCloseListeners
CommandContext
public CommandContext(Command<?> command,
ProcessEngineConfigurationImpl processEngineConfiguration)
CommandContext
public CommandContext(Command<?> cmd,
ProcessEngineConfigurationImpl processEngineConfiguration,
TransactionContextFactory transactionContextFactory)
performOperation
public void performOperation(AtomicOperation executionOperation,
ExecutionEntity execution)
performOperation
public void performOperation(CmmnAtomicOperation executionOperation,
CaseExecutionEntity execution)
getTargetProcessApplication
protected ProcessApplicationReference getTargetProcessApplication(ExecutionEntity execution)
getTargetProcessApplication
protected ProcessApplicationReference getTargetProcessApplication(CaseExecutionEntity execution)
requiresContextSwitch
protected boolean requiresContextSwitch(ProcessApplicationReference processApplicationReference)
close
public void close()
shouldLogInfo
protected boolean shouldLogInfo(Throwable exception)
shouldLogFine
protected boolean shouldLogFine(Throwable exception)
fireCommandContextClose
protected void fireCommandContextClose()
flushSessions
protected void flushSessions()
closeSessions
protected void closeSessions()
exception
public void exception(Throwable exception)
getSession
public <T> T getSession(Class<T> sessionClass)
getDbSqlSession
public DbSqlSession getDbSqlSession()
getDeploymentManager
public DeploymentManager getDeploymentManager()
getResourceManager
public ResourceManager getResourceManager()
getByteArrayManager
public ByteArrayManager getByteArrayManager()
getProcessDefinitionManager
public ProcessDefinitionManager getProcessDefinitionManager()
getExecutionManager
public ExecutionManager getExecutionManager()
getTaskManager
public TaskManager getTaskManager()
getIdentityLinkManager
public IdentityLinkManager getIdentityLinkManager()
getVariableInstanceManager
public VariableInstanceManager getVariableInstanceManager()
getHistoricProcessInstanceManager
public HistoricProcessInstanceManager getHistoricProcessInstanceManager()
getHistoricDetailManager
public HistoricDetailManager getHistoricDetailManager()
getOperationLogManager
public UserOperationLogManager getOperationLogManager()
getHistoricVariableInstanceManager
public HistoricVariableInstanceManager getHistoricVariableInstanceManager()
getHistoricActivityInstanceManager
public HistoricActivityInstanceManager getHistoricActivityInstanceManager()
getHistoricTaskInstanceManager
public HistoricTaskInstanceManager getHistoricTaskInstanceManager()
getHistoricIncidentManager
public HistoricIncidentManager getHistoricIncidentManager()
getJobManager
public JobManager getJobManager()
getJobDefinitionManager
public JobDefinitionManager getJobDefinitionManager()
getIncidentManager
public IncidentManager getIncidentManager()
getIdentityInfoManager
public IdentityInfoManager getIdentityInfoManager()
getAttachmentManager
public AttachmentManager getAttachmentManager()
getTableDataManager
public TableDataManager getTableDataManager()
getCommentManager
public CommentManager getCommentManager()
getEventSubscriptionManager
public EventSubscriptionManager getEventSubscriptionManager()
getSessionFactories
public Map<Class<?>,SessionFactory> getSessionFactories()
getPropertyManager
public PropertyManager getPropertyManager()
getStatisticsManager
public StatisticsManager getStatisticsManager()
getHistoricStatisticsManager
public HistoricStatisticsManager getHistoricStatisticsManager()
getAuthorizationManager
public AuthorizationManager getAuthorizationManager()
getReadOnlyIdentityProvider
public ReadOnlyIdentityProvider getReadOnlyIdentityProvider()
getWritableIdentityProvider
public WritableIdentityProvider getWritableIdentityProvider()
getCaseDefinitionManager
public CaseDefinitionManager getCaseDefinitionManager()
getCaseExecutionManager
public CaseExecutionManager getCaseExecutionManager()
registerCommandContextCloseListener
public void registerCommandContextCloseListener(CommandContextCloseListener commandContextCloseListener)
getTransactionContext
public TransactionContext getTransactionContext()
getCommand
public Command<?> getCommand()
getSessions
public Map<Class<?>,Session> getSessions()
getException
public Throwable getException()
getFailedJobCommandFactory
public FailedJobCommandFactory getFailedJobCommandFactory()
getAuthentication
public Authentication getAuthentication()
runWithoutAuthentication
public void runWithoutAuthentication(Runnable runnable)
getAuthenticatedUserId
public String getAuthenticatedUserId()
getAuthenticatedGroupIds
public List<String> getAuthenticatedGroupIds()
Copyright © 2014 camunda services GmbH. All Rights Reserved.