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