Class UploadFileDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.upload.business.file.UploadFileDAO
- All Implemented Interfaces:
IUploadFileDAO
The Class UploadFileDAO.
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.upload.business.file.IUploadFileDAO
BEAN_SERVICE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by history.voiddeleteByid(int nIdFileUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by file.findbyprimaryKey(int nIdFileUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Findbyprimary key.voidinsert(UploadFile upload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert.load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load.
-
Constructor Details
-
UploadFileDAO
public UploadFileDAO()
-
-
Method Details
-
insert
Insert.- Specified by:
insertin interfaceIUploadFileDAO- Parameters:
upload- the uploadplugin- the plugin
-
load
Load.- Specified by:
loadin interfaceIUploadFileDAO- Parameters:
nIdHistory- the n id uploadplugin- the plugin- Returns:
- the list
-
deleteByHistory
public void deleteByHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by history.- Specified by:
deleteByHistoryin interfaceIUploadFileDAO- Parameters:
nIdHistory- the n id uploadplugin- the plugin
-
deleteByid
public void deleteByid(int nIdFileUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by file.- Specified by:
deleteByidin interfaceIUploadFileDAO- Parameters:
nIdFileUpload- the n id fileplugin- the plugin
-
findbyprimaryKey
public UploadFile findbyprimaryKey(int nIdFileUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IUploadFileDAOFindbyprimary key.- Specified by:
findbyprimaryKeyin interfaceIUploadFileDAO- Parameters:
nIdFileUpload- the n id file uploadplugin- the plugin- Returns:
- the upload file
-