Interface IUploadHistoryService
-
- All Known Implementing Classes:
UploadHistoryService
public interface IUploadHistoryServiceThe Interface IUploadHistoryService.
-
-
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 voidcreate(int nIdResourceHistory, int nidTask, java.util.List<org.apache.commons.fileupload.FileItem> listFiles, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creates the.UploadHistoryfindByPrimaryKey(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 Detail
-
BEAN_SERVICE
static final java.lang.String BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@Transactional("workflow.transactionManager") void create(int nIdResourceHistory, int nidTask, java.util.List<org.apache.commons.fileupload.FileItem> 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
@Transactional("workflow.transactionManager") 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
@Transactional("workflow.transactionManager") 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
-
-