Interface IResourceHistoryDAO
- All Known Implementing Classes:
ResourceHistoryDAO
public interface IResourceHistoryDAO
IResourceHistoryDAO
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove resourceHistory by historyvoiddeleteByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove resourceHistory by resourcegetIdHistoryListByResource(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of id history for a resource(ticket)voidinsert(ResourceHistory resourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert new recordload(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary keyloadUnitOld(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary key id_history and old unit
-
Field Details
-
BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
-
-
Method Details
-
insert
Insert new record- Parameters:
resourceHistory- the ResourceHistory Objectplugin- the plugin
-
load
Load a record by primary key- Parameters:
nIdHistory- the history idplugin- the plugin- Returns:
- ResourceHistory Object
-
deleteByHistory
void deleteByHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove resourceHistory by history- Parameters:
nIdHistory- the History idplugin- the plugin
-
deleteByResource
void deleteByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove resourceHistory by resource- Parameters:
nIdResource- the resource idstrResourceType- the resource typeplugin- the plugin
-
loadUnitOld
Load a record by primary key id_history and old unit- Parameters:
nIdHistory- the history idplugin- the plugin- Returns:
- ResourceHistory Object
-
getIdHistoryListByResource
List<Integer> getIdHistoryListByResource(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of id history for a resource(ticket)- Parameters:
idTicket- the ticket idplugin- the plugin
-