Class DocumentHelper


  • public class DocumentHelper
    extends java.lang.Object
    Helper class that set/get/update document on API level (it uses the process definition)
    Author:
    Baptiste Mesta
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SDocument createDocumentObject​(org.bonitasoft.engine.bpm.document.DocumentValue documentValue, long authorId)  
      void createOrUpdateDocument​(org.bonitasoft.engine.bpm.document.DocumentValue newValue, java.lang.String documentName, long processInstanceId, long authorId, java.lang.String description)  
      void deleteDocument​(java.lang.String documentName, long processInstanceId)  
      java.util.List<AbstractSMappedDocument> getAllDocumentOfTheList​(long processInstanceId, java.lang.String name)  
      boolean isListDefinedInDefinition​(java.lang.String documentName, long processInstanceId)  
      void setDocumentList​(java.util.List<org.bonitasoft.engine.bpm.document.DocumentValue> documentList, java.lang.String documentName, long processInstanceId, long authorId)  
      org.bonitasoft.engine.bpm.document.DocumentValue toCheckedDocumentValue​(java.lang.Object newValue)  
      java.util.List<org.bonitasoft.engine.bpm.document.DocumentValue> toCheckedList​(java.lang.Object newValue)  
      org.bonitasoft.engine.bpm.document.DocumentValue toDocumentValue​(org.bonitasoft.engine.bpm.contract.FileInputValue fileInput)  
      org.bonitasoft.engine.bpm.document.DocumentValue toDocumentValue​(org.bonitasoft.engine.bpm.document.Document document)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait