Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Dataslot management : Working with different types of dataslots : Document dataslots : Adding documents
 
Adding documents
*public com.savvion.sbm.dms.svo.Document create(java.lang.String performer, java.lang.String docName, java.io.File file)
Use this method to create a new document for the specified performer with the specified document name. The content of the file is stored as the document content.
*public com.savvion.sbm.dms.svo.Document create(java.lang.String user, java.lang.String docName, java.io.InputStream is)
Use this method to create a new document for the specified user with the specified document name. The content of the InputStream is stored as the document content.
*public com.savvion.sbm.dms.svo.Document create(java.lang.String user, java.lang.String docName, java.net.URL srcURL)
Use this method to create a new document for the specified user with the specified document name. The content of the URL is stored as the document content.