接口 org.activiti.engine.task.Attachment
的使用

使用 Attachment 的软件包
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.cmd   
org.activiti.engine.impl.persistence.entity   
 

org.activiti.engineAttachment 的使用
 

返回 Attachmentorg.activiti.engine 中的方法
 Attachment TaskService.createAttachment(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content)
          Add a new attachment to a task and/or a process instance and use an input stream to provide the content
 Attachment TaskService.createAttachment(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, String url)
          Add a new attachment to a task and/or a process instance and use an url as the content
 Attachment TaskService.getAttachment(String attachmentId)
          Retrieve a particular attachment
 

返回变量类型为 Attachment 的类型的 org.activiti.engine 中的方法
 List<Attachment> TaskService.getProcessInstanceAttachments(String processInstanceId)
          The list of attachments associated to a process instance
 List<Attachment> TaskService.getTaskAttachments(String taskId)
          The list of attachments associated to a task
 

参数类型为 Attachmentorg.activiti.engine 中的方法
 void TaskService.saveAttachment(Attachment attachment)
          Update the name and decription of an attachment
 

org.activiti.engine.implAttachment 的使用
 

返回 Attachmentorg.activiti.engine.impl 中的方法
 Attachment TaskServiceImpl.createAttachment(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content)
           
 Attachment TaskServiceImpl.createAttachment(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, String url)
           
 Attachment TaskServiceImpl.getAttachment(String attachmentId)
           
 

返回变量类型为 Attachment 的类型的 org.activiti.engine.impl 中的方法
 List<Attachment> TaskServiceImpl.getProcessInstanceAttachments(String processInstanceId)
           
 List<Attachment> TaskServiceImpl.getTaskAttachments(String taskId)
           
 

参数类型为 Attachmentorg.activiti.engine.impl 中的方法
 void TaskServiceImpl.saveAttachment(Attachment attachment)
           
 

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

声明为 Attachmentorg.activiti.engine.impl.cmd 中的字段
protected  Attachment SaveAttachmentCmd.attachment
           
 

返回 Attachmentorg.activiti.engine.impl.cmd 中的方法
 Attachment GetAttachmentCmd.execute(CommandContext commandContext)
           
 Attachment CreateAttachmentCmd.execute(CommandContext commandContext)
           
 

返回变量类型为 Attachment 的类型的 org.activiti.engine.impl.cmd 中的方法
 List<Attachment> GetTaskAttachmentsCmd.execute(CommandContext commandContext)
           
 List<Attachment> GetProcessInstanceAttachmentsCmd.execute(CommandContext commandContext)
           
 

参数类型为 Attachmentorg.activiti.engine.impl.cmd 中的构造方法
SaveAttachmentCmd(Attachment attachment)
           
 

org.activiti.engine.impl.persistence.entityAttachment 的使用
 

实现 Attachmentorg.activiti.engine.impl.persistence.entity 中的类
 class AttachmentEntity
           
 

返回变量类型为 Attachment 的类型的 org.activiti.engine.impl.persistence.entity 中的方法
 List<Attachment> AttachmentEntityManager.findAttachmentsByProcessInstanceId(String processInstanceId)
           
 List<Attachment> AttachmentEntityManager.findAttachmentsByTaskId(String taskId)
           
 



Copyright © 2013 Alfresco. All rights reserved.