19 package org.turro.erp.task;
21 import java.util.Date;
22 import java.util.EnumSet;
23 import org.turro.erp.entity.*;
24 import org.turro.status.Status;
46 if(ru.getStatus().hasMovement()) {
56 Task tp = p.getPredecessor();
70 boolean isFinished =
true;
72 if(pu.isHumanResourceType() ||
Set< RequiredUsage > getRequiredUsages()
Set< Predecessor > getPredecessors()
boolean checkStatus(Date now)
void setWaiting(boolean waiting)
void setStatus(TaskStatus status)
TaskStatusWrapper(Task task, Date now)
TaskStatus doChangeTo(TaskStatus newStatus)
boolean canChangeTo(TaskStatus newStatus)
TaskStatus doCheckStatus(Date now)
static boolean isFinished(TaskStatus status)
static boolean isReady(TaskStatus status)
static boolean hasStarted(TaskStatus status)
static boolean isOnWork(TaskStatus status)