public class DocumentImpl extends Object implements Document
Constructor and Description |
---|
DocumentImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getAuthor()
Get the username of the user who attached the document to the process instance.
|
String |
getContentFileName()
Get the file name of the document.
|
String |
getContentMimeType()
Get the mime type of the document's content.
|
String |
getContentStorageId()
Get the Id to use to retrieve the document's content.
|
Date |
getCreationDate()
Get the date when the document was attached to the process instance.
|
String |
getFileName() |
long |
getId() |
String |
getName() |
long |
getProcessInstanceId()
Id of the process instance the document is attached to.
|
String |
getUrl()
Download URL of the document.
|
boolean |
hasContent()
Returns true if he document has content.
|
int |
hashCode() |
void |
setAuthor(long author) |
void |
setContentMimeType(String contentMimeType) |
void |
setContentStorageId(String contentStorageId) |
void |
setCreationDate(Date creationDate) |
void |
setFileName(String fileName) |
void |
setHasContent(boolean hasContent) |
void |
setId(long id) |
void |
setName(String name) |
void |
setProcessInstanceId(long processInstanceId) |
void |
setUrl(String url) |
String |
toString() |
public long getId()
getId
in interface BaseElement
public String getName()
getName
in interface NamedElement
public void setName(String name)
public void setFileName(String fileName)
public String getFileName()
public long getProcessInstanceId()
Document
getProcessInstanceId
in interface Document
public void setProcessInstanceId(long processInstanceId)
public boolean hasContent()
Document
hasContent
in interface Document
public void setHasContent(boolean hasContent)
public void setContentMimeType(String contentMimeType)
public String getContentMimeType()
Document
getContentMimeType
in interface Document
public long getAuthor()
Document
public String getContentFileName()
Document
getContentFileName
in interface Document
public Date getCreationDate()
Document
getCreationDate
in interface Document
public String getUrl()
Document
public void setUrl(String url)
public void setId(long id)
public void setAuthor(long author)
public void setCreationDate(Date creationDate)
public String getContentStorageId()
Document
getContentStorageId
in interface Document
public void setContentStorageId(String contentStorageId)
Copyright © 2013 BonitaSoft. All Rights Reserved.