Interface IUploadFileDAO
- All Known Implementing Classes:
UploadFileDAO
public interface IUploadFileDAO
The Interface IUploadFileDAO.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(int nIdUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by history.voiddeleteByid(int nIdUpload, 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.
-
Field Details
-
BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
-
-
Method Details
-
insert
Insert.- Parameters:
upload- the uploadplugin- the plugin
-
findbyprimaryKey
Findbyprimary key.- Parameters:
nIdFileUpload- the n id file uploadplugin- the plugin- Returns:
- the upload file
-
load
Load.- Parameters:
nIdHistory- the n id uploadplugin- the plugin- Returns:
- the list
-
deleteByHistory
void deleteByHistory(int nIdUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by history.- Parameters:
nIdUpload- the n id uploadplugin- the plugin
-
deleteByid
void deleteByid(int nIdUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by file.- Parameters:
nIdUpload- the n id fileplugin- the plugin
-