Package org.bonitasoft.web.client.model
Class ProcessInstanceDocument
- java.lang.Object
-
- org.bonitasoft.web.client.model.ProcessInstanceDocument
-
- All Implemented Interfaces:
Serializable
public class ProcessInstanceDocument extends Object implements Serializable
A document in an active case- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUTHORstatic StringJSON_PROPERTY_CASE_IDstatic StringJSON_PROPERTY_CONTENT_MIMETYPEstatic StringJSON_PROPERTY_CONTENT_STORAGE_IDstatic StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_FILE_NAMEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_INDEXstatic StringJSON_PROPERTY_IS_INTERNALstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_SUBMITTED_BYstatic StringJSON_PROPERTY_URLstatic StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description ProcessInstanceDocument()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATION_DATE
public static final String JSON_PROPERTY_CREATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHOR
public static final String JSON_PROPERTY_AUTHOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INDEX
public static final String JSON_PROPERTY_INDEX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTENT_MIMETYPE
public static final String JSON_PROPERTY_CONTENT_MIMETYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CASE_ID
public static final String JSON_PROPERTY_CASE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTENT_STORAGE_ID
public static final String JSON_PROPERTY_CONTENT_STORAGE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_INTERNAL
public static final String JSON_PROPERTY_IS_INTERNAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_NAME
public static final String JSON_PROPERTY_FILE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBMITTED_BY
public static final String JSON_PROPERTY_SUBMITTED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ProcessInstanceDocument id(String id)
-
getId
@Nullable public String getId()
documentId- Returns:
- id
-
setId
public void setId(String id)
-
creationDate
public ProcessInstanceDocument creationDate(String creationDate)
-
getCreationDate
@Nullable public String getCreationDate()
date and time- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(String creationDate)
-
author
public ProcessInstanceDocument author(String author)
-
getAuthor
@Nullable public String getAuthor()
submittorUserId- Returns:
- author
-
setAuthor
public void setAuthor(String author)
-
index
public ProcessInstanceDocument index(String index)
-
getIndex
@Nullable public String getIndex()
index in a list of documents, or -1 for a single document- Returns:
- index
-
setIndex
public void setIndex(String index)
-
contentMimetype
public ProcessInstanceDocument contentMimetype(String contentMimetype)
-
getContentMimetype
@Nullable public String getContentMimetype()
MIME type- Returns:
- contentMimetype
-
setContentMimetype
public void setContentMimetype(String contentMimetype)
-
caseId
public ProcessInstanceDocument caseId(String caseId)
-
getCaseId
@Nullable public String getCaseId()
caseId- Returns:
- caseId
-
setCaseId
public void setCaseId(String caseId)
-
contentStorageId
public ProcessInstanceDocument contentStorageId(String contentStorageId)
-
getContentStorageId
@Nullable public String getContentStorageId()
storageId- Returns:
- contentStorageId
-
setContentStorageId
public void setContentStorageId(String contentStorageId)
-
isInternal
public ProcessInstanceDocument isInternal(Boolean isInternal)
-
getIsInternal
@Nullable public Boolean getIsInternal()
`true` if the the document object contains the content directly. `false` if the document is specified by URL so the document object contains a reference to the content, not the content itself.- Returns:
- isInternal
-
setIsInternal
public void setIsInternal(Boolean isInternal)
-
description
public ProcessInstanceDocument description(String description)
-
getDescription
@Nullable public String getDescription()
description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
name
public ProcessInstanceDocument name(String name)
-
getName
@Nullable public String getName()
name- Returns:
- name
-
setName
public void setName(String name)
-
fileName
public ProcessInstanceDocument fileName(String fileName)
-
getFileName
@Nullable public String getFileName()
filename- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
-
submittedBy
public ProcessInstanceDocument submittedBy(String submittedBy)
-
getSubmittedBy
@Nullable public String getSubmittedBy()
submittorUserId- Returns:
- submittedBy
-
setSubmittedBy
public void setSubmittedBy(String submittedBy)
-
url
public ProcessInstanceDocument url(String url)
-
getUrl
@Nullable public String getUrl()
urlForDownload- Returns:
- url
-
setUrl
public void setUrl(String url)
-
version
public ProcessInstanceDocument version(String version)
-
getVersion
@Nullable public String getVersion()
version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
-