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 BaseElementpublic String getName()
getName in interface NamedElementpublic void setName(String name)
public void setFileName(String fileName)
public String getFileName()
public long getProcessInstanceId()
DocumentgetProcessInstanceId in interface Documentpublic void setProcessInstanceId(long processInstanceId)
public boolean hasContent()
DocumenthasContent in interface Documentpublic void setHasContent(boolean hasContent)
public void setContentMimeType(String contentMimeType)
public String getContentMimeType()
DocumentgetContentMimeType in interface Documentpublic long getAuthor()
Documentpublic String getContentFileName()
DocumentgetContentFileName in interface Documentpublic Date getCreationDate()
DocumentgetCreationDate in interface Documentpublic String getUrl()
Documentpublic void setUrl(String url)
public void setId(long id)
public void setAuthor(long author)
public void setCreationDate(Date creationDate)
public String getContentStorageId()
DocumentgetContentStorageId in interface Documentpublic void setContentStorageId(String contentStorageId)
Copyright © 2013 BonitaSoft. All Rights Reserved.