Class AttachmentEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.AttachmentEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable,HasRevision,AttachmentEntity,Entity,Attachment
@Internal @Deprecated public class AttachmentEntityImpl extends AbstractEntity implements AttachmentEntity, java.io.Serializable
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayEntitycontentDeprecated.protected java.lang.StringcontentIdDeprecated.protected java.lang.StringdescriptionDeprecated.protected java.lang.StringnameDeprecated.protected java.lang.StringprocessInstanceIdDeprecated.protected java.lang.StringtaskIdDeprecated.protected java.util.DatetimeDeprecated.protected java.lang.StringtypeDeprecated.protected java.lang.StringurlDeprecated.protected java.lang.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.java.lang.StringgetContentId()Deprecated.the id of the byte array entity storing the contentjava.lang.StringgetDescription()Deprecated.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.StringgetName()Deprecated.free user defined short (max 255 chars) name for this attachmentjava.lang.ObjectgetPersistentState()Deprecated.Returns a representation of the object, as would be stored in the database.java.lang.StringgetProcessInstanceId()Deprecated.reference to the process instance to which this attachment is associated.java.lang.StringgetTaskId()Deprecated.reference to the task to which this attachment is associated.java.util.DategetTime()Deprecated.timestamp when this attachment was createdjava.lang.StringgetType()Deprecated.indication of the type of content that this attachment refers to.java.lang.StringgetUrl()Deprecated.the remote URL in case this is remote content.java.lang.StringgetUserId()Deprecated.reference to the user who created this attachment.voidsetContent(ByteArrayEntity content)Deprecated.voidsetContentId(java.lang.String contentId)Deprecated.voidsetDescription(java.lang.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(java.lang.String name)Deprecated.free user defined short (max 255 chars) name for this attachmentvoidsetProcessInstanceId(java.lang.String processInstanceId)Deprecated.voidsetTaskId(java.lang.String taskId)Deprecated.voidsetTime(java.util.Date time)Deprecated.timestamp when this attachment was createdvoidsetType(java.lang.String type)Deprecated.voidsetUrl(java.lang.String url)Deprecated.voidsetUserId(java.lang.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 java.lang.String name
Deprecated.
-
description
protected java.lang.String description
Deprecated.
-
type
protected java.lang.String type
Deprecated.
-
taskId
protected java.lang.String taskId
Deprecated.
-
processInstanceId
protected java.lang.String processInstanceId
Deprecated.
-
url
protected java.lang.String url
Deprecated.
-
contentId
protected java.lang.String contentId
Deprecated.
-
content
protected ByteArrayEntity content
Deprecated.
-
userId
protected java.lang.String userId
Deprecated.
-
time
protected java.util.Date time
Deprecated.
-
-
Method Detail
-
getPersistentState
public java.lang.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 java.lang.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(java.lang.String name)
Deprecated.Description copied from interface:Attachmentfree user defined short (max 255 chars) name for this attachment- Specified by:
setNamein interfaceAttachment
-
getDescription
public java.lang.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(java.lang.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 java.lang.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(java.lang.String type)
Deprecated.- Specified by:
setTypein interfaceAttachmentEntity
-
getTaskId
public java.lang.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(java.lang.String taskId)
Deprecated.- Specified by:
setTaskIdin interfaceAttachmentEntity
-
getProcessInstanceId
public java.lang.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(java.lang.String processInstanceId)
Deprecated.- Specified by:
setProcessInstanceIdin interfaceAttachmentEntity
-
getUrl
public java.lang.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(java.lang.String url)
Deprecated.- Specified by:
setUrlin interfaceAttachmentEntity
-
getContentId
public java.lang.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(java.lang.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(java.lang.String userId)
Deprecated.- Specified by:
setUserIdin interfaceAttachmentEntity
-
getUserId
public java.lang.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 java.util.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(java.util.Date time)
Deprecated.Description copied from interface:Attachmenttimestamp when this attachment was created- Specified by:
setTimein interfaceAttachment- Specified by:
setTimein interfaceAttachmentEntity
-
-