Class ResourceExtenderHistoryDAO
java.lang.Object
fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistoryDAO
- All Implemented Interfaces:
IResourceExtenderHistoryDAO
@ApplicationScoped
public class ResourceExtenderHistoryDAO
extends Object
implements IResourceExtenderHistoryDAO
ResourceExtenderHistoryDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete.voiddeleteByResource(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete.voidinsert(ResourceExtenderHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert.load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load.loadByFilter(ResourceExtenderHistoryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load by filter.loadByListIdResource(List<String> listIdResource, String strExtendableResourceType, String strExtenderType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load by list id resources and extender type
-
Constructor Details
-
ResourceExtenderHistoryDAO
public ResourceExtenderHistoryDAO()
-
-
Method Details
-
insert
public void insert(ResourceExtenderHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert.- Specified by:
insertin interfaceIResourceExtenderHistoryDAO- Parameters:
history- the historyplugin- the plugin
-
load
public ResourceExtenderHistory load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load.- Specified by:
loadin interfaceIResourceExtenderHistoryDAO- Parameters:
nIdHistory- the n id historyplugin- the plugin- Returns:
- the history
-
loadByFilter
public List<ResourceExtenderHistory> loadByFilter(ResourceExtenderHistoryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load by filter.- Specified by:
loadByFilterin interfaceIResourceExtenderHistoryDAO- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list
-
loadByListIdResource
public List<ResourceExtenderHistory> loadByListIdResource(List<String> listIdResource, String strExtendableResourceType, String strExtenderType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load by list id resources and extender type- Specified by:
loadByListIdResourcein interfaceIResourceExtenderHistoryDAO- Parameters:
listIdResource- the ids resource liststrExtendableResourceType- the extender resource typestrExtenderType- the extender typeplugin- the plugin- Returns:
- list of ResourceExtenderHistory
-
delete
public void delete(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete.- Specified by:
deletein interfaceIResourceExtenderHistoryDAO- Parameters:
nIdHistory- the n id historyplugin- the plugin
-
deleteByResource
public void deleteByResource(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete.- Specified by:
deleteByResourcein interfaceIResourceExtenderHistoryDAO- Parameters:
strExtenderType- the str extender typestrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typeplugin- the plugin
-