Interface IUploadFileDAO
-
- All Known Implementing Classes:
UploadFileDAO
public interface IUploadFileDAOThe Interface IUploadFileDAO.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_SERVICEThe Constant BEAN_SERVICE.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByHistory(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.UploadFilefindbyprimaryKey(int nIdFileUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin)Findbyprimary key.voidinsert(UploadFile upload, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert.java.util.List<UploadFile>load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load.
-
-
-
Field Detail
-
BEAN_SERVICE
static final java.lang.String BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
- Constant Field Values
-
-
Method Detail
-
insert
void insert(UploadFile upload, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert.- Parameters:
upload- the uploadplugin- the plugin
-
findbyprimaryKey
UploadFile findbyprimaryKey(int nIdFileUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Findbyprimary key.- Parameters:
nIdFileUpload- the n id file uploadplugin- the plugin- Returns:
- the upload file
-
load
java.util.List<UploadFile> load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
-
-