public class ResourceHistoryDAO extends Object implements IResourceHistoryDAO
BEAN_SERVICE| Constructor and Description |
|---|
ResourceHistoryDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByHistory(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove resourceHistory by history
|
void |
deleteByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove resourceHistory by resource
|
List<Integer> |
getIdHistoryListByResource(int idTicket,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of id history for a resource(ticket)
|
void |
insert(ResourceHistory resourceHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert new record
|
ResourceHistory |
load(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a record by primary key
|
ResourceHistory |
loadUnitOld(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a record by primary key id_history and old unit
|
public void insert(ResourceHistory resourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IResourceHistoryDAOresourceHistory - the ResourceHistory Objectplugin - the pluginpublic ResourceHistory load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IResourceHistoryDAOnIdHistory - the history idplugin - the pluginpublic List<Integer> getIdHistoryListByResource(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getIdHistoryListByResource in interface IResourceHistoryDAOidTicket - the ticket idplugin - the pluginpublic ResourceHistory loadUnitOld(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadUnitOld in interface IResourceHistoryDAOnIdHistory - the history idplugin - the pluginpublic void deleteByHistory(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByHistory in interface IResourceHistoryDAOnIdHistory - the History idplugin - the pluginpublic void deleteByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByResource in interface IResourceHistoryDAOnIdResource - the resource idstrResourceType - the resource typeplugin - the pluginCopyright © 2024 City of Paris. All rights reserved.