Esempio n. 1
0
 public void update() {
   // task
   setOwner(this.getOwner());
   setAssignee(this.getAssignee());
   setDelegationState(this.getDelegationState());
   setName(this.getName());
   setDescription(this.getDescription());
   setPriority(this.getPriority());
   setCreateTime(this.getCreateTime());
   setDueDate(this.getDueDate());
   Context.getCommandContext().getTaskManager().update(this);
 }
Esempio n. 2
0
 /** 重置任务处理者人属性 */
 public void resetProperties() {
   setCreateTime(null);
   setEndTime(null);
   setCommandId(null);
   setCommandType(null);
   setCommandMessage(null);
   setTaskComment(null);
   setAgent(null);
   setAdmin(null);
   setDraft(false);
   setOpen(false);
   setSuspended(false);
   setAssignee(null);
 }