Home
Extended ECM
API, SDK, REST and Web Services
LAPI Libraries, Fetch and Stream
unknown
Message from Christian Hauser via eLinkHello List I need a quick hint how the fetch via LAPI works while using thelibraries for C++ or Java. Haven't found it in the online KC docu. Is the content fetched (locally cached) and then handed over to theappropriate function, or is it possible to also stream (pipe through)the content? Thanks & Best Regards Christian [Solution Consultant]
Find more posts tagged with
Comments
eLink User
Message from Carsten Kulms via eLinkBoth is possible.----8<-------8<-------8<-------8<----FetchVersionThis function copies a version to the desktop.C++ Function Prototype (File Input)LLSTATUS LL_FetchVersion( LLSESSION session, LLLONG volumeID, LLLONG objectID, LLLONG versionNum, LLFILE filePath );Java/.NET Method Declaration (File Input)public int FetchVersion( int volumeID, int objectID, int versionNum, String filePath )Java/.NET Method Declaration (Stream Input)public int FetchVersion( int volumeID, int objectID, int versionNum, java.io.OutputStream outStream).NET Method Declaration (Stream Input)public int FetchVersion( int volumeID, int objectID, int versionNum, System.IO.BinaryWriter outStream)Visual Basic Prototype (File Input)Long LL_FetchVersion( _ ByVal session as Long, _ ByVal volumeID as Long, _ ByVal objectID as Long, _ ByVal versionNum as Long, _ ByVal filePath as String )----8=--------8=--------8=--------8=----[SDK/LAPI documentation; replace above "input" by "output"]For the Java impl. of LAPI I can confirm that the data is actually pipedthrough to the specified output stream.