Class FileService
java.lang.Object
fr.paris.lutece.plugins.genericattributes.service.file.FileService
FileService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.portal.business.file.FilefindByPrimaryKey(int nKey, boolean bGetFileData) Returns an instance of a file whose identifier is specified in parameter
-
Field Details
-
BEAN_SERVICE
The name of the bean of this service- See Also:
-
-
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 keybGetFileData- True to get the physical file of the file, false otherwise- Returns:
- an instance of file
-