fr.paris.lutece.plugins.genericattributes.service.file
Class FileService

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

public class FileService
extends Object

FileService


Field Summary
static String BEAN_SERVICE
          The name of the bean of this service
 
Constructor Summary
FileService()
           
 
Method Summary
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final 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


Copyright © 2014 Mairie de Paris. All Rights Reserved.