Package org.kuali.rice.kew.doctype.service

Examples of org.kuali.rice.kew.doctype.service.DocumentTypeService


   * @param docTypeName - the doc type to update
   * @param replacement the new value
   * @return the existing value
   */
  public String updatePostProcessorName(String docTypeName, String replacement) {
    DocumentTypeService documentTypeService = GlobalResourceLoader.getService("enDocumentTypeService");
    DocumentType docTypeObj = DocumentType.from(documentTypeService.findByName(docTypeName));
    String originalPostProcessorName = docTypeObj.getPostProcessorName();
    docTypeObj.setPostProcessorName(replacement);
    documentTypeService.save(docTypeObj);
   
    return originalPostProcessorName;
  }
View Full Code Here

TOP

Related Classes of org.kuali.rice.kew.doctype.service.DocumentTypeService

Copyright © 2018 www.massapicom. 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.