java.lang.Object
fr.paris.lutece.plugins.genericattributes.service.file.FileService

public class FileService extends Object
FileService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the bean of this service
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 Details

  • Constructor Details

    • FileService

      public FileService()
  • Method Details

    • 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