|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.service.file.FileService
public class FileService
FileService
| Field Summary | |
|---|---|
static String |
BEAN_SERVICE
The name of the bean of this service |
| Constructor Summary | |
|---|---|
FileService()
|
|
| Method Summary | |
|---|---|
int |
create(File file)
Creation of an instance of record file |
File |
findByPrimaryKey(int nKey,
boolean bGetFileData)
Returns an instance of a file whose identifier is specified in parameter |
void |
remove(int nIdFile)
Delete the file whose identifier is specified in parameter |
void |
setPhysicalFileService(PhysicalFileService physicalFileService)
Set the physical file service |
void |
update(File file)
Update of file which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_SERVICE
| Constructor Detail |
|---|
public FileService()
| Method Detail |
|---|
public void setPhysicalFileService(PhysicalFileService physicalFileService)
physicalFileService - the physical file servicepublic int create(File file)
file - The instance of the file which contains the informations to store
public void update(File file)
file - The instance of the record file which contains the informations to updatepublic void remove(int nIdFile)
nIdFile - The identifier of the record file
public File findByPrimaryKey(int nKey,
boolean bGetFileData)
nKey - The file primary keybGetFileData - True to get the physical file of the file, false
otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||