Class FileService


  • public class FileService
    extends java.lang.Object
    FileService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The name of the bean of this service
    • Constructor Summary

      Constructors 
      Constructor Description
      FileService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.portal.business.file.File findByPrimaryKey​(int nKey, boolean bGetFileData)
      Returns an instance of a file whose identifier is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BEAN_SERVICE

        public static final java.lang.String BEAN_SERVICE
        The name of the bean of this service
        See Also:
        Constant Field Values
    • 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