|
KIE Internal 6.0.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskData
Method Summary | |
---|---|
void |
addAttachment(Attachment attachment)
Adds the specified attachment to our list of Attachments. |
void |
addComment(Comment comment)
Adds the specified comment to our list of comments. |
Status |
assignOwnerAndStatus(List<OrganizationalEntity> potentialOwners)
This method will potentially assign the actual owner of this TaskData and set the status of the data. |
Date |
getActivationTime()
|
User |
getActualOwner()
|
List<Attachment> |
getAttachments()
|
List<Comment> |
getComments()
|
User |
getCreatedBy()
|
Date |
getCreatedOn()
|
AccessType |
getDocumentAccessType()
|
long |
getDocumentContentId()
|
String |
getDocumentType()
|
Date |
getExpirationTime()
|
AccessType |
getFaultAccessType()
|
long |
getFaultContentId()
|
String |
getFaultName()
|
String |
getFaultType()
|
AccessType |
getOutputAccessType()
|
long |
getOutputContentId()
|
String |
getOutputType()
|
long |
getParentId()
|
Status |
getPreviousStatus()
|
String |
getProcessId()
|
long |
getProcessInstanceId()
|
int |
getProcessSessionId()
|
Status |
getStatus()
|
long |
getWorkItemId()
|
Status |
initialize()
Initializes the state of the TaskData, i.e. sets the Status.Created . |
boolean |
isSkipable()
|
Attachment |
removeAttachment(long attachmentId)
Removes the Attachment specified by the attachmentId. |
Comment |
removeComment(long commentId)
Removes the Comment specified by the commentId. |
void |
setActivationTime(Date activationTime)
|
void |
setActualOwner(User actualOwner)
|
void |
setAttachments(List<Attachment> attachments)
|
void |
setComments(List<Comment> comments)
|
void |
setCreatedBy(User createdBy)
|
void |
setCreatedOn(Date createdOn)
|
void |
setDocument(long documentID,
ContentData documentConentData)
Sets the document content data for this task data. |
void |
setDocumentAccessType(AccessType accessType)
|
void |
setDocumentContentId(long documentContentId)
|
void |
setDocumentType(String documentType)
|
void |
setExpirationTime(Date expirationTime)
|
void |
setFault(long faultContentId,
FaultData faultData)
Sets the fault data for this task data. |
void |
setFaultAccessType(AccessType faultAccessType)
|
void |
setFaultContentId(long faultContentId)
|
void |
setFaultName(String faultName)
|
void |
setFaultType(String faultType)
|
void |
setOutput(long outputContentId,
ContentData outputContentData)
Sets the content data for this task data. |
void |
setOutputAccessType(AccessType outputAccessType)
|
void |
setOutputContentId(long outputContentId)
|
void |
setOutputType(String outputType)
|
void |
setParentId(long parentId)
|
void |
setPreviousStatus(Status previousStatus)
|
void |
setProcessId(String processId)
|
void |
setProcessInstanceId(long processInstanceId)
|
void |
setProcessSessionId(int processSessionId)
|
void |
setSkipable(boolean isSkipable)
|
void |
setStatus(Status status)
|
void |
setWorkItemId(long workItemId)
|
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Method Detail |
---|
Status initialize()
Status.Created
.
Status assignOwnerAndStatus(List<OrganizationalEntity> potentialOwners)
User
, that will become the actual
owner of the TaskData and the status will be set to Status.Reserved
.Group
, no owner will be assigned
and the status will be set to Status.Ready
.Status.Ready
.
potentialOwners
- - list of potential owners
Status getStatus()
void setStatus(Status status)
Status getPreviousStatus()
void setPreviousStatus(Status previousStatus)
User getActualOwner()
void setActualOwner(User actualOwner)
User getCreatedBy()
void setCreatedBy(User createdBy)
Date getCreatedOn()
void setCreatedOn(Date createdOn)
Date getActivationTime()
void setActivationTime(Date activationTime)
Date getExpirationTime()
void setExpirationTime(Date expirationTime)
boolean isSkipable()
void setSkipable(boolean isSkipable)
void setWorkItemId(long workItemId)
long getWorkItemId()
void setProcessInstanceId(long processInstanceId)
long getProcessInstanceId()
String getProcessId()
void setProcessId(String processId)
int getProcessSessionId()
void setProcessSessionId(int processSessionId)
void setDocument(long documentID, ContentData documentConentData)
documentID
- id of document contentdocumentConentData
- ContentDataAccessType getDocumentAccessType()
void setDocumentAccessType(AccessType accessType)
String getDocumentType()
long getDocumentContentId()
void setDocumentContentId(long documentContentId)
void setDocumentType(String documentType)
void setOutput(long outputContentId, ContentData outputContentData)
outputContentId
- id of output contentoutputContentData
- contentDataAccessType getOutputAccessType()
void setOutputAccessType(AccessType outputAccessType)
String getOutputType()
void setOutputType(String outputType)
long getOutputContentId()
void setOutputContentId(long outputContentId)
void setFault(long faultContentId, FaultData faultData)
faultContentId
- id of fault contentfaultData
- FaultDataString getFaultName()
void setFaultName(String faultName)
AccessType getFaultAccessType()
void setFaultAccessType(AccessType faultAccessType)
String getFaultType()
void setFaultType(String faultType)
long getFaultContentId()
void setFaultContentId(long faultContentId)
List<Comment> getComments()
void addComment(Comment comment)
comment
- comment to addComment removeComment(long commentId)
commentId
- id of Comment to remove
void setComments(List<Comment> comments)
List<Attachment> getAttachments()
void addAttachment(Attachment attachment)
attachment
- attachment to addAttachment removeAttachment(long attachmentId)
attachmentId
- id of attachment to remove
void setAttachments(List<Attachment> attachments)
long getParentId()
void setParentId(long parentId)
|
KIE Internal 6.0.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |