Class AttachmentEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.AttachmentEntityImpl
-
- All Implemented Interfaces:
Serializable,HasRevision,AttachmentEntity,Entity,Attachment
@Internal @Deprecated public class AttachmentEntityImpl extends AbstractEntity implements AttachmentEntity, Serializable
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayEntitycontentDeprecated.protected StringcontentIdDeprecated.protected StringdescriptionDeprecated.protected StringnameDeprecated.protected StringprocessInstanceIdDeprecated.protected StringtaskIdDeprecated.protected DatetimeDeprecated.protected StringtypeDeprecated.protected StringurlDeprecated.protected StringuserIdDeprecated.-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision
-
-
Constructor Summary
Constructors Constructor Description AttachmentEntityImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ByteArrayEntitygetContent()Deprecated.StringgetContentId()Deprecated.the id of the byte array entity storing the contentStringgetDescription()Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.StringgetName()Deprecated.free user defined short (max 255 chars) name for this attachmentObjectgetPersistentState()Deprecated.Returns a representation of the object, as would be stored in the database.StringgetProcessInstanceId()Deprecated.reference to the process instance to which this attachment is associated.StringgetTaskId()Deprecated.reference to the task to which this attachment is associated.DategetTime()Deprecated.timestamp when this attachment was createdStringgetType()Deprecated.indication of the type of content that this attachment refers to.StringgetUrl()Deprecated.the remote URL in case this is remote content.StringgetUserId()Deprecated.reference to the user who created this attachment.voidsetContent(ByteArrayEntity content)Deprecated.voidsetContentId(String contentId)Deprecated.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.voidsetName(String name)Deprecated.free user defined short (max 255 chars) name for this attachmentvoidsetProcessInstanceId(String processInstanceId)Deprecated.voidsetTaskId(String taskId)Deprecated.voidsetTime(Date time)Deprecated.timestamp when this attachment was createdvoidsetType(String type)Deprecated.voidsetUrl(String url)Deprecated.voidsetUserId(String userId)Deprecated.-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.task.Attachment
getId
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
-
-
-
Field Detail
-
name
protected String name
Deprecated.
-
description
protected String description
Deprecated.
-
type
protected String type
Deprecated.
-
taskId
protected String taskId
Deprecated.
-
processInstanceId
protected String processInstanceId
Deprecated.
-
url
protected String url
Deprecated.
-
contentId
protected String contentId
Deprecated.
-
content
protected ByteArrayEntity content
Deprecated.
-
userId
protected String userId
Deprecated.
-
time
protected Date time
Deprecated.
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
Deprecated.Description copied from interface:EntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceEntity
-
getName
public String getName()
Deprecated.Description copied from interface:Attachmentfree user defined short (max 255 chars) name for this attachment- Specified by:
getNamein interfaceAttachment
-
setName
public void setName(String name)
Deprecated.Description copied from interface:Attachmentfree user defined short (max 255 chars) name for this attachment- Specified by:
setNamein interfaceAttachment
-
getDescription
public String getDescription()
Deprecated.Description copied from interface:Attachmentlong (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.- Specified by:
getDescriptionin interfaceAttachment
-
setDescription
public void setDescription(String description)
Deprecated.Description copied from interface:Attachmentlong (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.- Specified by:
setDescriptionin interfaceAttachment
-
getType
public String getType()
Deprecated.Description copied from interface:Attachmentindication of the type of content that this attachment refers to. Can be mime type or any other indication.- Specified by:
getTypein interfaceAttachment
-
setType
public void setType(String type)
Deprecated.- Specified by:
setTypein interfaceAttachmentEntity
-
getTaskId
public String getTaskId()
Deprecated.Description copied from interface:Attachmentreference to the task to which this attachment is associated.- Specified by:
getTaskIdin interfaceAttachment
-
setTaskId
public void setTaskId(String taskId)
Deprecated.- Specified by:
setTaskIdin interfaceAttachmentEntity
-
getProcessInstanceId
public String getProcessInstanceId()
Deprecated.Description copied from interface:Attachmentreference to the process instance to which this attachment is associated.- Specified by:
getProcessInstanceIdin interfaceAttachment
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
Deprecated.- Specified by:
setProcessInstanceIdin interfaceAttachmentEntity
-
getUrl
public String getUrl()
Deprecated.Description copied from interface:Attachmentthe 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).- Specified by:
getUrlin interfaceAttachment
-
setUrl
public void setUrl(String url)
Deprecated.- Specified by:
setUrlin interfaceAttachmentEntity
-
getContentId
public String getContentId()
Deprecated.Description copied from interface:Attachmentthe id of the byte array entity storing the content- Specified by:
getContentIdin interfaceAttachment
-
setContentId
public void setContentId(String contentId)
Deprecated.- Specified by:
setContentIdin interfaceAttachmentEntity
-
getContent
public ByteArrayEntity getContent()
Deprecated.- Specified by:
getContentin interfaceAttachmentEntity
-
setContent
public void setContent(ByteArrayEntity content)
Deprecated.- Specified by:
setContentin interfaceAttachmentEntity
-
setUserId
public void setUserId(String userId)
Deprecated.- Specified by:
setUserIdin interfaceAttachmentEntity
-
getUserId
public String getUserId()
Deprecated.Description copied from interface:Attachmentreference to the user who created this attachment.- Specified by:
getUserIdin interfaceAttachment- Specified by:
getUserIdin interfaceAttachmentEntity
-
getTime
public Date getTime()
Deprecated.Description copied from interface:Attachmenttimestamp when this attachment was created- Specified by:
getTimein interfaceAttachment- Specified by:
getTimein interfaceAttachmentEntity
-
setTime
public void setTime(Date time)
Deprecated.Description copied from interface:Attachmenttimestamp when this attachment was created- Specified by:
setTimein interfaceAttachment- Specified by:
setTimein interfaceAttachmentEntity
-
-