Example #1
0
 public virtual bool CanComplete(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
 {
     return(_obj.Addressee == null && _obj.NewDeadline == null);
 }
Example #2
0
        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());
        }
Example #3
0
 public virtual bool CanReAddress(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
 {
     return(true);
 }
Example #4
0
 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);
 }
Example #6
0
 public virtual bool CanSendForReview(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
 {
     return(_obj.Addressee == null);
 }
Example #7
0
 public virtual bool CanAddAssignment(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
 {
     return(_obj.Addressee == null);
 }
Example #8
0
 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());
 }
Example #11
0
 public virtual bool CanForReapproving(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
 {
     return(_obj.ForwardPerformer == null && _obj.DocumentGroup.OfficialDocuments.Any());
 }
Example #12
0
 public virtual bool CanAddAssignment(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
 {
     return(true);
 }