Interface ReadFileEvent


@Deprecated(since="4.2", forRemoval=true) public interface ReadFileEvent
Deprecated, for removal: This API element is subject to removal in a future version.
pliki należy modyfikować za pomocą hook'a ReadFileHook
Interfejs umożliwiający dodanie znaku wodnego do plików.
Author:
Rafał Nowacki 22-04-2014
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(InputStream is, WfFile wfFile, String mimeType, String processId, String activityId, String userName)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Metoda wykonująca akcje związane ze odczytem pliku znajdującego się w systemie.
  • Method Details

    • execute

      InputStream execute(InputStream is, WfFile wfFile, String mimeType, String processId, String activityId, String userName) throws ReadFileEventException, Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Metoda wykonująca akcje związane ze odczytem pliku znajdującego się w systemie.
      Parameters:
      is - - Strumień odczytywanego pliku.
      wfFile - - Obiekt pliku.
      mimeType - - Typ MIME pliku.
      processId - - Id procesu, z którego odczytywany jest plik (jeżeli plik jest odczytywany z poziomu archiwum, to processId = null).
      activityId - - Id zadania, z którego odczytywany jest plik (jeżeli plik jest odczytywany z poziomu archiwum, to activityId = null).
      userName - - Login użytkownika, który otwiera dokument.
      Returns:
      Strumień pliku.
      Throws:
      Exception
      ReadFileEventException