public class UploadHistoryService extends Object implements IUploadHistoryService
BEAN_SERVICE| Constructor and Description |
|---|
UploadHistoryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(int nIdResourceHistory,
int nidTask,
List<org.apache.commons.fileupload.FileItem> listFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates the.
|
UploadHistory |
findByPrimaryKey(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by primary key.
|
boolean |
isOwner(int nIdHistory,
fr.paris.lutece.portal.business.user.AdminUser adminUser)
Checks if is owner.
|
void |
removeByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the by history.
|
void |
removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the by task.
|
@Transactional(value="workflow.transactionManager")
public void create(int nIdResourceHistory,
int nidTask,
List<org.apache.commons.fileupload.FileItem> listFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
create in interface IUploadHistoryServicenIdResourceHistory - the n id resource historynidTask - the nid tasklistFiles - the list filesplugin - the plugin@Transactional(value="workflow.transactionManager")
public void removeByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByHistory in interface IUploadHistoryServicenIdHistory - the n id historynIdTask - the n id taskplugin - the plugin@Transactional(value="workflow.transactionManager")
public void removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByTask in interface IUploadHistoryServicenIdTask - the n id taskplugin - the pluginpublic UploadHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface IUploadHistoryServicenIdHistory - the n id historynIdTask - the n id taskplugin - the pluginpublic boolean isOwner(int nIdHistory,
fr.paris.lutece.portal.business.user.AdminUser adminUser)
isOwner in interface IUploadHistoryServicenIdHistory - the n id historyadminUser - the admin userCopyright © 2019 City of Paris. All rights reserved.