接口 org.activiti.engine.impl.interceptor.Command
的使用

使用 Command 的软件包
org.activiti.engine Public API of the Activiti engine. 
org.activiti.engine.impl API implementation classes, which shouldn't directly be used by end-users. 
org.activiti.engine.impl.cfg   
org.activiti.engine.impl.cmd   
org.activiti.engine.impl.interceptor   
org.activiti.engine.impl.jobexecutor   
 

org.activiti.engineCommand 的使用
 

参数类型为 Commandorg.activiti.engine 中的方法
<T> T
ManagementService.executeCommand(Command<T> command)
          Executes a given command with the default CommandConfig.
<T> T
ManagementService.executeCommand(CommandConfig config, Command<T> command)
          Executes a given command with the specified CommandConfig.
 

org.activiti.engine.implCommand 的使用
 

实现 Commandorg.activiti.engine.impl 中的类
 class AbstractNativeQuery<T extends NativeQuery<?,?>,U>
          Abstract superclass for all native query types.
 class AbstractQuery<T extends Query<?,?>,U>
          Abstract superclass for all query types.
 class AbstractVariableQueryImpl<T extends Query<?,?>,U>
          Abstract query class that adds methods to query for variable values.
 class DeploymentQueryImpl
           
 class EventSubscriptionQueryImpl
           
 class ExecutionQueryImpl
           
 class GroupQueryImpl
           
 class HistoricActivityInstanceQueryImpl
           
 class HistoricDetailQueryImpl
           
 class HistoricProcessInstanceQueryImpl
           
 class HistoricTaskInstanceQueryImpl
           
 class HistoricVariableInstanceQueryImpl
           
 class JobQueryImpl
           
 class ModelQueryImpl
           
 class NativeDeploymentQueryImpl
           
 class NativeExecutionQueryImpl
           
 class NativeGroupQueryImpl
           
 class NativeHistoricActivityInstanceQueryImpl
           
 class NativeHistoricDetailQueryImpl
           
 class NativeHistoricProcessInstanceQueryImpl
           
 class NativeHistoricTaskInstanceQueryImpl
           
 class NativeHistoricVariableInstanceQueryImpl
           
 class NativeModelQueryImpl
           
 class NativeProcessDefinitionQueryImpl
           
 class NativeProcessInstanceQueryImpl
           
 class NativeTaskQueryImpl
           
 class NativeUserQueryImpl
           
 class ProcessDefinitionQueryImpl
           
 class ProcessInstanceQueryImpl
           
 class SchemaOperationsProcessEngineBuild
           
 class TablePageQueryImpl
           
 class TaskQueryImpl
           
 class UserQueryImpl
           
 

参数类型为 Commandorg.activiti.engine.impl 中的方法
<T> T
ManagementServiceImpl.executeCommand(Command<T> command)
           
<T> T
ManagementServiceImpl.executeCommand(CommandConfig config, Command<T> command)
           
 

org.activiti.engine.impl.cfgCommand 的使用
 

参数类型为 Commandorg.activiti.engine.impl.cfg 中的方法
<T> T
CommandExecutorImpl.execute(Command<T> command)
           
<T> T
CommandExecutorImpl.execute(CommandConfig config, Command<T> command)
           
 

org.activiti.engine.impl.cmdCommand 的使用
 

实现 Commandorg.activiti.engine.impl.cmd 中的类
 class AbstractSetProcessDefinitionStateCmd
           
 class AbstractSetProcessInstanceStateCmd
           
 class AcquireJobsCmd
           
 class ActivateProcessDefinitionCmd
           
 class ActivateProcessInstanceCmd
           
 class AddCommentCmd
           
 class AddEditorSourceExtraForModelCmd
           
 class AddEditorSourceForModelCmd
           
 class AddIdentityLinkCmd
           
 class AddIdentityLinkForProcessDefinitionCmd
           
 class AddIdentityLinkForProcessInstanceCmd
           
 class CheckPassword
           
 class ClaimTaskCmd
           
 class CompleteTaskCmd
           
 class CreateAttachmentCmd
           
 class CreateGroupCmd
           
 class CreateGroupQueryCmd
           
 class CreateMembershipCmd
           
 class CreateModelCmd
           
 class CreateUserCmd
           
 class CreateUserQueryCmd
           
 class DecrementJobRetriesCmd
           
 class DelegateTaskCmd
           
 class DeleteAttachmentCmd
           
 class DeleteCommentCmd
           
 class DeleteDeploymentCmd
           
 class DeleteGroupCmd
           
 class DeleteHistoricProcessInstanceCmd
           
 class DeleteHistoricTaskInstanceCmd
           
 class DeleteIdentityLinkCmd
           
 class DeleteIdentityLinkForProcessDefinitionCmd
           
 class DeleteJobCmd
           
 class DeleteJobsCmd
           
 class DeleteMembershipCmd
           
 class DeleteModelCmd
           
 class DeleteProcessInstanceCmd
           
 class DeleteTaskCmd
           
 class DeleteUserCmd
           
 class DeleteUserInfoCmd
           
 class DeployCmd<T>
           
 class ExecuteJobsCmd
           
 class FindActiveActivityIdsCmd
           
 class GetAttachmentCmd
           
 class GetAttachmentContentCmd
           
 class GetBpmnModelCmd
           
 class GetCommentCmd
           
 class GetDeploymentProcessDefinitionCmd
           
 class GetDeploymentProcessDiagramCmd
          Gives access to a deployed process diagram, e.g., a PNG image, through a stream of bytes.
 class GetDeploymentProcessDiagramLayoutCmd
          Provides positions and dimensions of elements in a process diagram as provided by GetDeploymentProcessDiagramCmd.
 class GetDeploymentProcessModelCmd
          Gives access to a deployed process model, e.g., a BPMN 2.0 XML file, through a stream of bytes.
 class GetDeploymentResourceCmd
           
 class GetDeploymentResourceNamesCmd
           
 class GetExecutionVariableCmd
           
 class GetExecutionVariablesCmd
           
 class GetFormKeyCmd
          Command for retrieving start or task form keys.
 class GetHistoricIdentityLinksForTaskCmd
           
 class GetIdentityLinksForProcessDefinitionCmd
           
 class GetIdentityLinksForProcessInstanceCmd
           
 class GetIdentityLinksForTaskCmd
           
 class GetJobExceptionStacktraceCmd
           
 class GetModelCmd
           
 class GetModelEditorSourceCmd
           
 class GetModelEditorSourceExtraCmd
           
 class GetNextIdBlockCmd
           
 class GetProcessInstanceAttachmentsCmd
           
 class GetProcessInstanceCommentsCmd
           
 class GetPropertiesCmd
           
 class GetRenderedStartFormCmd
           
 class GetRenderedTaskFormCmd
           
 class GetStartFormCmd
           
 class GetSubTasksCmd
           
 class GetTableCountCmd
           
 class GetTableMetaDataCmd
           
 class GetTableNameCmd
           
 class GetTaskAttachmentsCmd
           
 class GetTaskCommentsByTypeCmd
           
 class GetTaskCommentsCmd
           
 class GetTaskEventCmd
           
 class GetTaskEventsCmd
           
 class GetTaskFormCmd
           
 class GetTaskVariableCmd
           
 class GetTaskVariablesCmd
           
 class GetTypeCommentsCmd
           
 class GetUserInfoCmd
           
 class GetUserInfoKeysCmd
           
 class GetUserPictureCmd
           
 class HasExecutionVariableCmd
           
 class HasTaskVariableCmd
           
 class MessageEventReceivedCmd
           
 class NeedsActiveExecutionCmd<T>
           
 class NeedsActiveProcessDefinitionCmd<T>
           
 class NeedsActiveTaskCmd<T>
          An abstract superclass for Command implementations that want to verify the provided task is always active (ie. not suspended).
 class RemoveExecutionVariablesCmd
           
 class RemoveTaskVariablesCmd
           
 class ResolveTaskCmd
           
 class SaveAttachmentCmd
           
 class SaveGroupCmd
           
 class SaveModelCmd
           
 class SaveTaskCmd
           
 class SaveUserCmd
           
 class SetDeploymentCategoryCmd
           
 class SetExecutionVariablesCmd
           
 class SetJobRetriesCmd
           
 class SetProcessDefinitionCategoryCmd
           
 class SetProcessDefinitionVersionCmd
          Command that changes the process definition version of an existing process instance.
 class SetProcessInstanceBusinessKeyCmd
          Command that changes the business key of an existing process instance.
 class SetTaskDueDateCmd
           
 class SetTaskPriorityCmd
           
 class SetTaskVariablesCmd
           
 class SetUserInfoCmd
           
 class SetUserPictureCmd
           
 class SignalCmd
           
 class SignalEventReceivedCmd
           
 class StartProcessInstanceByMessageCmd
           
 class StartProcessInstanceCmd<T>
           
 class SubmitStartFormCmd
           
 class SubmitTaskFormCmd
           
 class SuspendProcessDefinitionCmd
           
 class SuspendProcessInstanceCmd
           
 

org.activiti.engine.impl.interceptorCommand 的使用
 

声明为 Commandorg.activiti.engine.impl.interceptor 中的字段
protected  Command<?> CommandContext.command
           
 

返回 Commandorg.activiti.engine.impl.interceptor 中的方法
 Command<?> CommandContext.getCommand()
           
 

参数类型为 Commandorg.activiti.engine.impl.interceptor 中的方法
 CommandContext CommandContextFactory.createCommandContext(Command<?> cmd)
           
<T> T
CommandExecutor.execute(Command<T> command)
          Execute a command with the default CommandConfig.
<T> T
RetryInterceptor.execute(CommandConfig config, Command<T> command)
           
<T> T
LogInterceptor.execute(CommandConfig config, Command<T> command)
           
<T> T
JtaTransactionInterceptor.execute(CommandConfig config, Command<T> command)
           
<T> T
JtaRetryInterceptor.execute(CommandConfig config, Command<T> command)
           
<T> T
CommandInvoker.execute(CommandConfig config, Command<T> command)
           
<T> T
CommandInterceptor.execute(CommandConfig config, Command<T> command)
           
<T> T
CommandExecutor.execute(CommandConfig config, Command<T> command)
          Execute a command with the specified CommandConfig.
<T> T
CommandContextInterceptor.execute(CommandConfig config, Command<T> command)
           
 

参数类型为 Commandorg.activiti.engine.impl.interceptor 中的构造方法
CommandContext(Command<?> command, ProcessEngineConfigurationImpl processEngineConfiguration)
           
 

org.activiti.engine.impl.jobexecutorCommand 的使用
 

实现 Commandorg.activiti.engine.impl.jobexecutor 中的类
 class GetUnlockedTimersByDuedateCmd
           
 

声明为 Commandorg.activiti.engine.impl.jobexecutor 中的字段
protected  Command<AcquiredJobs> JobExecutor.acquireJobsCmd
           
 

返回 Commandorg.activiti.engine.impl.jobexecutor 中的方法
 Command<AcquiredJobs> JobExecutor.getAcquireJobsCmd()
           
 Command<Object> FailedJobCommandFactory.getCommand(String jobId, Throwable exception)
           
 Command<Object> DefaultFailedJobCommandFactory.getCommand(String jobId, Throwable exception)
           
 

参数类型为 Commandorg.activiti.engine.impl.jobexecutor 中的方法
 void JobExecutor.setAcquireJobsCmd(Command<AcquiredJobs> acquireJobsCmd)
           
 



Copyright © 2013 Alfresco. All rights reserved.