Interface IUploadHistoryService
- All Known Implementing Classes:
UploadHistoryService
public interface IUploadHistoryService
The Interface IUploadHistoryService.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(int nIdResourceHistory, int nidTask, List<fr.paris.lutece.portal.service.upload.MultipartItem> listFiles, fr.paris.lutece.portal.service.plugin.Plugin plugin) Creates the.findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find by primary key.booleanisOwner(int nIdHistory, fr.paris.lutece.portal.business.user.AdminUser adminUser) Checks if is owner.voidremoveByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes the by history.voidremoveByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes the by task.
-
Field Details
-
BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
-
-
Method Details
-
create
void create(int nIdResourceHistory, int nidTask, List<fr.paris.lutece.portal.service.upload.MultipartItem> listFiles, fr.paris.lutece.portal.service.plugin.Plugin plugin) Creates the.- Parameters:
nIdResourceHistory- the n id resource historynidTask- the nid tasklistFiles- the list filesplugin- the plugin
-
removeByHistory
void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes the by history.- Parameters:
nIdHistory- the n id historynIdTask- the n id taskplugin- the plugin
-
removeByTask
void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes the by task.- Parameters:
nIdTask- the n id taskplugin- the plugin
-
findByPrimaryKey
UploadHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find by primary key.- Parameters:
nIdHistory- the n id historynIdTask- the n id taskplugin- the plugin- Returns:
- the upload history
-
isOwner
boolean isOwner(int nIdHistory, fr.paris.lutece.portal.business.user.AdminUser adminUser) Checks if is owner.- Parameters:
nIdHistory- the n id historyadminUser- the admin user- Returns:
- true, if is owner
-