public virtual bool CanComplete(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.Addressee == null && _obj.NewDeadline == null); }
public virtual bool CanAbort(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { var isIncoming = ExchangeDocumentProcessingTasks.As(_obj.Task).IsIncoming == true; return(_obj.Addressee == null && isIncoming && Docflow.OfficialDocuments.AccessRights.CanSendByExchange()); }
public virtual bool CanReAddress(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(true); }
public virtual bool CanAddActionItem(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.DocumentGroup.OfficialDocuments.Any()); }
public virtual bool CanNotReturned(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(true); }
public virtual bool CanSendForReview(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.Addressee == null); }
public virtual bool CanAddAssignment(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.Addressee == null); }
public virtual bool CanForward(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.Status == Status.InProcess && _obj.AllAttachments.Any()); }
public virtual bool CanApproved(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.Addressee == null && _obj.DocumentGroup.OfficialDocuments.Any()); }
public virtual bool CanForward(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.Status == Status.InProcess && _obj.DocumentGroup.OfficialDocuments.Any()); }
public virtual bool CanForReapproving(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(_obj.ForwardPerformer == null && _obj.DocumentGroup.OfficialDocuments.Any()); }
public virtual bool CanAddAssignment(Sungero.Workflow.Client.CanExecuteResultActionArgs e) { return(true); }