Package org.activiti.engine.task
Interface Attachment
- All Known Subinterfaces:
AttachmentEntity
- All Known Implementing Classes:
AttachmentEntityImpl
Deprecated.
this interface and its implementations are going to be removed in future iterations
Atttachments doesn't belong to the Process/Task Runtime
Any type of content that is be associated with a task or with a process instance.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.the id of the byte array entity storing the contentDeprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.getId()Deprecated.unique id for this attachmentgetName()Deprecated.free user defined short (max 255 chars) name for this attachmentDeprecated.reference to the process instance to which this attachment is associated.Deprecated.reference to the task to which this attachment is associated.getTime()Deprecated.timestamp when this attachment was createdgetType()Deprecated.indication of the type of content that this attachment refers to.getUrl()Deprecated.the remote URL in case this is remote content.Deprecated.reference to the user who created this attachment.voidsetDescription(String description) Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.voidDeprecated.free user defined short (max 255 chars) name for this attachmentvoidDeprecated.timestamp when this attachment was created
-
Method Details
-
getId
String getId()Deprecated.unique id for this attachment -
getName
String getName()Deprecated.free user defined short (max 255 chars) name for this attachment -
setName
Deprecated.free user defined short (max 255 chars) name for this attachment -
getDescription
String getDescription()Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to. -
setDescription
Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to. -
getType
String getType()Deprecated.indication of the type of content that this attachment refers to. Can be mime type or any other indication. -
getTaskId
String getTaskId()Deprecated.reference to the task to which this attachment is associated. -
getProcessInstanceId
String getProcessInstanceId()Deprecated.reference to the process instance to which this attachment is associated. -
getUrl
String getUrl()Deprecated.the remote URL in case this is remote content. If the attachment content wasuploaded with an input stream, then this method returns null and the content can be fetched withTaskService.getAttachmentContent(String). -
getUserId
String getUserId()Deprecated.reference to the user who created this attachment. -
getTime
Date getTime()Deprecated.timestamp when this attachment was created -
setTime
Deprecated.timestamp when this attachment was created -
getContentId
String getContentId()Deprecated.the id of the byte array entity storing the content
-