Package de.elo.ix.client.devents
Interface DocumentEvents
- All Superinterfaces:
byps.Remote
,de.elo.utils.net.Remote
,Remote
public interface DocumentEvents
extends byps.Remote
This interface can be implemented by a plugin to modify document related streams on upload or
download.
- Since:
- 12.02.002.002
-
Method Summary
Modifier and TypeMethodDescriptionbeginDownload
(IXServerEventsContext ec, UpDownloadEventInfo rwInfo) Provide a document processor object for a stream being downloaded.beginUpload
(IXServerEventsContext ec, UpDownloadEventInfo rwInfo) Provide a document processor object for a stream being uploaded.
-
Method Details
-
beginDownload
DocumentProcessor beginDownload(IXServerEventsContext ec, UpDownloadEventInfo rwInfo) throws byps.RemoteException Provide a document processor object for a stream being downloaded. Return null, if this stream should not be processed.- Parameters:
ec
- IXServerEventsContextrwInfo
- An object that describes the stream to be downloaded.- Returns:
- DocumentProcessor or null
- Throws:
byps.RemoteException
-
beginUpload
DocumentProcessor beginUpload(IXServerEventsContext ec, UpDownloadEventInfo rwInfo) throws byps.RemoteException Provide a document processor object for a stream being uploaded. Return null, if this stream should not be processed. IfUpDownloadEventInfo.preliminaryTest
is true, the returned document processor is only checked to be not null. It is not called to process a stream.- Parameters:
ec
- IXServerEventsContextrwInfo
- An object that describes the stream to be uploaded.- Returns:
- DocumentProcessor or null
- Throws:
byps.RemoteException
-