| Package | Description |
|---|---|
| fr.paris.lutece.plugins.directory.business | |
| fr.paris.lutece.plugins.directory.service.file | |
| fr.paris.lutece.plugins.directory.utils |
| Modifier and Type | Method and Description |
|---|---|
static File |
FileHome.findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a file whose identifier is specified in parameter
|
File |
RecordField.getFile() |
File |
DirectoryXsl.getFile() |
File |
FileDAO.load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the File from the table
|
File |
IFileDAO.load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the File from the table
|
| Modifier and Type | Method and Description |
|---|---|
static List<File> |
FileHome.getFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the files list
|
List<File> |
FileDAO.selectFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the files list
|
List<File> |
IFileDAO.selectFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the files list
|
| Modifier and Type | Method and Description |
|---|---|
static int |
FileHome.create(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record file
|
int |
FileDAO.insert(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
int |
IFileDAO.insert(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
static void |
FileHome.purge(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Purge the file associated to given id
|
void |
FileDAO.purge(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Purge file in the table
|
void |
IFileDAO.purge(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Purge file in the table
|
void |
RecordField.setFile(File file)
set the file associate to the record field
|
void |
DirectoryXsl.setFile(File file)
set the xsl file of the directory xsl
|
void |
FileDAO.store(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the file in the table
|
void |
IFileDAO.store(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the file in the table
|
static void |
FileHome.update(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of file which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
File |
DirectoryFileService.getFile(String strFileId)
Get the file from the given file id
|
| Modifier and Type | Method and Description |
|---|---|
List<File> |
DirectoryFileService.getAssociatedFiles(int nIdResource)
Get the associated files of a given resource
|
List<File> |
DirectoryFileService.getFilesList()
Get the files list
|
| Modifier and Type | Method and Description |
|---|---|
void |
DirectoryFileService.purge(File file)
Purge the given file
|
void |
DirectoryFileService.update(File file)
Update the file
|
| Modifier and Type | Method and Description |
|---|---|
static File |
DirectoryUtils.doDownloadFile(String strUrl)
Do download a file
|
static File |
DirectoryUtils.getFileData(String strFileInputName,
javax.servlet.http.HttpServletRequest request)
Get the file contains in the request from the name of the input file
|
Copyright © 2020 City of Paris. All rights reserved.