public class FileService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_SERVICE
The name of the bean of this service
|
Constructor and Description |
---|
FileService() |
Modifier and Type | Method and 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
|
public static final String BEAN_SERVICE
public fr.paris.lutece.portal.business.file.File findByPrimaryKey(int nKey, boolean bGetFileData)
nKey
- The file primary keybGetFileData
- True to get the physical file of the file, false otherwiseCopyright © 2018 City of Paris. All rights reserved.