Examples of blanketApprove()


Examples of org.kuali.rice.kew.api.WorkflowDocument.blanketApprove()

    doc = WorkflowDocumentFactory.loadDocument(getPrincipalIdForName(initiator), doc.getDocumentId());
    assertFalse("document has been fyi'ed", doc.isFYIRequested());
   
    // direct approval
    doc = WorkflowDocumentFactory.createDocument(getPrincipalIdForName(approver), docType);
    doc.blanketApprove("sawa");
    doc = WorkflowDocumentFactory.loadDocument(getPrincipalIdForName(approver), doc.getDocumentId());
    assertFalse("initiator and approver are the same principal", doc.isFYIRequested());
  }
 
  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.