Class FileService
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.service.file.FileService
-
public class FileService extends java.lang.ObjectFileService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_SERVICEThe 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.FilefindByPrimaryKey(int nKey, boolean bGetFileData)Returns an instance of a file whose identifier is specified in parameter
-
-
-
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
-
-
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 keybGetFileData- True to get the physical file of the file, false otherwise- Returns:
- an instance of file
-
-