abstract class Task extends Object
所有任务的基类
applicationId + taskId + ownerUser 是唯一的
| Modifiers | Name | Description |
|---|---|---|
static Integer |
CURRENT_YEAR |
| Type | Name and description |
|---|---|
Long |
applicationId所属应用 |
Integer |
completeReason任务结束原因 |
Date |
completeTime任务结束时间:已办/已阅的完成时间。 |
static Object |
constraints |
Date |
dateCreated时间戳 |
String |
definition文种名称 |
String |
docDraftOrg文档起草部门 |
String |
docDrafter文档起草人姓名 |
String |
docId文档ID或流程实例ID:应用系统中的唯一表示。 |
String |
docNumber文档编号 |
Integer |
hash根据 applicaitonId、ownerUser、taskId 生成的一个hash码,用于加快数据更新时的查询速度 |
static Map |
listFields |
Boolean |
moved是否从前台打开 --- TODO 有没有实际的意义呢? |
String |
ownerName办理人姓名 |
String |
ownerUser办理人的登录信息:如用户名、工号等唯一标识 |
Integer |
priority优先级/紧急程度:为方便排序,设置为数字(Priority.intValue) |
Integer |
processCompleteReason流程结束原因 |
Integer |
security密级:为方便排序,设置为数字(Security.intValue) |
String |
senderName发送人姓名 |
Date |
startTime任务开始时间:待办/待阅的接收时间、我起草的/草稿的起草时间 |
Integer |
status流程状态:为方便排序,设置为数字(ProcessStatus.intValue) |
String |
taskId任务ID:应用系统中的唯一表示 |
String |
taskName任务(环节)名称 |
String |
title标题 |
Date |
updateTime更新/推送的时间 |
String |
url打开任务/文档的URL |
Integer |
year任务类型 |
| Type | Name and description |
|---|---|
Object |
beforeInsert() |
Object |
beforeUpdate() |
WorkbenchApplication |
getApplication() |
int |
hashCode()根据 applicaitonId、ownerUser、taskId 计算 hash 码 |
void |
setApplication(WorkbenchApplication app) |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
所属应用
任务结束原因
任务结束时间:已办/已阅的完成时间。对于未完成的任务类型,始终为null
时间戳
文种名称
文档起草部门
文档起草人姓名
文档ID或流程实例ID:应用系统中的唯一表示。如果应用系统中没有,则会设置为taskId
文档编号
根据 applicaitonId、ownerUser、taskId 生成的一个hash码,用于加快数据更新时的查询速度
是否从前台打开 --- TODO 有没有实际的意义呢? 对于未完成的任务才有用。 Portal展现待办列表要判断个人是否存在被打开处理或者浏览的待办数据。 如果没有被打开过的待办数据,直接从统一发布数据库中获取待办数据。 如果有被打开过的待办数据,系统要刷新个人指定系统的待办数据,再显示待办列表。
办理人姓名
办理人的登录信息:如用户名、工号等唯一标识
优先级/紧急程度:为方便排序,设置为数字(Priority.intValue)
流程结束原因
密级:为方便排序,设置为数字(Security.intValue)
发送人姓名
任务开始时间:待办/待阅的接收时间、我起草的/草稿的起草时间
流程状态:为方便排序,设置为数字(ProcessStatus.intValue)
任务ID:应用系统中的唯一表示
任务(环节)名称
标题
更新/推送的时间
打开任务/文档的URL
任务类型
根据 applicaitonId、ownerUser、taskId 计算 hash 码