Package org.camunda.bpm.engine.task
Interface Attachment
-
- All Known Implementing Classes:
AttachmentEntity
public interface AttachmentAny type of content that is be associated with a task or with a process instance.- Author:
- Tom Baeyens
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetCreateTime()The time when the attachment was created.java.lang.StringgetDescription()long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.java.lang.StringgetId()unique id for this attachmentjava.lang.StringgetName()free user defined short (max 255 chars) name for this attachmentjava.lang.StringgetProcessInstanceId()reference to the process instance to which this attachment is associated.java.util.DategetRemovalTime()The time the historic attachment will be removed.java.lang.StringgetRootProcessInstanceId()reference to the root process instance id of the process instance on which this attachment was madejava.lang.StringgetTaskId()reference to the task to which this attachment is associated.java.lang.StringgetType()indication of the type of content that this attachment refers to.java.lang.StringgetUrl()the remote URL in case this is remote content.voidsetDescription(java.lang.String description)long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.voidsetName(java.lang.String name)free user defined short (max 255 chars) name for this attachment
-
-
-
Method Detail
-
getId
java.lang.String getId()
unique id for this attachment
-
getName
java.lang.String getName()
free user defined short (max 255 chars) name for this attachment
-
setName
void setName(java.lang.String name)
free user defined short (max 255 chars) name for this attachment
-
getDescription
java.lang.String getDescription()
long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
-
setDescription
void setDescription(java.lang.String description)
long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
-
getType
java.lang.String getType()
indication of the type of content that this attachment refers to. Can be mime type or any other indication.
-
getTaskId
java.lang.String getTaskId()
reference to the task to which this attachment is associated.
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
reference to the process instance to which this attachment is associated.
-
getUrl
java.lang.String getUrl()
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).
-
getCreateTime
java.util.Date getCreateTime()
The time when the attachment was created.
-
getRootProcessInstanceId
java.lang.String getRootProcessInstanceId()
reference to the root process instance id of the process instance on which this attachment was made
-
getRemovalTime
java.util.Date getRemovalTime()
The time the historic attachment will be removed.
-
-