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 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 - IXServerEventsContext
      rwInfo - 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. If UpDownloadEventInfo.preliminaryTest is true, the returned document processor is only checked to be not null. It is not called to process a stream.
      Parameters:
      ec - IXServerEventsContext
      rwInfo - An object that describes the stream to be uploaded.
      Returns:
      DocumentProcessor or null
      Throws:
      byps.RemoteException