Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Dataslot management : Working with different types of dataslots : Document dataslots : Miscellaneous
 
Miscellaneous
*public byte[] getContent(java.lang.String documentName)
You can get the content of the specified document as byte array.
*public int getCount()
You can get the number of of documents contained in the Document dataslot object.
*public boolean isEmpty()
This API returns true if the document dataslot doesn't contain any document.
*public boolean isNull()
This API returns true if the document dataslot folder is not created.
*public com.savvion.sbm.dms.svo.Document replaceContent(java.lang.String docName, byte[] content)
You can replace the content of the document with the specified content.