Class FileService


  • public class FileService
    extends Object
    FileService
    • Constructor Detail

      • FileService

        public FileService()
    • Method Detail

      • findByPrimaryKey

        public fr.paris.lutece.portal.business.file.File findByPrimaryKey​(int nKey,
                                                                          boolean bGetFileData)
        Returns an instance of a file whose identifier is specified in parameter
        Parameters:
        nKey - The file primary key
        bGetFileData - True to get the physical file of the file, false otherwise
        Returns:
        an instance of file