de.maas.afp2web
Interface A2WDocumentHandler

All Known Implementing Classes:
A2WDefaultDocumentHandler

public interface A2WDocumentHandler

AFP2web SDK's abstract document handler. Implement "handle" with custom definition to store/archive document buffer and to handle document info (like index list etc)


Method Summary
 int handle(java.io.ByteArrayOutputStream baosOutputStreamPar, java.util.LinkedList lstDocumentIndexPar)
           Callback to handle document archiving with custom definition
 

Method Detail

handle

int handle(java.io.ByteArrayOutputStream baosOutputStreamPar,
           java.util.LinkedList lstDocumentIndexPar)

Callback to handle document archiving with custom definition

Parameters:
baosOutputStreamPar - Stream (java.io.ByteArrayOutputStream) to receive output document buffer
lstDocumentIndexPar - Linked list (java.util.LinkedList) of indexes (de.maas.afp2web.A2WIndex) to receive output document indexes

Returns:
  0 on Success
 <0 on Error