public interface IUploadHistoryService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE.
|
| 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.
|
static final String BEAN_SERVICE
@Transactional(value="workflow.transactionManager")
void create(int nIdResourceHistory,
int nidTask,
List<org.apache.commons.fileupload.FileItem> listFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResourceHistory - the n id resource historynidTask - the nid tasklistFiles - the list filesplugin - the plugin@Transactional(value="workflow.transactionManager")
void removeByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHistory - the n id historynIdTask - the n id taskplugin - the plugin@Transactional(value="workflow.transactionManager")
void removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask - the n id taskplugin - the pluginUploadHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHistory - the n id historynIdTask - the n id taskplugin - the pluginboolean isOwner(int nIdHistory,
fr.paris.lutece.portal.business.user.AdminUser adminUser)
nIdHistory - the n id historyadminUser - the admin userCopyright © 2017 City of Paris. All rights reserved.